I took the example for Epsilon, changed it a little bit and tested it. I
used the following source.
--- code ---
#include <stdio.h>
#include <Epsilon.h>
int main(int argc, char **argv) {
Epsilon * image = NULL;
Epsilon_Info *info;
epsilon_init();
image = epsilon_new(argv[1]);
info = epsilon_info_get(image);
printf("Width: %d, Height: %d\n", info->w, info->h);
// This Segfaults so i suppose info is NULL
printf("Width: %d, Height: %d\n", image->w, image->h); //
This returns Width and Height = 0
epsilon_free(image);
return 0;
}
--- code ---
I compile with: gcc `epsilon-config --libs --cflags` epsilon-simple.c -o
epsilon-simple
If i try to print any image info, the program segfaults. If i try to
print the width and height out of the image it returns 0. Do not know
what went wrong, but i want thumbnailing support back. Every epsilon app
fails genarating thumbnails and leaves 4 -5 epsilon_thumbd´s running,
which are defunct and eating ressources.
Thanks for the help
Oli
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users