The conversion happens. However, I see some contrast difference between the original (NEF) and the output (JP2). Also, the file size increases from 39MB (original) to 142MB (jp2). Is there any kind of "post-processing" happening too?
Converting JPG images to JPG2000 I did not have this issue. The images visually look the same and their file size are 13MB (jpg) and 27MB (jp2).
My goal is keep the images size less than 30~35MB.
The script used is:
Code: Select all
convert input.nef -define jp2:numrlvls=7 -define jp2:tilewidth=256 -define jp2:tileheight=256 -define jp2:mode=int -define jp2:rate=100 -define jp2:lazy -define jp2:prg=rlcp -define jp2:quality=100 output.jp2
ftp://ftp.tuwien.ac.at/graphics/ImageMa ... w/jp2.html
The links for the pictures:
NEF (original) https://www.dropbox.com/s/10r7s8s036z2i ... a.NEF?dl=0
JPG (original) https://www.dropbox.com/s/wi10yphzqy88n ... a.JPG?dl=0
NEF.jp2 https://www.dropbox.com/s/pkqr5lyat4vrn ... 2.jp2?dl=0
JPG.jp2 https://www.dropbox.com/s/l3j3rlpe5f160 ... 2.jp2?dl=0