Hi! i'm making time to come here..
i don't know where post it.
many time having the same problem and no time to resolve
for all who have problems to run an _script_ with pixbuf and want to "add an image from file", specifically on windows platforms
the simple way to resolve them is wrote the entire path to the image, even when the image are in the same directory.
example
image in the same directory
| Code: : |
$image = "image.png";
$pixbuf=GdkPixbuf::new_from_file($image);
|
change to
| Code: : |
$image = "c:/path/to/directory/image.png";
$pixbuf=GdkPixbuf::new_from_file($image);
|
i hope to be a big help for all.
quijote shin.
/*
Aunque tuviera el don de profecía y descubriera todos los misterios
aunque tuviera tanta fe como para trasladar montes, si me falta amor nada soy.
1° corintios 13
*/