• covert kodak PNG images into JP2 with sampling factor

    From Khawar Islam@21:1/5 to All on Thu Oct 15 04:05:41 2020
    I am trying to convert png images into JP2 with sampling factor. I am imagemagick tool for conversion, as they mentioned in docs -sampling-factor is used for sampling but it did not work.
    http://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/www/jp2.html

    convert wizard.png -colorspace YUV -sampling-factor 2,2 wizard.jp2

    My command, it did not work
    convert test/images/kodim$i.png -quality $(($j*5)) -colorspace YUV -sampling-factor 4,2 test/JP2/kodim$i/`printf "%02d" $j`.jp2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)