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

Change type of X/Y Resolution from Integer to Double in the schema definition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: 11.x
    • Component/s: Image Management

      Description

      The Picture addon defines the field X/Y Resolution as Integer.
      https://github.com/nuxeo/nuxeo/blob/10.10/nuxeo-features/nuxeo-platform-imaging/nuxeo-platform-imaging-core/src/main/resources/schema/image_metadata.xsd#L10-L11

      However Exiftool tools returns a float for them

      exiftool /tmp/02826.jpg |grep "0.0096"
      X Resolution                    : 0.0096
      Y Resolution                    : 0.0096
      

      The type must be changed to xs:double in the schema definition

      It would be interesting to know if pixel_xdimension/pixel_ydimension should also use Double

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: