An open-source System.Drawing.Common replacement for .NET 5 and above on all platforms. Bringing together System.Drawing, Maui, and ImageSharp's Bitmap, Image, Font, and Shape types via an agnostic free NuGet package.
Other
114
stars
18
forks
source link
CreateMultiFrameTiff creates Output Tiff with huge size #57
Using IronSoftware.Drawing to create multi frame tiff creates huge size output tiff file.
// sourceFiles = list of tiffs
var outputTiff = IronSoftware.Drawing.AnyBitmap.CreateMultiFrameTiff(sourceFiles);
Input tiff files sizes = each file is of 500KB (total of 2 files)
Output tiff size after merged >= 50MB
The compression present in the input tiff is lost when the output tiff is created and the compression is None.
How to get output merged tiff with compression same as input tiff and not having huge size?
Any fix in IronSoftware.Drawing or any work arounds are welcome.
Using IronSoftware.Drawing to create multi frame tiff creates huge size output tiff file.
// sourceFiles = list of tiffs var outputTiff = IronSoftware.Drawing.AnyBitmap.CreateMultiFrameTiff(sourceFiles);
Input tiff files sizes = each file is of 500KB (total of 2 files) Output tiff size after merged >= 50MB
The compression present in the input tiff is lost when the output tiff is created and the compression is None.
How to get output merged tiff with compression same as input tiff and not having huge size? Any fix in IronSoftware.Drawing or any work arounds are welcome.
Thanks