Author Topic: Freeze on loading a JPG  (Read 4677 times)

Offline davem

  • Imaging User
  • *
  • Posts: 20
    • View Profile
Freeze on loading a JPG
« on: 26 November 2010, 11:25:07 »
  Hi,
  I got two examples of JPG files that make the loading freeze. They are corrupt however the library should not freeze and rather return an error or load the image incomplete (like Windows preview does). I use version 0.264. Can you help me please?

Delphi 2009
Win 7 64bit, Win XP

  Thanks, David

Ps: I sent a small donation today  ;)
« Last Edit: 26 November 2010, 11:40:49 by davem »

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 369
    • View Profile
    • Galfar's Homepage
Re: Freeze on loading a JPG
« Reply #1 on: 29 November 2010, 03:09:51 »
Hi,
try the latest code from SVN please, that seems to open these JPEGs well.
There've been some JPEG related fixes since version 0.26.4.

Dekuji moc za donation ;D



Offline davem

  • Imaging User
  • *
  • Posts: 20
    • View Profile
Re: Freeze on loading a JPG
« Reply #2 on: 29 November 2010, 07:56:09 »
Ah, thanks, it works fine!
Why the newest version is over 1 year old if there are so many corrections and improvements?

  Cheers, David

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 369
    • View Profile
    • Galfar's Homepage
Re: Freeze on loading a JPG
« Reply #3 on: 2 December 2010, 02:42:13 »
Updating the documentation, rebuilding demos, and testing the library on all supported platforms is quite long and not very exciting process. When I have some free time (not so much these days) to work on Imaging I'd rather implement some new features. Anyway, I'll have some free time over Christmas so I'll release new version then.

Offline davem

  • Imaging User
  • *
  • Posts: 20
    • View Profile
Re: Freeze on loading a JPG
« Reply #4 on: 2 December 2010, 07:34:48 »
Ok, understood, but I haven't seen anywhere that there is a newer unreleased version of the code then the latest released one. Maybe it is writtent somewhere on your pages but I simply haven't noticed. Anyway, now it is solved and I will keep on updating with the new source codes. Thanks again!

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 369
    • View Profile
    • Galfar's Homepage
Re: Freeze on loading a JPG
« Reply #5 on: 5 December 2010, 20:04:02 »
It's stated here http://imaginglib.sourceforge.net/index.php?page=down
where the working code can be found but maybe it's not too obvious.