Re: [Gimp-developer] thumbnail generation for nautilus via gimp
Hello Sven, thanx for that. I tried something like gimp -i -n -f -d -s -b '(gimp-file-save-thumbnail /path/to/image.psd)' -b '(gimp-quit 0)' but i didn't get it work :( This is what have done so far: http://my.opera.com/area42/blog/generating-thumbnails-using-gimp - |\/\/\/| | | | (O)(O)Bart. C _) [EMAIL PROTECTED] | ,_/ | /- Ich bin nicht berechtigt Aushilfslehrer zu feuern - / \ http://www.neeneenee.de Am Samstag, den 01.12.2007, 20:54 +0100 schrieb Sven Neumann: Hi, On Sat, 2007-12-01 at 20:45 +0100, Eckhard M. Jäger wrote: i got the idea to create a python script thats generate the thumbnails of unsupported images in nautilus using gimp. Implementing this in Gimp and in Nautilus. I studied the commandline options ( -n, -a, -i, -d, -f, -s )of gimp and do not know if it is possible. Am i right i have to load and unload all the images of a directory to get gimp generating an thumbnail or is there a better way? You can use the PDB function gimp-file-save-thumbnail(). See http://developer.gimp.org/api/2.0/libgimp/libgimp-gimpfileops.html#gimp-file-save-thumbnail Sven ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] changing the shape of a text layer
On Sunday 02 December 2007 01:29:39 am William Skaggs wrote: From: [EMAIL PROTECTED] I like the idea of having this functionality available. I have tried the patch and it seems very capable. There appears to be bug which presented itself when I did the following: ... Thanks for the bug report. I'll take a look at it. As a general comment, I would point out that this interface might present a problem in the future when in-place text editing is implemented. Since the primary function of the tool is text input, perhaps it would be better to require a modal key (ALT?) when adjusting the frame so that, in the future, unmodified mouse clicks could be used to specify cursor location and text selections. I hadn't thought about this, but it seems to me that it would be simpler to distinguish between clicking (used in in-place editing) and click-and-drag (used for modifying shape). I actually dislike the idea of having clicking modes - We might have clicking locations - ike, clicking in the handlers always do resize, and just draw the handlers so that no text falls inside them. Certain programs that do use the two modes for editing and dragging the text container are an absolute PITA to use exactly due to this. (OOo anyone?) js -- But in general I am absolutely delighted to leave that sort of question to the wisdom of Peter and his cohorts. -- Bill ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] thumbnail generation for nautilus via gimp
Hi, On Sun, 2007-12-02 at 12:56 +0100, Eckhard M. Jäger wrote: thanx for that. I tried something like gimp -i -n -f -d -s -b '(gimp-file-save-thumbnail /path/to/image.psd)' -b '(gimp-quit 0)' but i didn't get it work :( Have a look at the documentation again (hint: I gave you a link). Your call misses the ID of the image (that you need to obtain by opening it in GIMP beforehand). And your filename needs to be in parenthesis. Sven ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] thumbnail generation for nautilus via gimp
Hello Sven, thanks for the link and the help. there is a thing that i don't understand, my script is opening the file and so the thumbnail is generated by Gimp automaticly when closing gimp. I thought using gimp-file-save-thumbnail would be faster and uses less memory then opening the files like i did. But now i read the documentation and see to use gimp-file-save-thumbnail i have to open the file first to get the image ID. So my question is: Is there an advantage using gimp-file-save-thumbnail? - |\/\/\/| | | | (O)(O)Bart. C _) [EMAIL PROTECTED] | ,_/ | /- Ich bin nicht berechtigt Aushilfslehrer zu feuern - / \ http://www.neeneenee.de Am Sonntag, den 02.12.2007, 15:30 +0100 schrieb Sven Neumann: Hi, On Sun, 2007-12-02 at 12:56 +0100, Eckhard M. Jäger wrote: thanx for that. I tried something like gimp -i -n -f -d -s -b '(gimp-file-save-thumbnail /path/to/image.psd)' -b '(gimp-quit 0)' but i didn't get it work :( Have a look at the documentation again (hint: I gave you a link). Your call misses the ID of the image (that you need to obtain by opening it in GIMP beforehand). And your filename needs to be in parenthesis. Sven ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Developer-User Disconnect
Daniel Falk wrote: I prefer to work efficiently with a gui actually (Don't laugh!). Anybody know of a good gui option? I enjoy Thunderbird, but of course, YMMV. -- -- Renan Renan_S2 Birck| Everyone knows that Linux http://renanbirck.deviantart.com | does not exist. Linux is http://janelasquebradas.blogspot.com | just an unlicensed ver- http://www.flickr.com/photos/renanbirck _| sion of UNIX. (SCO) ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] thumbnail generation for nautilus via gimp
From: Eckhard M. Jger [EMAIL PROTECTED] there is a thing that i don't understand, my script is opening the file and so the thumbnail is generated by Gimp automaticly when closing gimp. ... Unless a file contains an internal thumbnail (as jpeg files sometimes do), there is no way to generate a thumbnail for a file without loading it. So probably you're hoping for something that is impossible. -- Bill ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer