RSS/Atom feed Twitter
Site is read-only, email is disabled

plug_in_tile

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

plug_in_tile Andrei Simion 26 Jul 04:48
Andrei Simion
2005-07-26 04:48:15 UTC (over 19 years ago)

plug_in_tile

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