How I can use the ImageSharp to convert Tiff to Jpeg? #2885
-
I am trying to convert Tiff to Jpeg by using ImageSharp library, but I am having problem with the code part: Subsample = JpegSubsample.Ratio444, // No chroma subsampling for highest quality since it is not supported with the current version. Could you please help me how I can handle the problem? Thank you! using System; public class TiffToJpegConverter
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I have no idea what you are actually asking? What is failing? You should be able to decode a TIFF and encode in any of the available formats. |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
See the following documented options. https://docs.sixlabors.com/api/ImageSharp/SixLabors.ImageSharp.Formats.Jpeg.JpegEncodingColor.html
P.S read this https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code