04-01-2025, 02:47 PM
I'm not trying to do something specific, I'm trying to determine if there is a bug in gimp so I can report it or if there's an error in the documentation so I can report it, well if possible.
Screenshot should be here but it says too much data even though it's just 26k
Look at the Gimp 3 python browser, look up merge-visible-layers. Note the parameters for merge type.
Note also there is an enum value in the MergeType object called FLATTEN_IMAGE
However passing that enum value, or the equivalent integer shown in the browser documentation, the result is the following error.
So it would seem either the docs are incorrect or there is a bug.
Screenshot should be here but it says too much data even though it's just 26k
Look at the Gimp 3 python browser, look up merge-visible-layers. Note the parameters for merge type.
Note also there is an enum value in the MergeType object called FLATTEN_IMAGE
However passing that enum value, or the equivalent integer shown in the browser documentation, the result is the following error.
Quote:GIMP-Error: Calling error for procedure 'gimp-image-merge-visible-layers':
Procedure 'gimp-image-merge-visible-layers' has been called with value 'GIMP_FLATTEN_IMAGE' for argument 'merge-type' (#2, type GimpMergeType). This value is out of range.
So it would seem either the docs are incorrect or there is a bug.