And I don't think, the current ones -- those included in 6.3.6-4 -- are correct

Could somebody, please, verify? Thanks!
Could you, please, explain the differences, then?magick wrote:We verified the FPX regression test images are correct (they produce the expected SHA256 pixel signature and they display properly). We tested with ImageMagick 6.3.6-4 on a Fedora Core 7 32-bit box.
Code: Select all
-rw-rw-r-- 1 mi wheel 80384 Aug 25 20:19 ImageMagick-6.3.5/PerlMagick/t/fpx/input_256.fpx
-rw-rw-r-- 1 mi wheel 33792 Aug 25 20:19 ImageMagick-6.3.5/PerlMagick/t/fpx/input_bw.fpx
-rw-rw-r-- 1 mi wheel 33805 Aug 25 20:19 ImageMagick-6.3.5/PerlMagick/t/fpx/input_grayscale.fpx
-rw-rw-r-- 1 mi wheel 45056 Aug 25 20:19 ImageMagick-6.3.5/PerlMagick/t/fpx/input_jpeg.fpx
-rw-rw-r-- 1 mi wheel 80384 Aug 25 20:19 ImageMagick-6.3.5/PerlMagick/t/fpx/input_truecolor.fpx
-rw-rw-r-- 1 mi wheel 81920 Sep 28 16:58 ImageMagick-6.3.6/PerlMagick/t/fpx/input_256.fpx
-rw-rw-r-- 1 mi wheel 33792 Sep 28 16:58 ImageMagick-6.3.6/PerlMagick/t/fpx/input_bw.fpx
-rw-rw-r-- 1 mi wheel 33792 Sep 28 16:58 ImageMagick-6.3.6/PerlMagick/t/fpx/input_grayscale.fpx
-rw-rw-r-- 1 mi wheel 45056 Sep 28 16:58 ImageMagick-6.3.6/PerlMagick/t/fpx/input_jpeg.fpx
-rw-rw-r-- 1 mi wheel 80384 Sep 28 16:58 ImageMagick-6.3.6/PerlMagick/t/fpx/input_truecolor.fpx
Code: Select all
MD5 (ImageMagick-6.0.2/PerlMagick/t/fpx/input_256.fpx) = 5c5e8b4f49d416a7507abcf6b75aaaed
MD5 (ImageMagick-6.0.2/PerlMagick/t/fpx/input_bw.fpx) = 1dd535a653c5a3c2f57aad59e685a132
MD5 (ImageMagick-6.0.2/PerlMagick/t/fpx/input_grayscale.fpx) = d812d9f50af1e91cc649af9590227ca9
MD5 (ImageMagick-6.0.2/PerlMagick/t/fpx/input_jpeg.fpx) = 67c51f3d559f90edc7625016c62359d6
MD5 (ImageMagick-6.0.2/PerlMagick/t/fpx/input_truecolor.fpx) = 8b143d174dd812e9d7120a4bdd731a16
MD5 (ImageMagick-6.3.5/PerlMagick/t/fpx/input_256.fpx) = 5c5e8b4f49d416a7507abcf6b75aaaed
MD5 (ImageMagick-6.3.5/PerlMagick/t/fpx/input_bw.fpx) = 1dd535a653c5a3c2f57aad59e685a132
MD5 (ImageMagick-6.3.5/PerlMagick/t/fpx/input_grayscale.fpx) = d812d9f50af1e91cc649af9590227ca9
MD5 (ImageMagick-6.3.5/PerlMagick/t/fpx/input_jpeg.fpx) = 67c51f3d559f90edc7625016c62359d6
MD5 (ImageMagick-6.3.5/PerlMagick/t/fpx/input_truecolor.fpx) = 8b143d174dd812e9d7120a4bdd731a16
MD5 (ImageMagick-6.3.6/PerlMagick/t/fpx/input_256.fpx) = 6528bf996dfb3b7b9dd80bec77fd4efe
MD5 (ImageMagick-6.3.6/PerlMagick/t/fpx/input_bw.fpx) = 6004aa358f980e62e1799649d2521dfd
MD5 (ImageMagick-6.3.6/PerlMagick/t/fpx/input_grayscale.fpx) = c0c90f4dbd802e3d713110523cf8f342
MD5 (ImageMagick-6.3.6/PerlMagick/t/fpx/input_jpeg.fpx) = f5c9cfe46d79d14039dd81067d59d97c
MD5 (ImageMagick-6.3.6/PerlMagick/t/fpx/input_truecolor.fpx) = 68e0f27c533c70fb66987d6c81eb853a
As a matter of fact, I know this very well. But a member of ImageMagick team posted the following on May 31st of this year:magick wrote:FPX has always been problematic for us (that is why it is not build by default).
Either he/she was completely clueless, or was lying... There is no chance it could possibly have worked compiled as a 64-bit binary. Most unpleasant...magick wrote:We double-checked and FPX is working fine for us under Fedora 32 and 64-bit environments.
I know about the library's problems, and spent the past couple of weeks forging it into acceptable shape. It no longer crashes on FreeBSD and Linux amd64 (Linux has valgrind, which was extremely useful), and it, actually, reads all the test FPX-files, that were included with ImageMagick up until September 28th. My new version of libfpx allows IM self-tests to pass -- all of them except the PerlMagick/t/fpx/*, because these rely on the files in subject.The library is unsupported and is returning different results than it did in previous years (at least on Fedora). We restored the original regression tests files (e.g. input_256.fpx). If you have the time can you restore these images and run the FPX regression test. It will most likely fail. Post the results here so we can fix the regression test signatures. This will at least allow FPX to run/test properly under FreeBSD. When time permits we will take a look at the libFPX distribution and try to fix any bugs such that we get consistent results across our various supported platforms.
I still need to know, what happened to the "reference" FPX-files, which are bundled with the ImageMagick distribution.magick wrote:When you complete your work on FPX, foward the patches here and we will apply them against libfpx-1.2.0.13 and update the distribution at ftp://ftp.imagemagick.org/pub/ImageMagick/delegates . Or if your distribution is available for download, post the URI. Thanks.
But the files I'm talking about -- PerlMagick/t/fpx/*.fpx -- are not the output... They are the input of the test-scripts.magick wrote:Apparently Fedora Core is producing different FPX images than FreeBSD.
Interesting. So, you are saying, on Fedora (32bit) both the old and the new (post-September 28) versions of input_*.fpx read/display correctly?magick wrote:We had no problems displaying/converting the FPX images that were in PerlMagick/t/fpx/*.fpx under Fedora Core. We're not suggesting the problem is with FreeBSD but with either of the FPX delegate library or perhaps g++ version 4.1.2 20070925. However, we reverted the FPX images and we are releasing 6.3.6-5 until we have an opportunity to review the FPX delegate library to ensure it reads/writes properly under all OS's both 32 and 64-bit.