> Hello everybody!
>
> I have a simple question. After the following statement:
>
> SharedImage *image = gifImage::get("images/some_image.gif");
>
> How do I determine, if the image could be loaded?
>
> I'm using FLTK2.0, Linux.

Can`t anyone answer this question?

I`m using png-Images and I tried already to use fltk::pngImage::test(...) but 
it always returns true, even if I insert a wrong path here and tested 
afterwards:
SharedImage *image = pngImage::get("images/a_wrong_image_path.png");

Till now I checked for errors with the fltk::Image::mem_used() - methode, but 
when the path to the image is long enough than this methode returns > 0 even if 
the Image couldn`t be loaded too ...

So, pls help me! THX


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to