21 references to ImageCodecInfo
System.Drawing (1)
System.Drawing.cs (1)
88[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Imaging.ImageCodecInfo))]
System.Drawing.Common (4)
Special\NotSupported.cs (4)
796public void Save(System.IO.Stream stream, System.Drawing.Imaging.ImageCodecInfo encoder, System.Drawing.Imaging.EncoderParameters? encoderParams) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 799public void Save(string filename, System.Drawing.Imaging.ImageCodecInfo encoder, System.Drawing.Imaging.EncoderParameters? encoderParams) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2481public static System.Drawing.Imaging.ImageCodecInfo[] GetImageDecoders() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2482public static System.Drawing.Imaging.ImageCodecInfo[] GetImageEncoders() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (16)
System\Drawing\ImageTests.cs (3)
648ImageCodecInfo[] codecs = ImageCodecInfo.GetImageEncoders(); 649ImageCodecInfo codec = codecs.Single(c => c.FormatID == format.Guid);
System\Drawing\Imaging\ImageCodecInfoTests.cs (13)
45private readonly Dictionary<Guid, ImageCodecInfo> _decoders; 46private readonly Dictionary<Guid, ImageCodecInfo> _encoders; 53foreach (ImageCodecInfo decoder in ImageCodecInfo.GetImageDecoders()) 56foreach (ImageCodecInfo encoder in ImageCodecInfo.GetImageEncoders()) 60private ImageCodecInfo GetEncoder(string clsid) 62_encoders.TryGetValue(new Guid(clsid), out ImageCodecInfo encoder); 66private ImageCodecInfo GetDecoder(string clsid) 68_decoders.TryGetValue(new Guid(clsid), out ImageCodecInfo decoder); 76ImageCodecInfo encoder = GetEncoder(clsid); 77ImageCodecInfo decoder = GetDecoder(clsid); 90private static void CheckImageCodecInfo(ImageFormat format, string CodecName, string DllName, string FilenameExtension, ImageCodecFlags Flags, string FormatDescription, string MimeType, int signatureLength, string mask, string pattern, string pattern2, ImageCodecInfo codecInfo)