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 mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to