Announcement

Collapse
No announcement yet.

Lossless JPEG Rotation not Lossless

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

    Lossless JPEG Rotation not Lossless

    Let's take those options:


    and this image (82x61):


    after 90 degrees rotation it will look like this (48x82 instead of 61x82): O.o


    ok... let's try again another 90 degrees rotate


    (80x48) OMFG! loseless rotate becomes a only 8x8 block rotate deleting non full 8x8 blocks?!?

    /edit IV 4.22 was used
    Attached Files
    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· · ··
    ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷··

    #2
    This is not a bug. Lossless rotation is only lossless if the image is a multiple of 16 pixels as it says in the help file:
    Note: Lossless JPG operations like flip or rotate work only if the image height is a multiple of 16 (JPG specification). If this is not the case, unused image lines will be removed.
    Before you post ... Edit your profile • IrfanView 4.67 • Windows 10 Home 19045.2486

    Irfan PaintIrfan View HelpIrfanPaint HelpRiot.dllMore SkinsFastStone CaptureUploads

    Comment


      #3
      Lovely :X. Then a warn dialog if image will be cropped is needed. Almost no one will look at image dimensions to see if it will be rotated without losing data
      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