Installation Question: Debian 12, GraphicsMagick 1.3.42, JasPer 4.0

Matthias Schmitt via Graphicsmagick-help <[email protected]> Fri, 29 Sep 2023 16:56:53 +0200
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
Hello,

I am trying to install GraphicsMagick 1.3.42 on Debian 12 "Bookworm" from source.

Can I use JasPer 4.0 with GraphicsMagick or should I use an older version? Compilation works without problem, but once I test most of the JP2 tests fail.

Configure says it can find the library.

> Delegate Configuration:
> JPEG-2000         --with-jp2=yes          yes

The test output

> EXEC: ./rwblob /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_pallette.miff JP2
> not ok 80 - JP2 pallette
> FAIL: tests/rwblob.tap 80 - JP2 pallette
> EXEC: ./rwblob /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor.miff JP2
> not ok 81 - JP2 truecolor
> FAIL: tests/rwblob.tap 81 - JP2 truecolor
> 
> PASS: tests/rwfile.tap 204 - JP2 gray (stdio)
> EXEC: ./rwfile -filespec out_pallette_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_pallette.miff JP2
> not ok 205 - JP2 pallette
> FAIL: tests/rwfile.tap 205 - JP2 pallette
> EXEC: ./rwfile -stdio -filespec out_pallette_stdio_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_pallette.miff JP2
> not ok 206 - JP2 pallette (stdio)
> FAIL: tests/rwfile.tap 206 - JP2 pallette (stdio)
> EXEC: ./rwfile -filespec out_truecolor_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor.miff JP2
> not ok 207 - JP2 truecolor
> FAIL: tests/rwfile.tap 207 - JP2 truecolor
> EXEC: ./rwfile -stdio -filespec out_truecolor_stdio_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor.miff JP2
> not ok 208 - JP2 truecolor (stdio)
> FAIL: tests/rwfile.tap 208 - JP2 truecolor (stdio)
> EXEC: ./rwfile -filespec out_truecolor_1x266_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor_1x266.miff JP2
> not ok 209 - JP2 truecolor_1x266
> FAIL: tests/rwfile.tap 209 - JP2 truecolor_1x266
> EXEC: ./rwfile -stdio -filespec out_truecolor_1x266_stdio_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor_1x266.miff JP2
> not ok 210 - JP2 truecolor_1x266 (stdio)
> FAIL: tests/rwfile.tap 210 - JP2 truecolor_1x266 (stdio)
> 
> EXEC: ./rwfile -filespec out_truecolor10_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor10.dpx JP2
> not ok 10 - JP2 truecolor10
> FAIL: tests/rwfile_deep.tap 10 - JP2 truecolor10
> EXEC: ./rwfile -filespec out_truecolor12_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor12.dpx JP2
> not ok 11 - JP2 truecolor12
> FAIL: tests/rwfile_deep.tap 11 - JP2 truecolor12
> EXEC: ./rwfile -filespec out_truecolor16_%d /MY_PATH_TO/sources/GraphicsMagick-1.3.42/tests/input_truecolor16.dpx JP2
> not ok 12 - JP2 truecolor16
> FAIL: tests/rwfile_deep.tap 12 - JP2 truecolor16

BTW, the JP2 tests for gray images pass successfully.

> PASS: tests/rwblob.tap 79 - JP2 gray
> 
> PASS: tests/rwfile.tap 203 - JP2 gray
> PASS: tests/rwfile.tap 204 - JP2 gray (stdio)

So I assume, that the library was found.


Best regards

Matthias Schmitt

magic moving pixel s.a.
23, Avenue Grande-Duchesse Charlotte
L-3441 Dudelange
Luxembourg
Phone: +352 54 75 75
http://www.mmp.lu