Re: [Gimp-user] batch mode in gimp?
On Sa, Aug 03, 2013 at 12:21:54 -0400, Kevin Cozens wrote: > >Granted, it would be nice if GIMP included a more powerful Lisp (such as > >ECL, Embeddable Common Lisp), but Script-Fu's Tinyscheme is surprisingly > >fun to program in. > > There have been discussions where people have said GIMP should use a > more complete Scheme implementation. Guile was mentioned in > particular in those discussions. SF has tried to stay small by using > a small Scheme interpreter. It let's you automate tasks in GIMP and > you can do some reasonably complex tasks. However, it does have its > limitations and there are times when a more full featured > programming language is useful. To that end, there other language > bindings available one can use. Probably I mis-understand some important aspects. But for me it seems that embedding a language into gimp is doomed to deliver suboptimal functionality. IMHO, the better way would be to provide libraries that can be used by any language. That way one could combine the functionality offered by the library with any other functionality that is offered by the language of choice. -- Josef Wolf j...@raven.inka.de ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Blending 2 images into 1
My hobby, if it can be called that, is creating comic images of individuals by combining two unrelated images into one. EXAMPLE: Placing the head of my brother-in-law on the body of Quasimodo (the Hunchback of Notre Dame). I'm totally new with GIMP and I've figured out a good bit, such as using the magnetic lasso to copy-paste a selection from one image into another, but I can't figure out how to match skin tones and resolutions so the result appears to be a single image. At best, I can get close but not at all close enough. Can somebody point me in the right direction, at least to identify the tools I should be using? I'm by no means a techie, so please be gentle with me :-) Thanks! -- pfaoro (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] Blending 2 images into 1
I think one of the first things to check out is the Colors menu on the top file bar. There are lots of options: Color Balance (changes c, m, y in midtones, highlights, and shadows) Hue-Saturation (you can shift around the colors in a selection) Colorize (Makes everything different shades of a single color--can create a sepia effect, for example) Brightness-Contrast Threshold (makes everything either black or white) Levels Curves The last two options are REALLY useful for fine-tuned changes, but they can be kind of difficult to understand. Just play around with them and you'll get the hang of it. Good luck! On Mon, Aug 5, 2013 at 12:20 PM, pfaoro wrote: > My hobby, if it can be called that, is creating comic images of > individuals by > combining two unrelated images into one. EXAMPLE: Placing the head of my > brother-in-law on the body of Quasimodo (the Hunchback of Notre Dame). > > I'm totally new with GIMP and I've figured out a good bit, such as using > the > magnetic lasso to copy-paste a selection from one image into another, but > I > can't figure out how to match skin tones and resolutions so the result > appears > to be a single image. At best, I can get close but not at all close > enough. > > Can somebody point me in the right direction, at least to identify the > tools I > should be using? > > I'm by no means a techie, so please be gentle with me :-) > > Thanks! > > -- > pfaoro (via www.gimpusers.com/forums) > ___ > gimp-user-list mailing list > List address:gimp-user-list@gnome.org > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] XCF to PDF problems with font
On Sun, Aug 04, 2013 at 01:57:19PM +0200, alex_g wrote: > Thanks for the tip will try it out. Scribus is a sort of Illustrator? > > Thanks again and best regards > Alex > > >---end quoted text--- > > > >First of all, don't use the GIMP for creating a brochure. Use a page > >layout application. Scribus will do just nicely. > > > >The proper tool for the job will make your life much easier. Just use > >GIMP for images NOT layout. ---end quoted text--- No, Scribus is more like PageMaker, an earlier Adobe Page Layout Application before they introduced us to InDesign. The open source eqivalent to Illustrator is Inkspot. Anyway like anything; you gotta use the right tool, if one wants good results. ;) -- Cheers, Stephen, Toronto My Google+ Profile | http://goo.gl/JbQsq ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] XCF to PDF problems with font
On Mon, Aug 5, 2013 at 6:19 AM, Stephen Allen wrote: > The open source eqivalent to Illustrator is Inkspot. I think you mean 'Inkscape' here, no? Chris ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] Blending 2 images into 1
This might be helpful in getting a handle on curves and blending (skin) tones: http://blog.patdavid.net/2012/07/getting-around-in-gimp-more-color.html If you need an intro, there's also this: http://blog.patdavid.net/2012/06/getting-around-in-gimp-color-curves.html On Mon, Aug 5, 2013 at 1:05 PM, Madeleine Fisher wrote: > I think one of the first things to check out is the Colors menu on the top > file bar. There are lots of options: > > Color Balance (changes c, m, y in midtones, highlights, and shadows) > Hue-Saturation (you can shift around the colors in a selection) > Colorize (Makes everything different shades of a single color--can create a > sepia effect, for example) > Brightness-Contrast > Threshold (makes everything either black or white) > Levels > Curves > > The last two options are REALLY useful for fine-tuned changes, but they can > be kind of difficult to understand. Just play around with them and you'll > get the hang of it. > > Good luck! > > > On Mon, Aug 5, 2013 at 12:20 PM, pfaoro wrote: > > > My hobby, if it can be called that, is creating comic images of > > individuals by > > combining two unrelated images into one. EXAMPLE: Placing the head of > my > > brother-in-law on the body of Quasimodo (the Hunchback of Notre Dame). > > > > I'm totally new with GIMP and I've figured out a good bit, such as using > > the > > magnetic lasso to copy-paste a selection from one image into another, > but > > I > > can't figure out how to match skin tones and resolutions so the result > > appears > > to be a single image. At best, I can get close but not at all close > > enough. > > > > Can somebody point me in the right direction, at least to identify the > > tools I > > should be using? > > > > I'm by no means a techie, so please be gentle with me :-) > > > > Thanks! > > > > -- > > pfaoro (via www.gimpusers.com/forums) > > ___ > > gimp-user-list mailing list > > List address:gimp-user-list@gnome.org > > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > > > ___ > gimp-user-list mailing list > List address:gimp-user-list@gnome.org > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > -- pat david http://blog.patdavid.net ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Q: Batch script adding alpha mask problem
Hi, I'm new at GIMP scripting. My task is to do a batch processing over an folder with images. Iwant to add an alpha layer to every image (png). The alpha layer is from a static second image (bmp). I can accomplish the task in the GIMP frontend manually, but the exactly same steps in my script aren't working. What am I doing wrong? Here's the script: (define (script-fu-batch-alpha-add globalpha globpics) (let* ((filelist (cadr (file-glob globpics 1))) (filealpha (car(cadr (file-glob globalpha 1 (imgalpha (car (gimp-file-load RUN-NONINTERACTIVE filealpha filealpha))) (drawablealpha (car (gimp-image-get-active-layer imgalpha))) ) (gimp-selection-all imgalpha) ;copy my static alpha image (gimp-edit-copy drawablealpha) ; to buffer and reuse it with every image (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image))) (mask (car (gimp-layer-create-mask drawable 2))) ) ; add an alpha channel layer mask (gimp-image-undo-disable image) (gimp-layer-add-mask drawable mask) (gimp-layer-set-edit-mask drawable 1) (gimp-layer-set-show-mask drawable 0) (gimp-layer-set-apply-mask drawable 1) (gimp-edit-paste drawable 1); paste static alpha image to layer mask (WHICH IS NOT WORKING in BATCH ) (file-png-save-defaults RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist ) ; register (script-fu-register "script-fu-batch-alpha-add" Thanks for your help... -- spiderman (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Q: Batch script adding alpha mask problem
>Hi, > >I'm new at GIMP scripting. My task is to do a batch processing over an >folder with images. Iwant to add an alpha layer to every image (png). >The alpha layer is from a static second image (bmp). > >I can accomplish the task in the GIMP frontend manually, but the >exactly same steps in my script aren't working. >What am I doing wrong? > >Here's the script: > >(define (script-fu-batch-alpha-add globalpha globpics) > (let* ((filelist (cadr (file-glob globpics 1))) >(filealpha (car(cadr (file-glob globalpha 1 >(imgalpha (car (gimp-file-load RUN-NONINTERACTIVE > filealpha filealpha))) > (drawablealpha (car (gimp-image-get-active-layer imgalpha))) > > > > ) > (gimp-selection-all imgalpha) ;copy my static alpha image >(gimp-edit-copy drawablealpha) ; to buffer and reuse it with every >image > >(while (not (null? filelist)) > (let* ((filename (car filelist)) > (image (car (gimp-file-load RUN-NONINTERACTIVE > filename filename))) >(drawable (car (gimp-image-get-active-layer image))) > (mask (car (gimp-layer-create-mask drawable > 2))) > ) ; add an alpha channel layer mask > (gimp-image-undo-disable image) > (gimp-layer-add-mask drawable mask) > (gimp-layer-set-edit-mask drawable 1) > (gimp-layer-set-show-mask drawable 0) > (gimp-layer-set-apply-mask drawable 1) >(gimp-edit-paste drawable 1) ; paste static alpha image to >layer mask (WHICH IS NOT WORKING in BATCH ) > (file-png-save-defaults RUN-NONINTERACTIVE > image drawable filename filename) > (gimp-image-delete image)) > (set! filelist (cdr filelist >) > >; register >(script-fu-register "script-fu-batch-alpha-add" > >Thanks for your help... -- spiderman (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Q: Batch script adding alpha mask problem
(define (script-fu-batch-alpha-add globalpha globpics) (let* ((filelist (cadr (file-glob globpics 1))) (filealpha (car(cadr (file-glob globalpha 1 (imgalpha (car (gimp-file-load RUN-NONINTERACTIVE filealpha filealpha))) (drawablealpha (car (gimp-image-get-active-layer imgalpha))) ) (gimp-selection-all imgalpha) ;copy my static alpha image (gimp-edit-copy drawablealpha) ; to buffer and reuse it with every image (while (not (null? filelist)) (let* ((filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image))) (mask (car (gimp-layer-create-mask drawable 2))) ) ; add an alpha channel layer mask (gimp-image-undo-disable image) (gimp-layer-add-mask drawable mask) (gimp-layer-set-edit-mask drawable 1) (gimp-layer-set-show-mask drawable 0) (gimp-layer-set-apply-mask drawable 1) (gimp-edit-paste drawable 1); paste static alpha image to layer mask (WHICH IS NOT WORKING in BATCH ) (file-png-save-defaults RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist ) ; register (script-fu-register "script-fu-batch-alpha-add" -- spiderman (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] Q: Batch script adding alpha mask problem
On 05.08.2013 21:16, spiderman wrote: [the same(?) script for the third time] Are there supposed to be any differences between those scripts? -- Regards, Michael ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Q: Batch script adding alpha mask problem
>[the same(?) script for the third time] > >Are there supposed to be any differences between those scripts? sorry, it was just to get a good formating for readability. I forgot to say, that the scipt runs without errors. Images are processed, but no alpha channel is applied. Regards... -- spiderman (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Question On Gimp
Okay I am no computer wiz! I just want to take an image of a military dog tag and an image of a sniper and make the sniper image fit the shape of the dog tag and for the life of me can't figure out if Gimp even does this. Can you please advise me if it does and how? ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] Q: Batch script adding alpha mask problem
On 13-08-05 03:11 PM, spiderman wrote: I'm new at GIMP scripting. My task is to do a batch processing over an folder with images. I want to add an alpha layer to every image (png). The alpha layer is from a static second image (bmp). I had to add an alpha mask to 22 images. I just used ImageMagick as it was easy to do that way and saved the need to write a script. I've only looked briefly at your script. Nothing obvious jumps out at me. I'd look at the return values from the function calls. Some operations can change the ID's of layers or drawables and you need to use the new ID's for later operations. I don't see why you used file globbing to get the alpha mask image. BTW, you can combine car and cadr in to one operation. In Script-Fu scripts you can have up to four letters between c and r for things like car, cadr, up all variations from cr to cr. -- Cheers! Kevin. http://www.ve3syb.ca/ |"Nerds make the shiny things that distract Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're | powerful!" #include | --Chris Hardwick ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Q: Batch script adding alpha mask problem
Thank you Kevin, just downloaded Imagemagick for Windows and my task is done with a single command :-) Found it here: http://stackoverflow.com/questions/5647840/how-to-combine-rgb-image-and-8-bit-alpha-image-into-single-png-file-with-imagema My efforts with gimp referred to this post: http://graphicdesign.stackexchange.com/questions/8397/gimp-using-an-image-as-the-transparency-layer-of-another-image Greetings... -- spiderman (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] Blending 2 images into 1
My sincere thanks to all of you! I think I've got a handle on it now. :-) >This might be helpful in getting a handle on curves and blending >(skin) >tones: >http://blog.patdavid.net/2012/07/getting-around-in-gimp-more-color.html > >If you need an intro, there's also this: >http://blog.patdavid.net/2012/06/getting-around-in-gimp-color-curves.html > > >On Mon, Aug 5, 2013 at 1:05 PM, Madeleine Fisher >wrote: -- pfaoro (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list