remcoboerma / jbrout

Automatically exported from code.google.com/p/jbrout
0 stars 0 forks source link

rotating breaks 3008x2104 pictures #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a 3008x2104 picture (file attached)
2. rotate it
3. the thumb as the picture itself are broken (reversible)

What is the expected output? What do you see instead?
Should rotate without defect

What version of the product are you using? On what operating system?
svn r305 - Mandriva Linux 2010.1

Please provide any additional information below.
This picture comes from a scanner

Original issue reported on code.google.com by antonin....@gmail.com on 11 Sep 2010 at 3:38

Attachments:

GoogleCodeExporter commented 9 years ago
What did you mean about "defect" ?
(see the result in the shot join, on the same jbrout version)

The thumbnail seems to be a little bit broken (a right side)

but the rotated real picture seems to be perfect.

For instance, the rotating feature is done by "exiftran" (an external tool).

Original comment by manat...@gmail.com on 12 Sep 2010 at 8:38

Attachments:

GoogleCodeExporter commented 9 years ago
I agree with you, but if the real picture _seems_ perfect, it is not any more. 
Zoom on the right side, and you will see a vertical strip of 8 pixels coming 
from the other side (with a mirror effect). See attachment.

My workaround is to make me 'rotate left' picture instead of 'rotate right', 
because this defect will not show up. Indeed, along you rotate this picture on 
the four possible positions, you will see the defect only two consecutives 
times over the four.

I have send an email to exiftran author

Original comment by antonin....@gmail.com on 12 Sep 2010 at 9:17

Attachments:

GoogleCodeExporter commented 9 years ago
My exiftran is packaged in fbida-2.07-4mdv2010.1.i586

Original comment by antonin....@gmail.com on 12 Sep 2010 at 9:26

GoogleCodeExporter commented 9 years ago
From what I had read some time ago about lossless rotation of jpeg pictures, 
there is a "border effect" which comes from the way a jpeg picture is 
constructed. So I guess, depending on the dimensions of the picture, this 
effect can appear. I didn't know it could be on a band more that 1 pixel wide, 
though...

Original comment by chartier...@gmail.com on 14 Sep 2010 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by matej.c...@gmail.com on 12 Aug 2013 at 10:52