Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Josef Wolf
On Fr, Aug 02, 2013 at 03:32:55 +1200, Jehan Pagès wrote: You can do it this way. Tested by myself right now and working well: $ gimp-2.9 -i -d -f -s -b `cat script.scm` (simple-unsharp-mask \file.png\ 5.0 0.5 0) -b '(gimp-quit 0)' So basically you could have your small shell script

Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Josef Wolf
On Do, Aug 01, 2013 at 09:44:59 +0200, Ofnuts wrote: For such simple processing, you should consider using ImageMagick. Thanks for the pointer, Ofnuts! I am currently using IM. But my processing got so complicated, including various levels of quoting through muiltiple levels of schell scripts.

Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Maurizio Loreti
IMHO, the best candidate for these repetitive jobs is ImageMagick - as suggested before by ofnuts. Or with a shell script invoking convert (as shown in the example) or (if you have some programming experience) with a simple C program using the Magick shared library. In this way i wrote a simple

Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Josef Wolf
On Fr, Aug 02, 2013 at 10:56:14 +0200, Maurizio Loreti wrote: IMHO, the best candidate for these repetitive jobs is ImageMagick - as suggested before by ofnuts. I agree with this -- as long as your operations are simple. But when your operations get more complex and involve things like like

Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Maurizio Loreti
On Fri, Aug 2, 2013 at 2:22 PM, Paul Cartwright pbcartwri...@gmail.comwrote: On 08/02/2013 04:56 AM, Maurizio Loreti wrote: I would be interested in a script that does resizing.. I do that on most of my images to send in email add to web pages.. Sometimes I use my Samsung Galaxy camera,

Re: [Gimp-user] EXIF support in latest Gimp

2013-08-02 Thread Maxim Cournoyer
I have come with the following workaround for pictures tagged as Adobe RGB which comes without an embedded profile: I apply the profile manually using imagemagick. The command boils down to this: convert _DSF2455.JPG -profile /usr/share/color/icc/colord/AdobeRGB1998.icc _DSF2455_with_profile.JPG

Re: [Gimp-user] EXIF support in latest Gimp

2013-08-02 Thread Partha Bagchi
If your gimp is built with exif support, you should not need to do this. When I open an image with an embedded Adobe RGB, Gimp will recognize it and offer to convert to sRGB. On Fri, Aug 2, 2013 at 12:01 PM, Maxim Cournoyer maxim.courno...@gmail.comwrote: I have come with the following

Re: [Gimp-user] EXIF support in latest Gimp

2013-08-02 Thread Maxim Cournoyer
When I open an image with an embedded Adobe RGB, Gimp will recognize it and offer to convert to sRGB. My camera merely tags the colorspace by setting the Interoperability Index tag to R03 (Adobe RGB) in the exif. It does _not_ embed the profile in the jpeg. Only Geeqie image viewer seems to

Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Ofnuts
On 08/02/2013 10:47 AM, Josef Wolf wrote: On Do, Aug 01, 2013 at 09:44:59 +0200, Ofnuts wrote: For such simple processing, you should consider using ImageMagick. Thanks for the pointer, Ofnuts! I am currently using IM. But my processing got so complicated, including various levels of quoting

Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Ofnuts
On 08/02/2013 02:22 PM, Paul Cartwright wrote: I would be interested in a script that does resizing.. I do that on most of my images to send in email add to web pages.. Sometimes I use my Samsung Galaxy camera, other times my Nikon raw images.. I'm pretty good with shell scripts, if I have a

[Gimp-user] bounds of selection outside a image

2013-08-02 Thread Tetsuya YUASA
Hello, I want to crop several images in same aspect ratio. So I checked Fixed option and set proper values in tool box. And sometimes I want to complement image with background color if selection is larger than original size. I this case, I add a larger layer bottom of the image and crop it.

Re: [Gimp-user] bounds of selection outside a image

2013-08-02 Thread Ofnuts
On 08/02/2013 04:28 AM, Tetsuya YUASA wrote: Hello, I want to crop several images in same aspect ratio. So I checked Fixed option and set proper values in tool box. And sometimes I want to complement image with background color if selection is larger than original size. I this case, I add a

Re: [Gimp-user] batch mode in gimp?

2013-08-02 Thread Brendan Scott
On 08/03/2013 04:18 AM, Ofnuts wrote: On 08/02/2013 10:47 AM, Josef Wolf wrote: On Do, Aug 01, 2013 at 09:44:59 +0200, Ofnuts wrote: [] I have a strong feeling that it is time for me to switch to a real, reliable programming language, which script-fu would be (so I hope). At the risk of

[Gimp-user] The code for layer blending modes.

2013-08-02 Thread Sumdag
It's the first time I check GIMP's source code and I've been trying to find the file(s) where the layers blending mode formulas are coded. The GIMP version I have right now is 2.8.2 (the git version of gegl didn't compile here). I found blending modes code on these files but modifying any of them