GNOME Bugzilla – Bug 319190
f-spot eats my jpegs when i try to rotate them
Last modified: 2009-07-27 13:21:00 UTC
Distribution/Version: ubuntu 5.10 (breezy) this happens to any jpeg i try to rotate. i import a jpeg file (made with dcraw and imagemagick) select it click either rotate button photo is replaced with big question mark the original photo is corrupted, it cannot be read with eog or gimp the output on the terminal sam@titania:~$ f-spot Unable to find active server: Name 'org.gnome.FSpot' does not exist. Saving orientation as RightTop value = f-spot version 0.1.3 len = 20 value = 2005:10:18 22:58:06 len = 19 value = 2005:10:18 22:58:06 len = 19 value = f-spot version 0.1.3 len = 20 value = 2005:10:18 22:58:06 len = 19 Saved 98 bytes saving marker Soi (null) saving marker App0 14 saving marker App1 98 saving marker Dqt 65 saving marker Dqt 65 saving marker Sof0 15 saving marker Dht 27 saving marker Dht 71 saving marker Dht 25 saving marker Dht 51 saving marker Sos 10 Error loading image /home/sam/Desktop/playphotos/crw_6366.jpeg GLib.GException: Error interpreting JPEG image file (JPEG datastream contains no image) in <0x000bc> Gdk.PixbufLoader:Write (System.Byte[] buf, UInt64 count) in <0x0013c> FSpot.AsyncPixbufLoader:AsyncRead () Falling back to file loader i am running f-spot on ubuntu 5.10 (breezy) on an apple powerbook g4
eep this is terrible, can you attach one of the corrupt images to this bug?
Can you also attach one the same image before it is garbled?
Created attachment 53637 [details] a healthy jpeg This is the photo before it is opened in f-spot.
Created attachment 53638 [details] the broken jpeg This is the jpeg after f-spot has attempted to rotated it
ok this was a byte order problem on big endian machines that should be fixed now. If you would like me to recover any images that f-spot corrupted let me know, it should be a simple process. I'll attach the patch so you can test it if you like.
Created attachment 53662 [details] [review] fix for endian issue
wow quick work everything was backed up so i didn't loose any data. i am not really sure how to aply the patch, f-spot is installed from a .deb from the ubuntu universe. is there someway to download a source deb? i'll pester the ubuntu devs to get this into ubuntu quickly. thank you
bug reproduced. The patch definitely fix the problem. I did rebuild a package with it.
Fixed in CVS.