Hi,

I'm trying to use the plug_in_tile Perl method and I get no results.

I'm doing this:

$img = gimp_file_load($bgfile,$bgfile);
gimp_convert_rgb($img);

$layer = new Layer
$img,$width,$height,RGB_IMAGE,"Foreground",100,NORMAL_MODE;

gimp_layer_add_alpha($layer);
gimp_image_add_layer($img,$layer,-1);
$layer -> gimp_edit_clear;

($img2, $layer2) = plug_in_tile(0, $layer, $width, $height, 1);

In $img2 I should have the tiled image, but I got only an empty file.

What is your opinion?

Regards,
Andrei


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to