convert to uncompressed JPEG2000 ?

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
Cyberbob

convert to uncompressed JPEG2000 ?

Post by Cyberbob »

I am lost!

I want to convert TIF files to uncompressed JPEG2000 files via the command line tool. I compiled the library with jpeg2000 support and it works but i cant manage to get the quality level adopted- the command i use is:

convert test.tif -compress jpeg2000 -quality 100% target.jp2

i although tried:

convert test.tif -compress Lossless -quality 100% target.jp2

it doesn't work! The target.jp2 has always a quality of 75 if i take a closer look at it by typing:

display -identify -verbose target.jp2

Beside this i tried to generate lossless normal jpegs and couldnt even get it to work. The quality is alway 75!!

what the hell am i doing wrong????

thanks folks!!

greetings
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert to uncompressed JPEG2000 ?

Post by fmw42 »

I am no expert on this but try:

convert test.tif -compress jpeg2000 -quality 100% JP2:test.jp2

see http://www.imagemagick.org/Usage/formats/#jpg
Cyberbob

Re: convert to uncompressed JPEG2000 ?

Post by Cyberbob »

No chance - it doesen't work- do i have to fix the JPEG Library or something?

Even if i try to convert a tif image to standard jpeg and setting quality level by:

convert test.tif -quality 30% test.jpg

The quality Parameter doesn't have any effect. Why?

Thanks a lot!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert to uncompressed JPEG2000 ?

Post by fmw42 »

I don't know if I can help further. What IM version are you using and on what platform? If IM is old, then upgrade.
Post Reply