Re: [Gimp-user] Autocrop Buggy
- From: Ofnuts <ofnuts gmx com>
- To: gimp-user-list gnome org
- Subject: Re: [Gimp-user] Autocrop Buggy
- Date: Tue, 1 Nov 2016 19:43:46 +0100
On 01/11/16 12:30, Ofnuts wrote:
On 31/10/16 08:34, FierySwordswoman wrote:
Straight to the point. The Autocrop layer function is weird.
Take something simple
for X in image.layers:
pdb.plug_in_autocrop_layer(image, X)
and it still doesn't work, giving a variety of strange bugs.
Why?
Looks like a bug in plugin-autocrop-layer. It crops the active layer
using the crop coordinates computed on the target layer. Just
reported it on bugzilla.gnome.org:
https://bugzilla.gnome.org/show_bug.cgi?id=773774
And the reply is.... working as designed (devs admit it's brain dead,
though :) So just change your code to do
saveActive=image.active_layer
for X in image.layers:
image.active_layer=X
pdb.plug_in_autocrop_layer(image, X)
image.active_layer=saveActive
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]