Google
  Web www.spinics.net

[Gimp-user] Re: Script-Fu: what's a INT8ARRAY

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


Okay, I've figured out how to create an INT8ARRAY in script-fu, but
surely I'm doing something silly because this seems too awkward.  Is
there a better way?

    (set! foo "   ")
    (aset foo 0 red)
    (aset foo 1 green)
    (aset foo 2 blue)
    (gimp-drawable-set-pixel new-layer i j 3 
                             (hexstr->bytes (array->hexstr foo)))


roland
-- 
		       PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
roland@rlenter.com                     76-15 113th Street, Apt 3B
roland@astrofoto.org                       Forest Hills, NY 11375


[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