From: "Ara.T.Howard" Date: 2004-05-19T12:23:50+09:00 Subject: Re: RMagick jp2 problem On Wed, 19 May 2004, Tim Hunter wrote: > On Tue, 18 May 2004 18:17:04 -0600, Ara.T.Howard wrote: > > > > > any ideas on why this is? > > > Ara, what release of ImageMagick are you using? What release of the jasper > library? tim- thanks for the reply. /dmsp/reference/build/RMagick-1.5.0 > uname -srm Linux 2.4.21-15.ELsmp i686 /dmsp/reference/build/RMagick-1.5.0 > cat /etc/redhat-release Red Hat Enterprise Linux WS release 3 (Taroon Update 2) /dmsp/reference/build/RMagick-1.5.0 > ruby -v ruby 1.8.1 (2003-12-25) [i686-linux] /dmsp/reference/build/RMagick-1.5.0 > Magick-config --version 6.0.1 /dmsp/reference/build/RMagick-1.5.0 > jasper --version 1.701.0 libjasper 1.701.0 /dmsp/reference/build/RMagick-1.5.0 > ruby -r RMagick -e 'p Magick::Version' "RMagick 1.5.0" hopefully all the latest greatest > Do you get the same results from this command? > > convert image.tiff image.jp2 yes. this worries me - it's as if the ImageMagick binding to the jasper lib is incorrectly dealing with compression/quality... as i said before, the jasper binary handled perfectly and i get ZERO differences when comparing the bands of a tiff image and one converted via tifftopnm/jasper... perhaps a post the ImageMagick group would be more appropriate? btw. the ruby bindings are really cool - good job. cheers. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328 | URL :: http://www.ngdc.noaa.gov/stp/ | "640K ought to be enough for anybody." - Bill Gates, 1981 ===============================================================================