Page 1 of 1

Tif Format Jpeg Compression

Posted: 2018-11-02T05:12:21-07:00
by asdfgh41
I convert a jpeg image to tif format and i want to compress tif with jpeg compression and quality 50.
jpeg size is 225kb. (https://imgur.com/a/nEzbFzz)
Image

If i do this with atalasoft, image size is => 121 kb( same with photoshop result )
But same process with Magick.NET result size is 250kb. There is no difference between images. Only totalColor values are different.
How can i reduce size of tif image like atalasoft or photoshop with Magick.NET.

Code: Select all

MagickImage image = new MagickImage(path);

image.Quality = 50;
image.Settings.Compression = CompressionMethod.JPEG;
image.Format = MagickFormat.Tif;

Re: Tif Format Jpeg Compression

Posted: 2018-11-02T05:37:15-07:00
by snibgo
The same quality number means different things to different software. In addition, IM has a number of defines for JPEG that many affect filesize. See http://www.imagemagick.org/script/comma ... php#define

I might add that your image is a graphic, not a photograph, so PNG might be more suitable than JPEG.