Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2440

Thumbnailator does not preserve the EXIF info of the format of the photo : landscape or portrait

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0RC6
    • 2.8.1
    • None
    • None
    • FF

      There is probably a metadata in the jpg file that mean the photo is not a landscape format but the resize of Ametys seems to not taking of account.

        1. JIRA-paysage-ou-portrait.png
          301 kB
          Laure Lopez
        2. obama.jpg
          26 kB
          Laurence Aumeunier

          [RUNTIME-2440] Thumbnailator does not preserve the EXIF info of the format of the photo : landscape or portrait

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.0RC6 [ 14113 ]
          Fix Version/s Original: 4.0.0 [ 12882 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Attachment New: obama.jpg [ 19355 ]
          Laurence Aumeunier made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

          Laurence Aumeunier added a comment - - edited

          This use case does not work :

          • Insert a local image with exif rotation
          • The image is oriented correctly
          • DO NOT change image dimension
          • Save
            => The image is distorted, the dimensions are reversed

          The dimension stored in docbook are extract from a BufferedImage which to do take into account the Exit orientation tag.

          (test with obama.jpg image)

          Laurence Aumeunier added a comment - - edited This use case does not work : Insert a local image with exif rotation The image is oriented correctly DO NOT change image dimension Save => The image is distorted, the dimensions are reversed The dimension stored in docbook are extract from a BufferedImage which to do take into account the Exit orientation tag. (test with obama.jpg image)
          Grégory Lefebvre (Inactive) made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.0 [ 12882 ]
          Fix Version/s Original: 4.0RC5 [ 14109 ]
          Laure Lopez made changes -
          Attachment New: JIRA-paysage-ou-portrait.png [ 19307 ]
          Laure Lopez made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            glefebvre Grégory Lefebvre (Inactive)
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: