Re: script-FU console query | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi,
On Sun, 2007-01-14 at 12:24 -0800, Saul Goode wrote:
> (define image 1)
> (define layer (car (gimp-image-get-active-layer image)))
> (gimp-drawable-set-pixel layer 1 1 3 (cons-array 3 'byte))
>
> Note that at this point, the pixel at location x=1, y=1 has "internally"
> been painted BLACK ('cons-array' initializes to [0,0,0]) but the display
> has not been updated.
You also need to call gimp-drawable-update (and of course
gimp-displays-flush).
Sven
_______________________________________________
Gimp-user@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Home] [GIMP Development] [Video For Linux] [Photo] [Yosemite News] [Yosemite Photos] [Yosemite Book Store] [gtk] [KDE] [Scanner] [Gimp's Home] [Gimp Docs] [Gimp on Windows] [Steve's Art] [Webcams] [Share Your Images] [Free Online Dating] [Script Fu]
![]() |
![]() |