peircej / jbrout

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

incorrect thumbnail direction for some potrait mode photos #175

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a problem with thumbnails in potrait mode photos. On some of my photos 
they show up with correct orientation, in some of my photos they show up in 
landscape format. All of my potrait mode photos are normally rotated by jbrouts 
rotate on import function. 

I tried to find out if the thumbnail was incorrectly build or if the 
visualisation was incorrect. I used different programms to build/regenerate the 
thumbnail (jhead, jpegtool, exiftran) and always got the same behavior as 
before.

Also "exiftool image.jpg -thumbnailimage -b | exiftool -" shows for both 
examples a potrait mode thumbnail (Thumbnail Image Width < Image Height).

Original issue reported on code.google.com by andrhoel...@gmail.com on 16 Oct 2010 at 1:02

Attachments:

GoogleCodeExporter commented 8 years ago
sorry, forgot the most important infos:
jbrout svn Rev. 315
SuSE 11.3
KDE 4.4.4
Kernel 2.6.34

Original comment by andrhoel...@gmail.com on 16 Oct 2010 at 1:17

GoogleCodeExporter commented 8 years ago
I downloaded your files, imported them in jbrout, i don't see any problem, the 
thumbnails are in portrait, as the pictures (v0.3.284 under Win XP and Linux).

But i have already seen the bug you're talking about: a landscape thumbnail for 
a portrait picture.
(I think maybe some programs really rotate the picture, and some only set the 
exif rotation tag.)
But i can't reproduce this bug.

Original comment by p...@gmx.fr on 16 Oct 2010 at 2:58

GoogleCodeExporter commented 8 years ago
The problem occurs with jbrouts rotate on import function. How does jbrout 
rotate the picture? Does it use an external program? (Sorry for stupid 
questions, but I can't program nor read the source code)

There must be a difference in these two examples. How can I find out who's 
wrong: the picture or it's interpretation (jbrout)?

Is there any other linux program that uses the build in thumbnails (most 
programs use there own external thumbnails) so I can compare the behavior?

Anyone else who can reproduce this bug?

Original comment by andrhoel...@gmail.com on 17 Oct 2010 at 6:34

GoogleCodeExporter commented 8 years ago
I tried with older versions:
Linux, jbrout 0.3.284: jbrout can't show any thumbnail (only red flashes 
instead). I always get:
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/jbrout/jbrout/db.py", line 629, in getThumb
    i=Img(thumb=self.file)
  File "/usr/lib/jbrout/jbrout/commongtk.py", line 276, in __init__
    img = pyexiv2.Image(thumb)
AttributeError: 'module' object has no attribute 'Image'
------------------------------------------------------------

Windows XP, jbrout 0.3.282:
No problems, pictures are shown with correct potrait thumbnails.

Now I'm completely confused :-(

Original comment by andrhoel...@gmail.com on 17 Oct 2010 at 7:06

GoogleCodeExporter commented 8 years ago
Is this now fixed in the code from svn as r332 should have fixed it.

Original comment by r...@wallace.gen.nz on 7 Jul 2011 at 8:49

GoogleCodeExporter commented 8 years ago
Closed as it should now be fixed and no response from query

Original comment by r...@wallace.gen.nz on 7 Oct 2011 at 3:59