3 ms·
JPEG lossless rotation can only be done if the dimensions (height and width in px) of the image are multiples of MCU (typically 8x8 for 4:4:4 or 16x16 for 4:2:0
by fireattack 7y ago
JPEG lossless rotation can only be done if the dimensions (height and width in px) of the image are multiples of MCU (typically 8x8 for 4:4:4 or 16x16 for 4:2:0).
- klyrs 7y agoSure, that's a good enough excuse. I look forward to defeating government facial recognition algorithms by holding my head at an angle.
- zaat 7y agoFor the uninitiated, MCU is not Marvel Cinematic Universe as the search results might try to confuse you. It's Minimum Coded Units, and a nice explanation is over here: >https://www.impulseadventure.com/photo/rotation-partial-mcu.html https://www.impulseadventure.com/photo/rotation-partial-mcu.... Edit: the link also closed for me a forgotten open loop about the meaning of an annoying error message Windows XP era. Thanks for making me look it up!
- fireattack 7y agoImpulseAdventure is THE place when I look for reference related to anything about JPEG. He also has a very useful utility (I normally use it to check DCT table) called JPEGSnoop [1]. [1] https://www.impulseadventure.com/photo/jpeg-snoop.html https://www.impulseadventure.com/photo/jpeg-snoop.html