6.9.2-0 Q16 x64: Cipher DPC HDRI Modules OpenMP 420: no jpg delegate

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
BrianP007
Posts: 49
Joined: 2013-12-13T09:54:14-07:00
Authentication code: 6789

6.9.2-0 Q16 x64: Cipher DPC HDRI Modules OpenMP 420: no jpg delegate

Post by BrianP007 »

This appears to have not been reported yet:

Code: Select all

Search found 9 matches: 6.9.2 hdri delegate jpg   ignored: jpg 6 9 2
After upgrading to 6.9.2-0 Q16 x64: HDRI from 6.9.0-4 Q16 x64 non/hdri, I could no longer read JPG files.
With an ordinarily long file name, it would truncate the name and complain that it could not find it:

Code: Select all

D2: $imobj = >Image::Magick=ARRAY(0x34def8)<, $picfqp = >cactus.flower.2010.0605.2617.jpg<
RNJ: Error "Exception 435: unable to open image `2617.jpg': No such file or directory @ error/blob.c/OpenBlob/2695" reading image_ 'cactus.flower.2010.0605.2617.jpg'. 
Skipping image.Bad image: "cactus.flower.2010.0605.2617.jpg".
When I renamed it to the trivial name "1.jpg", then it gave error 420:

Code: Select all

D2: $imobj = >Image::Magick=ARRAY(0x49de08)<, $picfqp = >1.jpg<
RNJ: Error "Exception 420: no decode delegate for this image format `' @ error/constitute.c/ReadImage/501" reading image_ '1.jpg'. Skipping image.
Identify seemed to be fine:

Code: Select all

d:\pic\austin>identify  -versionVersion: ImageMagick 6.9.2-0 Q16 x64 2015-08-15 http://www.imagemagick.orgCopyright: Copyright (C) 1999-2015 ImageMagick Studio LLCLicense: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMPDelegates (built-in): bzlib cairo freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib

d:\pic\austin> identify -list format | egrep -i "jpg|jpeg"           see part 5 which describes the image encoding (RLE, JPEG, JPEG-LS),           and supplement 61 which adds JPEG-2000 encoding.      J2C* JP2       rw-   JPEG-2000 Code Stream Syntax (2.1.0)      J2K* JP2       rw-   JPEG-2000 Code Stream Syntax (2.1.0)      JNG* PNG       rw-   JPEG Network Graphics      JP2* JP2       rw-   JPEG-2000 File Format Syntax (2.1.0)      JPC* JP2       rw-   JPEG-2000 Code Stream Syntax (2.1.0)      JPE* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)     JPEG* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)      JPG* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)      JPM* JP2       rw-   JPEG-2000 Code Stream Syntax (2.1.0)      JPS* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)      JPT* JP2       rw-   JPEG-2000 File Format Syntax (2.1.0)    PJPEG* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)

The same file it could not read, it did identify with a good deal of info that looks good:

[code]d:\pic\austin>identify 1.jpg
1.jpg JPEG 4000x3000 4000x3000+0+0 8-bit sRGB 5.352MB 0.000u 0:00.001

d:\pic\austin>identify -verbose 1.jpg
Image: 1.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Mime type: image/jpeg
  Class: DirectClass
  Geometry: 4000x3000+0+0
  Resolution: 180x180
...
    Green:
      min: 0 (0)
      max: 255 (1)
      mean: 162.394 (0.636838)
      standard deviation: 73.7367 (0.289164)
      kurtosis: -1.49398
      skewness: 0.0380337
      entropy: 0.841915
...
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
..
    exif:MaxApertureValue: 95/32
...
etc... seens to all be here
======================================

C:\bin>cpan install Image::Magick
CPAN: Module::CoreList loaded ok (v5.20150520)
...
Image::Magick is up to date (6.89).

Uninstalled Perl module manually (4 files: .pm, .dll, .ix, .packlist ). Now it will not test correctly with:
This is perl 5, version 22, subversion 0 (v5.22.0) built for MSWin32-x64-multi-thread
Strawberry distro

The windows program->uninstall process would hang. Killing it took many minutes and ended with an error message about not having sufficient privs to uninstall, see admin. Had to reboot and then it uninstalled.

Code: Select all

C:\bin>cpan install Image::Magick
......
Gonna create 'libMagickCore.a' from 'C:\Program Files\ImageMagick-6.9.2-Q16-HDRI\CORE_RL_magick_.dll'
...
  E:\strawberry.perl\c\bin\dmake.exe -- OK
Running make test
"E:\strawberry.perl\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harnes
s" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch'
)" t/*.t t/bzlib/*.t t/jpeg/*.t t/png/*.t t/tiff/*.t t/wmf/*.t t/zlib/*.t
t/blob.t .......... ok
t/bzlib/read.t .... ok
t/bzlib/write.t ... ok
t/composite.t ..... ok
t/filter.t ........ ok
t/getattribute.t .. ok
t/jpeg/read.t ..... ok
t/jpeg/write.t .... ok
t/montage.t ....... Failed 2/19 subtests
t/ping.t .......... ok
t/png/read-16.t ... ok
t/png/read.t ...... ok
t/png/write-16.t .. ok
t/png/write.t ..... ok
t/read.t .......... ok
t/setattribute.t .. ok
t/tiff/read.t ..... ok
t/tiff/write.t .... ok
t/wmf/read.t ...... Failed 2/2 subtests
t/write.t ......... ok
t/zlib/read.t ..... ok
t/zlib/write.t .... ok

Test Summary Report
-------------------
t/montage.t     (Wstat: 0 Tests: 19 Failed: 2)
  Failed tests:  12-13
t/wmf/read.t    (Wstat: 0 Tests: 2 Failed: 2)
  Failed tests:  1-2
Files=22, Tests=333,  6 wallclock secs ( 0.08 usr +  0.05 sys =  0.13 CPU)
Result: FAIL
Failed 2/22 test programs. 4/333 subtests failed.
dmake.exe:  Error code 255, while making 'test_dynamic'
  JCRISTY/PerlMagick-6.89-1.tar.gz
  E:\strawberry.perl\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports JCRISTY/PerlMagick-6.89-1.tar.gz
Stopping: 'install' failed for 'J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz'.
Had to muscle it in:
cpan> force install Image::Magick
Database was generated on Sat, 29 Aug 2015 23:46:35 GMT

Running install for module 'Image::Magick'

I don't use Montage much and never use WMFs so I just forced it. I wonder if it is going to bite me.
Post Reply