Re: [Gimp-developer] GIMP vs Photoshop
Grokking the GIMP is good, but is rather venerable at this point. Two of my favorites are: http://www.amazon.com/Beginning-GIMP-Professional-Akkana-Peck/dp/1430210702/ref=sr_1_2?ie=UTF8qid=1299561503sr=8-2 and http://www.amazon.com/GIMP-2-6-Photographers-Editing-Software/dp/1933952490/ref=sr_1_1?ie=UTF8qid=1299561503sr=8-1 On Mon, Mar 7, 2011 at 12:34 PM, Debi Rapson drap...@mansd.org wrote: Our school system appears to be headed for using GIMP as a way of teaching our students about graphics. Can you point me in the direction of where I would go to get GOOD tutorial information about GIMP so that I can properly teach it? Can you point me in the direction of a list of places that actually use GIMP for photo retouching and graphics creation. We are trying to give our kids real-world skills and we need to be able to point to real places that are using GIMP for photo retouching and graphics resolution. If I am going to teach using this software I need as much ammunition as possible to make this seem exciting and something that the kids will WANT to learn to use. Thank you. Debi Rapson Memorial High School Art Technology Dept 603-624-6378 ___ 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] GIMP won't quit
Your mention of a wrapper made me wonder, what? where? I don't believe there was any such thing in the GIMP 2.0. So I looked in the bin directory and lo and behold! gimp-console-2.6.exe. Apparently now there are separate executables for GUI and console use. Either there weren't before, or the pre-compiled binary distro I used didn't include the console version. I called this from the web page instead of gimp-2.6.exe and problem solved! I think the official GIMP documentation needs to be updated to reflect this. All the same, thanks for sharing your friend's wrapper. I will check it out just in case there are further issues, and it may come in handy for someone else as well! Thanks everyone for taking the time to be so helpful and for the really useful advice. On Tue, Mar 1, 2011 at 8:47 AM, jcup...@gmail.com wrote: On 1 March 2011 16:42, jcup...@gmail.com wrote: So it sounds to me, though I've not checked and this is just a guess, that the Windows wrapper .exe is not terminating correctly in the new gimp. Also, this is from memory of looking into this a few years ago, I've probably messed up the details, argh. Just in case it is the wrapper that's broken, here's the wrapper program I use, written for me by a Windows expert friend: https://github.com/jcupitt/nip2/blob/master/src/nip2-cli.c Perhaps it might be useful. John ___ 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] GIMP won't quit
Thanks for the suggestion. It sounds like that is the best solution. However, not being a programmer myself and not even having the python script they mention (running on Windoze we just download the pre-compiled binaries) I wouldn't have the first clue how to implement a script-fu server in the environment we use. The method of calling it that I mentioned always worked fine with the GIMP 2.2. It was only after the upgrade to 2.6 that it started spawning the extra process and leaving it behind, and I'm not sure what the difference is. So I will look into using the script-fu server solution in the future after I can work out all the how's and so-forth, but for now if anyone knows the inner workings of gimp-quit or why calling gimp.exe from the command line forks two gimp processes I'd sure be grateful for some insight. Thanks. 2011/2/26 Aurimas Juška aurimas.ju...@gmail.com Hi, On Sun, Feb 27, 2011 at 12:15 AM, Roger Penn roger.p...@gmail.com wrote: I'm using the GIMP to create custom graphics on the fly for a CMS by calling the script from the web page through ASP.NET. For what you want to do, Script-fu server should be the best option. See http://docs.gimp.org/en/gimp-filters-script-fu.html (Section 10.6.4. Start Server). ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] GIMP won't quit
Hey all, I know this is more of a user question, but I don't think I'm going to find anyone that's going to be able to answer it other than here. I'm using the GIMP to create custom graphics on the fly for a CMS by calling the script from the web page through ASP.NET. Now, I wouldn't blame anyone for saying, Stop right there. That's your problem. The problem I'm having is that I'm calling the script like this: gimp -i -b myscript -b gimp-quit 0 Immediately upon firing up the script, the Task Manger reports creation of a gimp.exe process. Then it forks another gimp.exe process. This one fires up script-fu.exe, does its thing, dies, and kills the second gimp.exe. However the first one stays running and will not quit. On a server with hundreds of clients creating images with these scripts, within an hour I can be left with a few hundred gimp.exe processes running, which just about takes the server down! So I have two questions: 1) Why is calling the script this way (which, btw, is the way it suggests on http://www.gimp.org/tutorials/Basic_Batch/) firing two gimp.exe processes and only killing one of them? 2) On a server where a hundred of these scripts could be running at one time, how does gimp-quit know which process to kill? Thanks, Roger Penn Ignoramus extrordinaire ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Script baffling
Thanks very much folks. I discovered this by accident when I couldn't figure out why the gimp-hue-saturation wasn't working, and I wasn't sure why moving that fixed it, just that it did. I just wish I knew scheme better, but this kind of getting my fingernails dirty is sure helping! Again, thanks for the very helpful help! On Thu, Feb 24, 2011 at 11:44 PM, saulgo...@flashingtwelve.brickfilms.comwrote: Quoting Kevin Cozens ke...@ve3syb.ca: Roger Penn wrote: The included script worked just fine before upgrading from 2.2 to 2.6. I've [snip] (define (BulletinBoard_Blue_Header inText inFilename) (let* ( (drawable -1) (text inText) (filename inFilename) (gimp-context-set-foreground '(41 11 169)) (img (car (gimp-file-load 1 C:\\userfiles\\admin\\images\\GIMP\\bulletin.gif bulletin.gif))) (gimp-image-convert-rgb img) Your script is calling gimp-image-convert-rgb in the variable bindings part of the let*. It needs to be in the body of the let*. Move the line to just before or after the call to gimp-selection-none. I would add that likewise the script is attempting to call 'gimp-context-set-foreground', 'gimp-hue-saturation' and (conditionally) 'gimp-layer-scale' within the binding block. The actual effect of this is that new, local variables are created and assigned the values of the ensuing expressions. The line that attempts to conditionally call 'gimp-layer-scale' is particularly problematic because it is redefining if (though only for the duration of the let*). ___ 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
[Gimp-developer] Script baffling
Folks, I am at my wit's end. The included script worked just fine before upgrading from 2.2 to 2.6. I've been all through the migration guide, etc. and can't figure out why this script that has always worked fine, now suddenly returns error: Procedure execution of gimp-image-convert-indexed failed on invalid input arguments: Image 'bulletin.gif' (13) is already of type 'indexed' The first thing I do after opening the image is to call (gimp-img-convert-rgb img), which I know works, because the script then proceeds to do all sorts of things that can't be done on an indexed image. So clearly it isn't already of type 'indexed' and something is just plain broken here. Can anyone help please? Thanks! I know the list doesn't like attachments, so I haven't attached the bulletin.gif, but I can if you need it. Script: (define (BulletinBoard_Blue_Header inText inFilename) (let* ( (drawable -1) (text inText) (filename inFilename) (gimp-context-set-foreground '(41 11 169)) (img (car (gimp-file-load 1 C:\\userfiles\\admin\\images\\GIMP\\bulletin.gif bulletin.gif))) (gimp-image-convert-rgb img) (background-layer (car (gimp-image-get-active-drawable img))) (gimp-hue-saturation background-layer 0 -108 0 0) (size 48) (font Inkpen2 Script) (text-layer (car (gimp-text-fontname img -1 0 0 text 0 TRUE size PIXELS font))) (height (car (gimp-drawable-height text-layer))) (width (car (gimp-drawable-width text-layer))) (scale (/ 600 width)) (scale-width (trunc (* width scale))) (scale-height (trunc (* height scale))) (if ( scale 1) (gimp-layer-scale text-layer 600 scale-height 0 0) ) (height (car (gimp-drawable-height text-layer))) (width (car (gimp-drawable-width text-layer))) (theAngle 5) (radians (* theAngle (/ 3.14 -180))) (x-val (/ height 2)) (y-val (/ height 2)) (x-offset (/ (- 650 width) 2)) (y-offset (/ (- 120 height) 2)) (bg-color '(255 255 255)) ) (gimp-selection-none img) (gimp-layer-resize text-layer (+ 10 width) height 10 0) (gimp-layer-set-preserve-trans text-layer TRUE) (gimp-layer-translate text-layer x-offset y-offset) (gimp-drawable-transform-rotate text-layer radians TRUE x-val y-val 0 2 TRUE 3 FALSE) (gimp-selection-none img) (gimp-layer-set-preserve-trans text-layer FALSE) (plug-in-unsharp-mask 1 img text-layer 2 .5 8) (gimp-image-merge-down img text-layer 2) (gimp-image-convert-indexed img NO-DITHER MAKE-PALETTE 255 FALSE 1 ignore) (set! drawable (car (gimp-image-get-active-layer img))) (gimp-file-save 1 img drawable filename filename) )) (script-fu-register BulletinBoard_Blue_Header __BulletinBoard Blue Header Masthead treatment for COL Layout5a_BulletinBoard_Blue Designs Roger Penn Roger Penn 2007 SF-STRING _Text Community Church SF-STRING _File Name C:\\gimppics\\bulletinboard.gif ) (script-fu-menu-register BulletinBoard_Blue_Header _Toolbox/Xtns/Script-Fu/COL) ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer