![]() |
|
re-coloured pixels hide confusingly - 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: re-coloured pixels hide confusingly (/Thread-re-coloured-pixels-hide-confusingly) |
re-coloured pixels hide confusingly - cjel - 02-26-2026 Hello, I have been exploring Script-Fu recently, and found that the procedure "gimp-drawable-set-pixels" sets the colours of pixels but does not make the new colours visible! I've got to toggle layer visibility off then on for the display to refresh, or copy the modified pixels, paste back over themselves, and merge down. I'm aware of the function "gimp-displays-refresh", but calling it doesn't seem to do anything. I'm assuming I'm just very stupid and there's a simple way to make the results gimp-drawable-set-pixels visible from script-fu. I certainly feel stupid after spending so much time trying to figure out something so seemingly simple, so as a last resort I figured I'd ask here.
|