GIMP Version: 2.8.22
Operating System: Windows
OS Version: 10
GIMP Experience: Intermediate Level
Hallo,
I cut coins out of a *.tif with an own written PythonFu plugin.
Nearly all works as expected, the coin cut out is saved as tif and looks what
it should be.
The picture save I let stay in Gimp and is rather strange:

See the -.-.- extra rectangle?
No way to remove it.
the relevant steps are:
gimp.message(str(counter) + " " + file)
image = pdb.file_tiff_load(file,file)
display = gimp.Display(image) #PKHG>??? nicht unbedingt noetig
select_quadrat();fuzzyselect();all4(0,0)
LZW = 1
compression = LZW
save_transp_pixels = True
file = newName(file)
pdb.file_tiff_save2(image, image.layers[-1], file, file , compression, save_transp_pixels)
gimp.message(file)
#pdb.gimp_display_delete(display)
#pdb.gimp_image_delete(image)
return
the do-er is all4 (its last lines are)
pdb.gimp_image_crop(image, width, height, links, oben)
pdb.gimp_selection_none(image)
pdb.gimp_item_transform_rotate_simple(image.layers[0],0, 1,0,0)
return ("links rechts oben unten",links, rechts, oben, unten, width, height)
Do you know this behavior ? What to do to get rid of that extra rectangle in the Gimp widow itself???
Greets
Peter