• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - izd

1
Bugs And Other Insects / Re: Can't load jpeg image
14 September 2012, 10:28:23
Yes, I tried with many jpeg images, just in case... ;)

Because it's more comfortable with activated checks options for debugging, I found the same problem with other libraries and solved it by adding these directives directly in source code header.

It's strange behavior but it works like this way !  :o
2
Bugs And Other Insects / Re: Can't load jpeg image
13 September 2012, 18:44:19
It's console app context.
3
Bugs And Other Insects / Re: Can't load jpeg image
13 September 2012, 14:16:18
Solved !

Just adding the following directives in units where app crash :

{$I-}
{$R-}
{$S-}

See you !
4
Bugs And Other Insects / Can't load jpeg image
13 September 2012, 11:37:30
Hi everybody,

Newbie with Vampyre, I have a problem with loading .jpg image but not with png.
I got an "Runtime error 201" in imjdhuff.pas line 1175
All the dependencies are satisfied (paths), compilation runs fine but app crash on loading :


  if ( FileExists( src ) = True ) then
  begin
    InitImage(img);
    LoadImageFromFile( src, img ); <==== /!\
  end;


/!\ ====> Runtime error

Any idea ?

NOTE: Imaging 0.26.4 , fpc 2.6.0, Lazarus 1.1, Ubuntu 10.04x32
SMF spam blocked by CleanTalk