Convert jpeg to jpeg 2000 (.jpg to .jp2)
Posted: 2014-06-07T09:14:45-07:00
Hello,
I like to convert some jpg-files to jpeg2000-files with imagemagick. This German tutorial/explanation shows how to do with imagemagick: http://www.uplawski.eu/france/Cevennen/cev_jp2.html
Nearly all jp2-files created by the author are just a fourth of the original jpg-filesize!
My smartphone takes jpg-pictures with a quality of 88%: identify -verbose picture.jpg => Compression: JPEG Quality: 88
If I try "convert picture.jpg -quality 88 picture.jp2" the created picture.jp2 is much bigger than the original picture.jpg (more than twice as big as the original one!)
I'm helpless, what I did wrong? I like to create smaller pdf with jpeg 2000 images. I'm using img2pdf that works great: https://github.com/josch/img2pdf
Maybe somebody has already wrote a small script, that reads the jpg-format information (with imagemagick identify) and creates smaller jp2 files (with imagemagick convert)?
Excuse my bad English an thanks in advance,
Kermit
I like to convert some jpg-files to jpeg2000-files with imagemagick. This German tutorial/explanation shows how to do with imagemagick: http://www.uplawski.eu/france/Cevennen/cev_jp2.html
Nearly all jp2-files created by the author are just a fourth of the original jpg-filesize!
My smartphone takes jpg-pictures with a quality of 88%: identify -verbose picture.jpg => Compression: JPEG Quality: 88
If I try "convert picture.jpg -quality 88 picture.jp2" the created picture.jp2 is much bigger than the original picture.jpg (more than twice as big as the original one!)
I'm helpless, what I did wrong? I like to create smaller pdf with jpeg 2000 images. I'm using img2pdf that works great: https://github.com/josch/img2pdf
Maybe somebody has already wrote a small script, that reads the jpg-format information (with imagemagick identify) and creates smaller jp2 files (with imagemagick convert)?
Excuse my bad English an thanks in advance,
Kermit