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)
796
public void Save(System.IO.Stream stream, System.Drawing.Imaging.
ImageCodecInfo
encoder, System.Drawing.Imaging.EncoderParameters? encoderParams) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
799
public void Save(string filename, System.Drawing.Imaging.
ImageCodecInfo
encoder, System.Drawing.Imaging.EncoderParameters? encoderParams) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2481
public static System.Drawing.Imaging.
ImageCodecInfo
[] GetImageDecoders() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2482
public static System.Drawing.Imaging.
ImageCodecInfo
[] GetImageEncoders() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (16)
System\Drawing\ImageTests.cs (3)
648
ImageCodecInfo
[] codecs =
ImageCodecInfo
.GetImageEncoders();
649
ImageCodecInfo
codec = codecs.Single(c => c.FormatID == format.Guid);
System\Drawing\Imaging\ImageCodecInfoTests.cs (13)
45
private readonly Dictionary<Guid,
ImageCodecInfo
> _decoders;
46
private readonly Dictionary<Guid,
ImageCodecInfo
> _encoders;
53
foreach (
ImageCodecInfo
decoder in
ImageCodecInfo
.GetImageDecoders())
56
foreach (
ImageCodecInfo
encoder in
ImageCodecInfo
.GetImageEncoders())
60
private
ImageCodecInfo
GetEncoder(string clsid)
62
_encoders.TryGetValue(new Guid(clsid), out
ImageCodecInfo
encoder);
66
private
ImageCodecInfo
GetDecoder(string clsid)
68
_decoders.TryGetValue(new Guid(clsid), out
ImageCodecInfo
decoder);
76
ImageCodecInfo
encoder = GetEncoder(clsid);
77
ImageCodecInfo
decoder = GetDecoder(clsid);
90
private 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)