[Gimp-user] Re: My new Howto on batch color correction using script-fu
Patrick Shanahan wrote: * Malcolm Tredinnick [EMAIL PROTECTED] [10-17-04 22:35]: ... Your webserver is serving up this document as text/plain (rather than text/html), so it is hard to read at the moment (i.e. littered with HTML tags). You may wish to fix that. :-) Hum, looks fine in Firefox and Konqueror Not here on Firefox 1.0PR with Windows XP. Regards, Olivier. ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Scheme question
I have been trying to write some scripts to automate tasks but find that I have some trouble using scheme. Although I am experienced in other languages I find scheme quite difficult to master as I can't seem to find any language references. There are lots of tutorials and samples showing how to create scripts but nothing that I could find that actually describes the language, functions available, etc. At the moment I am trying to work out how to do integer division. I want to draw guides mapping the rule of thirds and want to ensure that I get an integer result when I divide the image height and width by 3. How would I do this? Thanks -- Steve Crane http://craniac.afraid.org ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] Scheme question
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Crane Sent: 16 October 2004 00:01 To: [EMAIL PROTECTED] Subject: [Gimp-user] Scheme question At the moment I am trying to work out how to do integer division. I want to draw guides mapping the rule of thirds and want to ensure that I get an integer result when I divide the image height and width by 3. How would I do this? Thanks -- There is no internal function to convert to integer, but the following will do it: (define (floor x) (- x (fmod x 1))) ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Scheme question
On Fri, 2004-10-15 at 16:00, Steve Crane wrote: I have been trying to write some scripts to automate tasks but find that I have some trouble using scheme. Although I am experienced in other languages I find scheme quite difficult to master as I can't seem to find any language references. There are lots of tutorials and samples showing how to create scripts but nothing that I could find that actually describes the language, functions available, etc. http://www.cs.indiana.edu/scheme-repository/imp/siod.html This document describes (well, mostly) the implementation of scheme used in the GIMP. I have found that with this doc and occasional reference to existing scripts I can write my own scripts with no problem. HTH, -- Jeff ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] window sreenshot not working: window larger than screen
Hello, I have a very large window. Under fvwm2 window manager (www.fvwm2.org) this window occupies two virtual screens. So some of the image is offscreen. When I try to capture the image with GIMP 2.0 's screenshot feature the resulting screenshot is chopped off (i.e. there is no offscreen image, alas). What can I do? I wanted to paste the two sides of the window (left and right screenshots) together with the gimp but was not able to do this. Any suggestions? Alternatively, anyone know of any programs which do this offscreen window capture correctly for the time being (until someone fixes it in GIMP)? Thanks, Neil ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Re: My new Howto on batch color correction using script-fu
* olivier ripoll [EMAIL PROTECTED] [10-18-04 03:40]: might be a problem ... Not here on Firefox 1.0PR with Windows XP. ^^^ -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Scheme question
On Monday 18 October 2004 13:45, [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Crane Sent: 16 October 2004 00:01 To: [EMAIL PROTECTED] Subject: [Gimp-user] Scheme question At the moment I am trying to work out how to do integer division. I want to draw guides mapping the rule of thirds and want to ensure that I get an integer result when I divide the image height and width by 3. How would I do this? Thanks -- There is no internal function to convert to integer, but the following will do it: (define (floor x) (- x (fmod x 1))) I may be pushing it too hard...may be going off topic. But I will insist on this subject. I'd like to see more people using gimp python. Getting the integer part of a image width and height would be as complex as: width_3 = image.width / 3 heigth_3 = image.height / 3 where image is an image object passed by ptyhon-fu to every python script that needs an image as a parameter. As both numbers on above opertaions are int, so is the result. Would one need the integer number of a division by 2.5: width_25 = int (image.width / 2.5) Regards, JS -- ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user