Gimp-Forum.net
Layer name ignored in Load script - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Layer name ignored in Load script (/Thread-Layer-name-ignored-in-Load-script)



Layer name ignored in Load script - PyFuNoob - 06-23-2017

I have written a <Load> Python plug-in to open a custom image file format.

If I insert only one layer the layer name I give it is not used and the layer name is the filename when the image is displayed in GIMP.

If I insert two or more layers the layer names I give them in the script are used.

Anyway to ensure my chosen layer name is used for the one layer case?

Using GIMP 2.8.10.


RE: Layer name ignored in Load script - Ofnuts - 06-23-2017

What happens if you rename the layer after it has been inserted?


RE: Layer name ignored in Load script - PyFuNoob - 06-24-2017

Same result.

I think it happens for GIMP's other load plug-ins too.

bmp, jpeg, png which open into one layer have layer name of filename but ora which opens into two layers has custom layer names.


RE: Layer name ignored in Load script - Ofnuts - 06-24-2017

(06-24-2017, 03:47 AM)PyFuNoob Wrote: Same result.

I think it happens for GIMP's other load plug-ins too.

bmp, jpeg, png which open into one layer have layer name of filename but ora which opens into two layers has custom layer names.

That doesn't really answer my question Smile