Jim Townsend wrote:
> it is possible to do 90-degree rotations and flips losslessly,
> if the image dimensions are a multiple of the file's block size
> (typically 16x16, 16x8, or 8x8 pixels for color JPEGs).
Oh Oh.
I always use the Irfanview lossless rotation plugin on Windows to
rotate photos of my kids at 90 degrees, 180 degrees, and 270 degrees.
QUESTION #1:
Does this mean the 180 and 270 degree rotations are actually lossy
(but not the 90 degree rotations)?
I also often crop my photos of the kids in many cases, to non-standard
sizes.
QUESTION #2:
Does cropping destroy the 8x8 pixel multiplication such that a
subsequent Irvanview lossless rotation suddenly becomes lossy even at
90 degrees?
Scared,
Susan Henderson
> Yes, it's lossless.. Because the operation doesn't open
> the file first, it doesn't have to re-compress it.. It's
> the compression that causes the loss.
>
> There's a good explanation on just about everything you
> wanted to know about JPEG here:
> ``
> http://makeashorterlink.com/?Z1BB6294B
>
> Search the article for rotation and you'll find:
>
>
> "There are a few specialized operations that can be done on a JPEG file
> without decompressing it, and thus without incurring the generational loss
> that you'd normally get from loading and re-saving the image in a regular
> image editor. In particular it is possible to do 90-degree rotations and
> flips losslessly, if the image dimensions are a multiple of the file's
> block size (typically 16x16, 16x8, or 8x8 pixels for color JPEGs). This
> fact used to be just an academic curiosity, but it has assumed practical
> importance recently because many users of digital cameras would like to be
> able to rotate their images from landscape to portrait format without
> incurring loss --- and practically all digicams that produce JPEG files
> produce images of the right dimensions for these operations to work. So
> software that can do lossless JPEG transforms has started to pop up. But
> you do need special software; rotating the image in a regular image editor
> won't be lossless".