Post Reply 

problem opening certain jpeg's from a canon dslr

May 22, 2014, 11:46
Post: #1
problem opening certain jpeg's from a canon dslr
I am having trouble opening certain jpeg's from my canon camera. I can open the jpeg's in other applications such as Irfanview and MS Paint, but have no luck with gimp. Note that this is only happens with certain jpeg's from my camera, I can open most of them no problem. gimp simply freezes when I try and do a file...open on these images. Also, both the working and non working pictures are roughly the same size, around 2MB. I have uninstalled gimp, deleted all associated files and cleaned the registry.
Find all posts by this user
Quote this message in a reply
May 22, 2014, 12:12
Post: #2
RE: problem opening certain jpeg's from a canon dslr
I assume the files are on your disk and not on the camera (or the SD card)?

Can you post one of these failing files somewhere (where it won't be re-encoded, so beware of imgur and others)? Or PM me your email so I'll send you mine to exchange the pictures directly.

Never had any such problem with the Jpegs from my 450D. 2MB is small, though (my JPegs are 6-8MB). Is it a very old 300/350D or are you using some coarse image setting?

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
May 22, 2014, 12:47
Post: #3
RE: problem opening certain jpeg's from a canon dslr
Yes the files are indeed on disk. The Canon is a Rebel T3i, less than one year old. I shoot in L Blocky and have a class 10 SDHC card.

Here is a link to three images on my public dropbox:
https://www.dropbox.com/sh/63sv0kelmzg3o...q10Wz56h8a

I just realized that all of the problem photos are longish exposures, although I can still open other long exposure pictures no problem.

Thanks for your help.
Find all posts by this user
Quote this message in a reply
May 22, 2014, 13:59
Post: #4
RE: problem opening certain jpeg's from a canon dslr
No problem to open then in Linux. On WinXP I cannot open them with File/Open or by dragging them to Gimp but right click+Edit with Gimp in the file explorer works sometimes.

When Gimp appears to hang the process monitor show that metadata.exe is using much CPU. Given its name and path this looks like a Gimp plugin to extract Exif data from the picture, so you may have a point about shooting parameters. And If I remove all metata with ExifTool the file loads without problem.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
May 22, 2014, 15:40
Post: #5
RE: problem opening certain jpeg's from a canon dslr
Same as Ofnuts, the files load OK in a linux machine. In a Win7 VM Gimp stalls. I thought about the metadata as well, looking at it in XnViewMP for example, the comment field is a bit strange. However removing all the metadata with XnViewMp was no fix, so maybe ExifTool writes a better file.

Converting the jpegs to tiffs with XnViewMP does save the metadata, and they open in Gimp, but even with some compression they are big files.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
May 22, 2014, 16:36 (This post was last modified: May 22, 2014 16:42 by paynekj.)
Post: #6
RE: problem opening certain jpeg's from a canon dslr
Just to add to the confusion Wink Loading one of these images into GIMP 2.8.10 stalls and as Ofnuts says, metadata.exe is using lots of CPU.

BUT it loads without problems into GIMP 2.6.7

Kevin

For what it's worth, using the Exif viewer add-on to Firefox gives me the following EXIF data in the IMG_2888.JPG picture.


Attached File(s)
.txt  IMG_2888_JPG_EXIF.txt (Size: 63.98 KB / Downloads: 36)
Find all posts by this user
Quote this message in a reply
May 23, 2014, 11:49
Post: #7
RE: problem opening certain jpeg's from a canon dslr
Thanks for everyone's input on this. My current solution to be able to edit the files in Gimp is:

1. Start the Task Manager, open Processes tab
2. Start Gimp, open corrupted JPEG
3. Stop the Metadata.exe process in the Task Manager

The JPEG should now open. An error message will briefly flash in Gimp.

I will look into changing Exif data on my Canon and will report back if I find a proper fix. If not this solution at least allows me to keep using Gimp for photo editing.
Find all posts by this user
Quote this message in a reply
May 23, 2014, 14:00
Post: #8
RE: problem opening certain jpeg's from a canon dslr
It might be worth you reporting this as a bug: http://www.gimp.org/bugs/ as it's obviously wrong behaviour and the developers need to be told about it.

Kevin
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Need Help about Gimp opening a whole lot files AlexWorX 1 52 Nov 17, 2017 19:44
Last Post: rich2005
  Stylus button shortcut opening menu box (Help) Vail 2 89 Nov 2, 2017 01:03
Last Post: Vail
Sad GIMP Not Opening tilachihuahua 1 247 Oct 11, 2014 00:15
Last Post: ofnuts
  problem with drop shadow Kharl 37 1,854 Oct 8, 2014 04:53
Last Post: Kharl
Question opening gimp. jimmywhite 1 245 Sep 29, 2014 21:21
Last Post: fluffybunny2

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS