Re: [Gimp-developer] gimpY question
jude ui wrote: Thanks! however I don't like the fact that way GTK+ can be pretty slow for interfaces - to be honest I want to build applications based on the *enlightenment foundation libaries *to draw the eyecandy and what not- and use gtk as an extention to EFL (the same for qt) With slow, are you refering to development time or runtime performance? If you mean runtime performance, what benchmarks are you basing your claim on? In any case, most of the execution time will not be spent in the UI-code for an image editor. If you want to replace the UI code for GIMP, the first step would be to submit patches and help separate application logic from UI logic. If the patches are of high quality it should not be any problems with integrating the in the main tree, becuse such patches would improve the overall code quality. I'm thinking that once the UI code is completely separate from the application logic, it shouldn't be hard (only boring and time consuming) to write the UI code using a different library. BR, Martin ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] [wish] provide transparent color
From: Alchemie foto\\grafiche [EMAIL PROTECTED] 3 May be is missed, also the possibility to select transparent area as was a color,meaning using the magic wand or the color selector tool.. But since there is alpha to selection(=select transparency) that is no too missed... well IS missed its usability since that option is hided in a weird place and is not too clearly labeled( Layer menu really do not seems most intuitive place to search function related to Selections) Well, I don't mind internals at all -- what I wish that for user (frontend) Gimp could behave like transparency would be also a color. You like working with alpha channel and using distinct set of tools -- voila, you like to work with color tools only -- voila. Just an example: how to create black area. Select area and fill it with black color. How to create transparent area. Select area and cut it off. This not the best example, because one can always argue what is so hard to learn that you have to cut it off, but my point is -- why learn extra way in the first place. You are a master of fill feature, you set options, you change the fill color. Occam's razor. The same applies to other tools. Again, every effect is doable now, but the UI would be much cleaner with the notion colors, not color, and oh that extra transparency channel so it is treated like something alien among colors (in nature it is not -- water, glass, air are transparent as well as the chalk, snow, paper are white). A palette with transparent color will be meaningless since if transparent the color will be not visible But it can be presented in meaningful way, as much as it is now in the image. Kind regards, ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Python Docs
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@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Gimp-developer Digest, Vol 72, Issue 31
The same applies to other tools. Again, every effect is doable now, but the UI would be much cleaner with the notion colors, not color, and oh that extra transparency channel so it is treated like something alien among colors (in nature it is not -- water, glass, air are transparent as well as the chalk, snow, paper are white). And nature hasn't CTRL+Z. There are things that we must live with. Gimp is a computer program. It -like others- may or may not reproduce natural certain behaviors of natural media, because it's a computer program and there's code behind the tools you use. Maybe you'd like to point us a program that already has that feature so we can see what do you actually mean with transparent color. As other people pointed out, what you're asking for seems quite similar to the substract mode, that is already available both as a layer blending mode and a blending mode for the brush and airbrush tools. And the alpha channel handling is quite the same that other programas have (like the acclaimed Adobe Photoshop). Could you please try to explain in a more accurate way what do you need? As far as I could undestand, it looks like you want to paint with air, wich sounds pretty funny. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Python back-up files
Another question from me: When I write a plugin, my text editor (kwrite or kate) creates a backup file named plugin.py~. When I start now the plugin in GIMP, it is executing the backup instead the original. As a workaround I execute chmod -x *~ but sometimes I forget this and this is annoying. Maybe it's possible to integrate sth. like this in GIMP before plugins are executed. Thx Samuel ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Python back-up files
On Sat, Sep 27, 2008 at 6:16 PM, Samuel [EMAIL PROTECTED] wrote: Another question from me: When I write a plugin, my text editor (kwrite or kate) creates a backup file named plugin.py~. When I start now the plugin in GIMP, it is executing the backup instead the original. Hi, I think you should file a bug against kwrite and kate - while it's a good idea to create backup files, I see no reason why they should have the execute bit turned on (even if the file you are editing is executable). Chris ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Python Docs
Hi Samuel, I am also a new user of gimpfu.py If youre on unix you find there are only a dozen examples that come with 2.4.7. Its not enough information. Ive resorted to groveling over the scheme code; theres 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 [EMAIL PROTECTED] wrote: From: Samuel [EMAIL PROTECTED] Subject: [Gimp-developer] Python Docs To: gimp-developer@lists.XCF.Berkeley.EDU 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 [EMAIL PROTECTED] wrote: From: Samuel [EMAIL PROTECTED] Subject: [Gimp-developer] Python Docs To: gimp-developer@lists.XCF.Berkeley.EDU 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@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Python back-up files
On Saturday 27 September 2008, Chris Mohler wrote: On Sat, Sep 27, 2008 at 6:16 PM, Samuel [EMAIL PROTECTED] wrote: Another question from me: When I write a plugin, my text editor (kwrite or kate) creates a backup file named plugin.py~. When I start now the plugin in GIMP, it is executing the backup instead the original. Hi, I think you should file a bug against kwrite and kate - while it's a good idea to create backup files, I see no reason why they should have the execute bit turned on (even if the file you are editing is executable). Yes. I have filed such a bug some years ago. Never fixed that I remember. Onthe same day I flied the same bug against gedit - they did implement the fix some 18 months later or so. But as for kde editors, the only way to go is to delete the backup files by hand. :-( js -- Chris ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer