Mike Chaney's Tech Corner
November 22, 2024, 07:46:56 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Qimage registration expired? New lifetime licenses are only $59.99!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: invalid embedded profile causes hang  (Read 10041 times)
mshand
Newbie
*
Posts: 21


« on: June 14, 2009, 06:42:52 AM »

Mike,

I was just looking at some old folders of scanned family photos which I have not opened in Qimage for perhaps several years, and on opening some of them found that Qimage gave an error message relating to NTDLL.DLL or an access violation at address 1000B544 in lcms.dll at address 8 and then hung. Only way to get out was to kill it via the task manager.

On investigation I discovered that the cause was some images (some jpg, some tif).  Qimage hangs on trying to generate the thumb for any of those images.

I tried opening the images in photoshop (an old version) and it politely says "The embedded ICC profile cannot be used because the ICC profile is invalid. Ignoring the profile", and then opens the file OK. The TIFs give that message twice before opening.

So I'm guessing that these images have some weird profile inserted by whatever old scanner I was using at the time.

They used to open fine in Qimage (but it is probably several years since I last did that), but now I have this problem.  I've recently upgraded to studio, if that makes a difference.

I'm resaving the images from photoshop, which presumably has removed the offending profile, and that seems to work fine.

But I'm wondering if it is possible to make Qimage a bit more defensive and report an error identifying the offending image rather than just hanging. It took me quite a while to identify the offending images by reintroducing them one by one. Now I know the problem I can probably use photoshop to identify them once Qimage has hung.

I appreciate that dealing with randomly "wrong" formats is difficult, but a more friendly behaviour would be desirable.

Mike S
Logged
admin
Administrator
Forum Superhero
*****
Posts: 4220



Email
« Reply #1 on: June 14, 2009, 01:39:52 PM »

I can't really tell anything without having one of the images.  Can you email one to me?  I can't always control what is going on in someone else's code but I can take a look.

Mike
Logged
admin
Administrator
Forum Superhero
*****
Posts: 4220



Email
« Reply #2 on: June 14, 2009, 02:32:42 PM »

Got the example, thanks.  I've fixed the problem and the fix will be in the next version (v2009.260).

Mike
Logged
mshand
Newbie
*
Posts: 21


« Reply #3 on: June 17, 2009, 08:34:15 AM »

Just to confirm that 2009.260 does indeed fix the problem. It reads all the files which previously caused a hang.
Thanks for your speedy response Mike.


Mike S
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Security updates 2022 by ddisoftware, Inc.