Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Layer name ignored in Load script
#1
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.
Reply
#2
What happens if you rename the layer after it has been inserted?
Reply
#3
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.
Reply
#4
(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
Reply


Forum Jump: