JPEG-turbo and arithmetic coding

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
whugemann
Posts: 289
Joined: 2011-03-28T07:11:31-07:00
Authentication code: 8675308
Location: Münster, Germany 52°N,7.6°E

JPEG-turbo and arithmetic coding

Post by whugemann »

I have just installed my first 7.x version of IM (i.e. with magick.exe) as a precompiled windows binary. How do i found out whether it uses jpeg-turbo and if so, how can I use arithmetic coding?

magick -list format
yields
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)

I think that 62 gives a hint on jpeg-turbo (?).
Wolfgang Hugemann
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: JPEG-turbo and arithmetic coding

Post by dlemstra »

In the next release you will see that libjpeg-turbo is being used for the Windows binaries. And there was not yet support for creating an image with arithmetic coding so I added that feature for you. You can do this in the next release:

Code: Select all

magick convert logo: -define jpeg:arithmetic-coding=true logo.jpg
And in the output of identify you will see this:

Code: Select all

magick identify -verbose logo.jpg

jpeg:coding: arithmetic
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply