Re: Python Docs

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

 



Hi Samuel,

I am also a new user of gimpfu.py

If you"re on unix you find there are only a dozen examples that come with 2.4.7.  It"s not enough information. I"ve resorted to groveling over the scheme code;  there"s alot of it and its pretty straightforward to translate some things.

% find . -name \*scm | wc -l              
     313

Did you see this one?  http://docs.gimp.org/en/plug-in-retinex.html


And tell me what you find, please.
paul

----
% find . -name \*scm -exec grep gimp-image {} \; | \
grep -v width | grep -v heigth | perl -ne '@a=split; \
print "$a[0]\n"' | sort -d | uniq > ALL_IMAGE_CMDS.txt


--- On Sat, 9/27/08, Samuel <samuel_albrecht@xxxxxx> wrote:

> From: Samuel <samuel_albrecht@xxxxxx>
> Subject:  Python Docs
> To: gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
> Date: Saturday, September 27, 2008, 4:41 PM
> Where can I find the actual Python docs for GIMP? I know
> this site:
> http://www.gimp.org/docs/python/index.html
> But it doesn't seem to be complete. For example how do
> I get the color
> of a pixel?
> And the docs are not in the 2.4.7 and the 2.5.3 sources, I
> downloaded.
> 
> I'm pretty new in Python and itfor GIMP
> with so few docs and examples around.
> 
> I want to write a plugin which creates a depthmap from a
> stereo pair and
> the error I get is:
> error: could not set 4-element pixel (100, 100) on drawable
> (ID 5)
> 
> Source here:
> http://pastebin.furver.se/p5xh8byi7/
> 
> Thx in advance for answers,
> Samuel



--- On Sat, 9/27/08, Samuel <samuel_albrecht@xxxxxx> wrote:

> From: Samuel <samuel_albrecht@xxxxxx>
> Subject:  Python Docs
> To: gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
> Date: Saturday, September 27, 2008, 4:41 PM
> Where can I find the actual Python docs for GIMP? I know
> this site:
> http://www.gimp.org/docs/python/index.html
> But it doesn't seem to be complete. For example how do
> I get the color
> of a pixel?
> And the docs are not in the 2.4.7 and the 2.5.3 sources, I
> downloaded.
> 
> I'm pretty new in Python and it's not easy to
> programm sth. for GIMP
> with so few docs and examples around.
> 
> I want to write a plugin which creates a depthmap from a
> stereo pair and
> the error I get is:
> error: could not set 4-element pixel (100, 100) on drawable
> (ID 5)
> 
> Source here:
> http://pastebin.furver.se/p5xh8byi7/
> 
> Thx in advance for answers,
> Samuel
> 
> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux