Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
- Posts: 5
- Joined: 2018-11-02T05:03:49-07:00
- Authentication code: 1152
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
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;
- Posts: 13034
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
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.