Vampyre Imaging Library Forum

Imaging Category => Bugs And Other Insects => Topic started by: davem on 26 November 2010, 11:25:07

Title: Freeze on loading a JPG
Post by: davem 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  ;)
Title: Re: Freeze on loading a JPG
Post by: Galfar 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


Title: Re: Freeze on loading a JPG
Post by: davem 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
Title: Re: Freeze on loading a JPG
Post by: Galfar 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.
Title: Re: Freeze on loading a JPG
Post by: davem 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!
Title: Re: Freeze on loading a JPG
Post by: Galfar 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.