Re: Regression regarding 16-bit grayscale DPX files

Alan Hagge <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
[email protected] wrote:
>> but "identify" thinks the image is in Log colorspace, not Grayscale
>>     
>
> You will need to remind us what the problem is and post a URL to an image
> we can download to reproduce the problem.
>   
OK.  A description of the problem follows.  I have a sample image (a 4k
grayscale image containing a large letter "Y"), but I don't have a site
to download it from.  Is there a site that I can upload it to?

Here's the problem, from my prior e-mail.  The display problem has was
corrected as a result of my original e-mail, but identify -verbose still
gives the incorrect colospace (note that the info below is from a
different DPX file, but generated the same way.  It's proprietary, so I
can't send it).

>From my prior e-mail:

Somewhere between version 6.2.9-1 and the current version (6.3.4-9), a
regression seems to have occurred regarding 16-bit grayscale DPX files. 
I'd reported the problem back in August of 2006 (see
http://www.imagemagick.org/pipermail/magick-bugs/2006-August/002488.html
) and the problem was fixed shortly thereafter 
(http://www.imagemagick.org/pipermail/magick-bugs/2006-August/002489.html
).  We've been using the 6.2.9-1 release for about 6 months and wanted
to upgrade, but this regression is stopping us.

Is there any chance that this can be investigated and re-addressed?

Thanks,

Alan

P.S.  Here's identify -verbose info from both versions:

6.2.9-1 (displays correctly):

    Image: 128543.dpx
      Format: DPX (SMPTE 268M-2003 (DPX))
      Class: DirectClass
      Geometry: 4096x3112
      Type: Grayscale
      Endianess: MSB
      Colorspace: Gray
      Channel depth:
        Gray: 16-bit
      Channel statistics:
        Gray:
          Min: 0 (0)
          Max: 65535 (1)
          Mean: 36366.1 (0.554911)
          Standard deviation: 22168.1 (0.338264)
      Colors: 1024
      Rendering intent: Undefined
      Resolution: 72x72
      Units: Undefined
      Filesize: 16.2734mb
      Interlace: None
      Background color: white
      Border color: #DFDFDFDFDFDF
      Matte color: grey74
      Transparent color: black
      Page geometry: 4096x3112+0+0
      Dispose: Undefined
      Iterations: 0
      Compression: Undefined
      Orientation: TopLeft
      Comment: Project name
      Copyright: Copyright info
      Document: Image filename
      Dpx:file.copyright: Copyright info
      Dpx:file.creator: Creator
      Dpx:file.ditto.key: 1
      Dpx:file.filename: Image filename
      Dpx:file.project: Project name
      Dpx:file.tilestamp: 2006:12:21:03:03:02
      Dpx:file.version: V1.0
      Dpx:film.format: 004F
      Dpx:image.orientation: 0
      Dpx:orientation.device: SPIRIT-4K DATACINE
      Dpx:orientation.serial: 00105
      Dpx:television.time.code: 01:29:15:23
      Dpx:user.id: Thomson BTS
      Signature:
    aeb967966311e95a97d215006bc5e2e26d95361c81ffba74aa94d8d181853577
      Software: Creator
      Tainted: False
      Version: ImageMagick 6.2.9 08/31/06 Q16 http://www.imagemagick.org

6.3.4-0 (displays incorrectly):

    Image: 128543.dpx
      Format: DPX (SMPTE 268M-2003 (DPX 2.0))
      Class: DirectClass
      Geometry: 4096x3112+0+0
      Type: TrueColor
      Endianess: MSB
      Colorspace: Log
      Channel depth:
        Red: 16-bit
        Green: 16-bit
        Blue: 16-bit
      Channel statistics:
        Red:
          Min: 0 (0)
          Max: 65535 (1)
          Mean: 25150.8 (0.383776)
          Standard deviation: 19849.9 (0.30289)
        Green:
          Min: 0 (0)
          Max: 65535 (1)
          Mean: 25150.8 (0.383776)
          Standard deviation: 19849.9 (0.30289)
        Blue:
          Min: 0 (0)
          Max: 65535 (1)
          Mean: 25150.8 (0.383776)
          Standard deviation: 19849.9 (0.30289)
      Colors: 1024
      Histogram:
         23073: (  320,  320,  320) #014001400140
    rgb(0.488289%,0.488289%,0.488289%)
        107498: (    0,    0,    0) #000000000000 black
         13069: (  384,  384,  384) #018001800180
    rgb(0.585946%,0.585946%,0.585946%)
         66561: (  256,  256,  256) #010001000100
    rgb(0.390631%,0.390631%,0.390631%)
        569031: (  192,  192,  192) #00C000C000C0
    rgb(0.292973%,0.292973%,0.292973%)
        921383: (  128,  128,  128) #008000800080
    rgb(0.195315%,0.195315%,0.195315%)
         74865: (   64,   64,   64) #004000400040
    rgb(0.0976577%,0.0976577%,0.0976577%)
         .
         .   (lots of additional histogram values omitted for brevity)
         .
     Rendering intent: Undefined
      Resolution: 72x72
      Units: Undefined
      Filesize: 16.2734mb
      Interlace: None
      Background color: white
      Border color: rgb(223,223,223)
      Matte color: grey74
      Transparent color: black
      Page geometry: 4096x3112+0+0
      Dispose: Undefined
      Iterations: 0
      Compression: Undefined
      Orientation: TopLeft
      Comment: Project name
      Copyright: Copyright info
      Document: Image filename
      Dpx:file.copyright: Copyright info
      Dpx:file.creator: Creator
      Dpx:file.ditto.key: 1
      Dpx:file.filename: Image filename
      Dpx:file.frame_position: 128543
      Dpx:file.held_count: 1
      Dpx:file.project: Project name
      Dpx:file.timestamp: 2006:12:21:03:03:02
      Dpx:file.version: V1.0
      Dpx:film.format: 004F
      Dpx:film.shutter_angle: nan
      Dpx:image.orientation: 0
      Dpx:orientation.device: SPIRIT-4K DATACINE
      Dpx:orientation.serial: 00105
      Dpx:orientation.x_center: nan
      Dpx:orientation.y_center: nan
      Dpx:television.black_gain: nan
      Dpx:television.black_level: nan
      Dpx:television.break_point: nan
      Dpx:television.field_number: 255
      Dpx:television.frame_rate: nan
      Dpx:television.gamma: nan
      Dpx:television.horizontal_sample_rate: nan
      Dpx:television.integration_times: nan
      Dpx:television.interlace: 255
      Dpx:television.padding: 255
      Dpx:television.time.code: 01:29:15:23
      Dpx:television.time_offset: nan
      Dpx:television.user.bits: 00:00:00:00
      Dpx:television.vertical_sample_rate: nan
      Dpx:television.video_signal: 255
      Dpx:television.white_level: nan
      Dpx:user.id: Thomson BTS
      Signature:
    f04e7f06ba00562c2c94df833ed6c83e358f367b6c0c09658c2d58a0772320e0
      Software: Creator
      Profile-dpx:user.data: 63108 bytes
      Tainted: False
      User time: 0.760u
      Elapsed time: 0:02
      Pixels per second: 12.1562mb
      Version: ImageMagick 6.3.4 06/14/07 Q16 http://www.imagemagick.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.