Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug: gimp-drawable-get-pixel fails despite channels visible in UI
#2
When you say "RBG png image" does that mean "non-indexed image"?

In Python, get_pixel() returns a Gegl.Color object, not a plain byte array: redValue=layer.get_pixel().get_rgba().red.

The Script-fu browser doc also says that gimp-drawable-get-pixel returns a GeglColor, even if it doesn't document any way to extract data from this.
Reply


Messages In This Thread
RE: Bug: gimp-drawable-get-pixel fails despite channels visible in UI - by Ofnuts - 07-03-2025, 08:20 PM

Forum Jump: