how to convert png to tff #2830
Replies: 1 comment
-
finally...problem is EXTRASAMPLES |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
im trying to use imagesharp to do convert from png to tiff, its work but tiff Transparent channels are missing
code like:
using (var image = SixLabors.ImageSharp.Image.Load(tmppath))
{
image.SaveAsTiff(outputTiffPath, new TiffEncoder() {
Compression = SixLabors.ImageSharp.Formats.Tiff.Constants.TiffCompression.Lzw,
CompressionLevel = SixLabors.ImageSharp.Compression.Zlib.DeflateCompressionLevel.BestCompression });
}
How can I use it?
Thanks and best regards,
Beta Was this translation helpful? Give feedback.
All reactions