-
In 2.x version we could set a global configuration for decoders: configuration.ImageFormatsManager.SetDecoder(GifFormat.Instance, new GifDecoder()
{
DecodingMode = FrameDecodingMode.First,
}); How to achieve this in 3.0? Or the only way is to use a decoder instance? var image = JpegDecoder.Instance.Decode(new JpegDecoderOptions { ResizeMode = JpegDecoderResizeMode.ScaleOnly }, input); |
Beta Was this translation helpful? Give feedback.
Answered by
tocsoft
Mar 4, 2023
Replies: 1 comment 6 replies
-
What are you seeing that implies your first code snippet doesn't work? |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
hey-red
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are you seeing that implies your first code snippet doesn't work?