PMView.com

Welcome Guest ( Log In | Register )

> Lossless Rotate Bug?, image size gets altered when using lossless rotate bug?
fbakan
post 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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Peter
post 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.
Go to the top of the page
 
+Quote Post
fbakan
post 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
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 28th March 2024 - 11:00 AM