Lossless Rotate Bug?, image size gets altered when using lossless rotate bug? |
Lossless Rotate Bug?, image size gets altered when using lossless rotate bug? |
Apr 9 2007, 10:47 AM
Post
#1
|
|
Forum Member Group: Members Posts: 7 Joined: 12-November 05 Member No.: 201 |
Hi,
don't know if this is OS/2-specific, but here's my problem: For example I have a .jpg file 454x480 pixels. When I now chose rotate lossless 180 degree the size gets altered and now is 448x480. This is not lossless, the picture loses some pixels! There is even no option for 'undo', so the original image gets destroyed. I think this is a rather severe bug or am I wrong? (version 3.40, but at least 3.31 also has this bug) Thanks for listening Franz |
|
|
Apr 10 2007, 10:44 AM
Post
#2
|
|
Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 |
Correct. The image width/height needs to be divisible by 8, the size of one MCU block (8x8).
Since the size of your image isn't divisible by 8, it has probably already been subject to a lossy transformation. Lossless transformation will generate garbage out of partial MCU blocks. Instead of presenting the garbled edges to the user, PMView does what most users probably prefer and cuts out the garbled blocks. Usually this is not an issue, since camera originals typically have a size that is divisible by 8 and can be rotated losslessly without the need to throw away anything. Peter -------------------- Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
Apr 11 2007, 01:24 PM
Post
#3
|
|
Forum Member Group: Members Posts: 7 Joined: 12-November 05 Member No.: 201 |
Thanks for the explanations.
I see that I have to avoid the lossless transformations for those jpgs But I would expect at least a warning before the image gets irreversible cropped without undo option. This is my wish for the next release. Franz |
|
|
Lo-Fi Version | Time is now: 20th September 2024 - 08:00 PM |