Google
  Web www.spinics.net

Re: script-FU console query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Just tried, and set-pixel works for me using the Saul test
method.   Yes,  I had to toggle the 'eyeball' to get it 
to appear - yet to try gimp-drawable-update / gimp-displays-flush.

Thanks, gentlemen, for clearing my original 'image' 
and 'drawable' query.   


Welcome to SIOD, Scheme In One Defun
(C) Copyright 1988-1994 Paradigm Associates Inc.

Script-Fu Console - Interactive Scheme Development

=> (gimp-version)
("2.2.8")

=> (gimp-image-list)
(1 #(1)#1"01")

=> (gimp-image-get-layers 1)
(1 #(2)#1"02")

=> (define image 1)
1

=> (define layer (car (gimp-image-get-active-layer image)))
2

=>  (cons-array 3 'byte)
#3"000000"

=>  (gimp-drawable-set-pixel layer 1 1 3 (cons-array 3 'byte))
()
_______________________________________________

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]

Add to Google amazon