Announcement

Collapse
No announcement yet.

JPG_TRANSFORM "Perfect tranform only" not working with "Auto-rotate"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Reported JPG_TRANSFORM "Perfect tranform only" not working with "Auto-rotate"

    Steps to repeat.

    1. Take a JPEG picture with an EXIF orientation tag. In my case, the file was created by an Android phone held portrait, and downloaded via Google Photos.

    My image is 1836 x 3264, as reported in IrfanView or other EXIF-aware software such as Windows Explorer in Win10. The raw dimensions are 3264 x 1836, as reported by non-EXIF software functions such as PHP getimagesize() or Perl Image::Size:imgsize().

    Note 1836 is not divisible by 16.

    2. Verify in IrfanView: Image / Information / EXIF info / Orientation: "Right top".
    Note, the default Orientation is "Top left".

    3. Make a copy to work with and open it in IrfanView.
    Options / JPG Lossless Transformation.
    Check: Auto-rotate (according to EXIF orientation, if available).
    Check: "Perfect" transformations only (don't cut OFF rows/columns in this case).
    Click Start.

    RESULT
    The image is 1824 x 3264, raw and as reported by EXIF-aware software.
    The EXIF Orientation is default, "Top left."

    EXPECTED RESULT
    IrfanView refuses to cut pixels. 'JPG Transformation error: "Perfect" operation is not possible. Bad image dimensions.'

    To get the expected result, change step 3 to:
    Check: Rotate clockwise: 90 degrees
    Check: "Perfect" transformations only (don't cut OFF rows/columns in this case)

    #2
    Tested with IrfanView 4.52 on Win10, in both 32-bit and 64-bit, with all plugins installed.

    Comment


      #3
      Version 4.51 had this bug too (Win 7 Ultimate SP1, on both 32/64 bit).
      Imi este indiferent ce cred ceilalti despre mine, caci oricum fiecare crede ce-i convine lui si nu ceea ce e real,
      doar ca mi-ar fi placut sa ma vada asa cum sint de fapt, nu asa cum poate le-ar placea lor sa creada. Ei au ales deja...

      ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷··
      ·· · ·M· · ·I· · ·D· · ·I· · ·· ·· ·M· · ·A· · ·N· · ·I· · ·A· · ·C· · ·S· · ··
      ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷··

      Comment

      Working...
      X