Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Detect compression method with MagickImageInfo

$
0
0
We have a "fixing" process that sanitizes images for our purposes and we use MagickImageInfo to determine whether a fix is necessary since it's fast. An image was sent to us that uses run length compression (which I believe is RLE in CompressionMethod enum but correct me). It appears this type of compression doesn't work with GDI+ so it's a candidate for fixing. The problem is since this was a JPG, and if only MagickImage could be used to know it, I would have to load all JPG's to see if they had this type of compression.

Is it possible to detect the compression method of a JPG image with MagickImageInfo so we don't have to load the entire image? Does Ping have other methods that might help with this?

Thanks

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>