Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25517

Fix 'bit depth' metadata of 'Picture' document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10, 10.2
    • Fix Version/s: 9.10-HF15, 10.3
    • Component/s: Image Management
    • Release Notes Summary:
      Bit Depth label has been updated to 'Bit Depth per Channel'
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxfit 10.3.3
    • Story Points:
      1

      Description

      bit depth metadata extracted from image files using ImageMagick's identify command is actual the bit depth per channel.
      It is needed to put in place the logic that would compute the actual image's bit depth as the metadata by itself does not exist in the image file.
      It is confusing for users to see that the bit depth displayed by the Nuxeo UIs is 8 when they expect (and should be) 24.

      The following identity command extracts the bit depth per channel from a 24-bit image:

      identify -define registry:temporary-path=/tmp -quiet -ping -format '%m %w %h %z %[colorspace]' /tmp/24bit_image.tif[0]
      

      Result is

      TIFF 3000 2400 8 sRGB
      

      Here is a link discussing the topic: https://www.imagemagick.org/discourse-server/viewtopic.php?t=13968

      Additional note from reporter: changing the label to bit depth per channel in the UIs is an acceptable solution.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h