Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ApacheGallery] Gallery 0.4 -> Imlib2 problems - anyone help?



I'm running RH7.3 and trying to get Apache::Gallery 0.4 going. (which was all working fine under RH7.2 / Gallery 0.31, BTW)
I get the following errors in the gallery_error_log, looking like the inline
C code is failing to open the JPG file - anyone seen this before?
Can anyone shed any light on this??  Any help would be Much Appreciated

tearing out the remnants of my hair...
Rob

Setup:
Perl dependancies direct from CPAN
Imlib2( & devel) from rpmfind - Sourceforge.  Tried 1.03-1, 1.04, 1.06

PS tried downgrading to Gallery 0.3 / 0.31 (and previous versions of
Imlib2 ) to no avail

error:
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_image_get_width();

With the parameter:

image

being NULL. Please fix your program.

<<<< ---- Snip ---- >>>>
[Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does not exist:
/var/www/images/Canon/Miami/.cache/100x75-103-0393_IMG.JPG
[Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does not exist:
/var/www/images/Canon/Miami/.cache/100x75-103-0386_IMG.JPG
[Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does not exist:
/var/www/images/Canon/Miami/.cache/100x75-103-0394_STA.JPG
[Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does not exist:
/var/www/images/Canon/Miami/.cache/100x75-103-0395_STB.JPG


Inline C code snippet from Gallery.pm
int resizepicture(char* infile, char* outfile, int x, int y, int rotate,
char* copyrightfile) {

Imlib_Image image;
Imlib_Image buffer;
Imlib_Image logo;
int logo_x, logo_y;
int old_x;
int old_y;

image = imlib_load_image(infile); -- looks like image is null after this
point (strange coz dir / files have correct permissions, and the EXIF info
still gets printed in the little box...)

imlib_context_set_image(image);
imlib_context_set_blend(1);
imlib_context_set_anti_alias(1);

old_x = imlib_image_get_width();
old_y = imlib_image_get_height();
<<<<<<<<<<<<<<<<<<<<<<<<<<<


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: [email protected]