Re: [Gimp-user] Scaling a foto

2009-08-17 Thread David Herman
On Monday 17 August 2009, Monika Himpelmann wrote:
> Dear all,
> I have a question and maybe it is easy to answer and has been
> answered before although I didn't find it in the FAQ's.
>
> When I try to scale a foto in order to get it passport photo size
> it looses quality. The fotos I want to scale are of good quality
> but too large and are showing not only the head and upper chest
> of people but often more and so I have to cut them which is
> possible without any problem and then scale them in the format I
> need.
>
> I would understand the loss in quality if I would try to enlarge
> the fotos but making them smaller in size should not make them
> loose quality???

Sorry if I cover ground that has already been trod.
I haven't had time to follow the discussion before now
My take:

scaling an image to a smaller size forces the program to interpret a 
group of pixels as a single color/pixel which leads to blockiness 
and lost quality.

If I were trying to reduce the size of an image while preserving 
definition I would look at changing its resolution 
ie from 72pix x 72pix to 288pix x 288pix, reducing the images 
apparant size (to 1/4 the starting size)  while keeping all the 
pixel information. This could be done at the time of printing 
(setting the printer resolution) or within gimp.

If I am in error please let me know

HTH


-- 
dh
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scaling a foto

2009-08-17 Thread Chris Mohler
On Mon, Aug 17, 2009 at 10:33 AM, Monika Himpelmann wrote:

> I would understand the loss in quality if I would try to enlarge the fotos
> but making them smaller in size should not make them loose quality???
>
> Any hints from you out there?
> Thank you in advance for any answer.

Are the images in RGB mode?  (Image->Mode->RGB)  Scaling indexed
images can cause problems...

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scaling a foto

2009-08-17 Thread Jay Smith
On 08/17/2009 06:38 PM, Patrick Horgan wrote:
> Jay Smith wrote:
>> Monika,
>>
>> I agree that it does not make sense to loose quality when scaling smaller.
>>   
> I'm confused I think.  Isn't scaling smaller an inherently lossy 
> process?  If there's information in a section that's 20 bits across and 
> it gets reduced to 5 bits across it isn't possible to still contain the 
> same information, is it?
> 
> Patrick

As you state it, my understanding is, yes.  Scaling smaller is a "lossy
process".  But at higher compression (more lossy) settings, JPEGs can be
extremely lossy.  Hopefully, however, when scaling smaller, there is
adequate data in the image to not result in actual visible loss of
quality in the image (other than it is smaller, etc.).

However, my point was that if the user is one who, perhaps simply out of
habit, saves every time they do anything, a JPEG can be turned from
sharp and clear into visual mush after just a few saves.

Back in the days when I was using Photoshop on Windows 95 on a 128 MB
memory machine, I _did_ save every time I did anything simply because
Windoze was going to crash -- it was not a question of IF it was going
to crash, it was only a matter of WHEN.  (But... I was editing TIFFs,
not JPEGs, so there was no "lossyness".)

Jay

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Patrick Horgan




In my link to the selection tutorial I should have given credit to
Akkana Peck whose tutorial it is, and noted that her book:  Beginning
GIMP: from novice to professional ROCKS  And also she helps
people out here all the time and deserves a lot of credit for being
such a good citizen of the net.

Patrick



___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Patrick Horgan




Sven Neumann wrote:

  Hi,

On Mon, 2009-08-17 at 22:36 +0300, Dotan Cohen wrote:

  
  
When I do that, as soon as I finish making the second selection (after
the pan) I loose the first selection.

  
  
There's always only one selection. Creating a selection will replace the
current one. That has nothing to do with panning. If you want to add to
an existing selection, then choose the Add mode from the tool options of
the selection tool. Or use the modifier keys (as hinted in the
status-bar).
  

If you're trying to use the lasso it's frustrating like that, you have
to do the whole thing in one complex wack.  If instead you use the path
tool you can keep adding the points to the path, edit them when you
make a mistake, scroll the image around all you want, and then when you
have it perfect convert the path the a selection.  I think it's MUCH
easier than the lasso.  Here's a great tutorial on this,
http://mailman.linuxchix.org/pipermail/courses/2005-March/001821.html.

Patrick

  

Sven


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

  





___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scaling a foto

2009-08-17 Thread Patrick Horgan
Jay Smith wrote:
> Monika,
>
> I agree that it does not make sense to loose quality when scaling smaller.
>   
I'm confused I think.  Isn't scaling smaller an inherently lossy 
process?  If there's information in a section that's 20 bits across and 
it gets reduced to 5 bits across it isn't possible to still contain the 
same information, is it?

Patrick

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp 2.2.17 Crash During File/Open.

2009-08-17 Thread Steven M. Dodier




Update on this issue.  

If I type "dbus-launch ", gimp launches and the
file/open works fine.  Can anyone tell me if dbus was implimented in
this new 2.2.17 version, or what exactly dbus does that gimp needs?

Martin Cracauer wrote:

  Steven M. Dodier wrote on Mon, Aug 03, 2009 at 07:32:21AM -0600: 
  
  
Hello,

Hoping someone can help resolve this problem.  I have done searches of 
archives and web sites without much luck.  I know this version is a 
little old, but I don't have any  control over updating the 
installation.  My problem is related to gimp (2.2.17).  I can start gimp 
from an nfs export with no problems.  I get the GUI, but when I select 
file/open, the application crashes with the following error:

  
  
I had the same problem, some GIMP versions (but not others) would
crash when using the File open menu.

I solved it by deleting the appropriate *.so in that GNOME dir.  In
fact I had two similar segfault crashes and moved two *.so.

Here's what got moved:
/usr/lib/gstreamer-0.10-inactive:
libgstvideomixer.so

/usr/lib/inactive:
libtrackerclient.so.0@  libtrackerclient.so.0.0.0

Note that the gstream and other dirs are searched recursively, you
need to move things outside, it is not sufficient to just
mkdir inactive  && mv offender.so inactive/.
in that dir.

Martin
  



___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Sven Neumann
Hi,

On Mon, 2009-08-17 at 22:36 +0300, Dotan Cohen wrote:

> When I do that, as soon as I finish making the second selection (after
> the pan) I loose the first selection.

There's always only one selection. Creating a selection will replace the
current one. That has nothing to do with panning. If you want to add to
an existing selection, then choose the Add mode from the tool options of
the selection tool. Or use the modifier keys (as hinted in the
status-bar).


Sven


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scaling a foto

2009-08-17 Thread Jay Smith
On 08/17/2009 11:33 AM, Monika Himpelmann wrote:
> Dear all,
> I have a question and maybe it is easy to answer and has been answered
> before although I didn't find it in the FAQ's.
> 
> When I try to scale a foto in order to get it passport photo size it
> looses quality. The fotos I want to scale are of good quality but too
> large and are showing not only the head and upper chest of people but
> often more and so I have to cut them which is possible without any
> problem and then scale them in the format I need.
> 
> I would understand the loss in quality if I would try to enlarge the
> fotos but making them smaller in size should not make them loose quality???
> 
> Any hints from you out there?
> Thank you in advance for any answer.
> 
> Best wishes
> Monika

Monika,

I agree that it does not make sense to loose quality when scaling smaller.

The only thing I can think of is that if the photos are JPEG / JPG (or
some other "lossy" format then, *EVERY* time a photo is saved it looses
quality.  If somehow in the process you are saving it multiple times,
then you might loose quite a bit of quality.

With JPEG (that you want to keep as JPEG) that best method is probably
to make a copy of the file and then open the copy in Gimp.  Do all your
work on it (scaling, cropping, etc.) WITHOUT doing any saving until you
are DONE.  Then save it.  When you do that "save", select the highest
possible quality setting.

If in the future you have to open the file for some reason (for example,
printing) do NOT save it again in the process of closing it (unless you
have specifically made some change that you really intend to save -- but
understand you will lose some quality.

If that is not the problem, then the situation really does sound odd.

Jay
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Dotan Cohen
2009/8/17 Sven Neumann :
> Hi,
>
> On Mon, 2009-08-17 at 22:36 +0300, Dotan Cohen wrote:
>> > Let go, pan using either MMB or space, then continue making the
>> > selection.  There's no penalty for releasing LMB early :)
>> >
>>
>> When I do that, as soon as I finish making the second selection (after
>> the pan) I loose the first selection.
>
> Are you using GIMP 2.6 or are you for whatever reason stuck to an older
> version?
>

GIMP 2.6.6


-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Sven Neumann
Hi,

On Mon, 2009-08-17 at 22:36 +0300, Dotan Cohen wrote:
> > Let go, pan using either MMB or space, then continue making the
> > selection.  There's no penalty for releasing LMB early :)
> >
> 
> When I do that, as soon as I finish making the second selection (after
> the pan) I loose the first selection.

Are you using GIMP 2.6 or are you for whatever reason stuck to an older
version?


Sven


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Dotan Cohen
> Let go, pan using either MMB or space, then continue making the
> selection.  There's no penalty for releasing LMB early :)
>

When I do that, as soon as I finish making the second selection (after
the pan) I loose the first selection.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scaling a foto

2009-08-17 Thread Erik Lotspeich
Hi Monika,

I haven't experienced a loss in quality with scaling photos smaller; as
you mentioned, loss of quality will occur with enlargements.

Are you scaling before you crop the photos?  How are you scaling (I
scale with Image->Scale Image).  What are your original & target sizes?

Regards,

Erik.

Monika Himpelmann wrote:
> Dear all,
> I have a question and maybe it is easy to answer and has been answered
> before although I didn't find it in the FAQ's.
> 
> When I try to scale a foto in order to get it passport photo size it
> looses quality. The fotos I want to scale are of good quality but too
> large and are showing not only the head and upper chest of people but
> often more and so I have to cut them which is possible without any
> problem and then scale them in the format I need.
> 
> I would understand the loss in quality if I would try to enlarge the
> fotos but making them smaller in size should not make them loose quality???
> 
> Any hints from you out there?
> Thank you in advance for any answer.
> 
> Best wishes
> Monika
> 
> 
> 
> 
> 
> ___
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Chris Mohler
On Mon, Aug 17, 2009 at 2:21 PM, Dotan Cohen wrote:
> 2009/8/17 Chris Mohler :
>> On Mon, Aug 17, 2009 at 10:05 AM, Dotan Cohen wrote:
>>> When I am selecting an area with the freehand select tool, how can I
>>> move the image shown? I need to select an area that is larger than my
>>> screen size. Zooming out is not an option because I need the precision
>>> that zoom gives me. Thanks.
>>
>> Try middle-mouse or space bar...
>>
>
> Thanks, Chris, but what I am looking for is a way to pan while
> selecting. As I cannot release the left mouse button (I have not
> selected all that I need to select) I need to pan with it depressed.

Let go, pan using either MMB or space, then continue making the
selection.  There's no penalty for releasing LMB early :)

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Magic-lasso tool?

2009-08-17 Thread Dotan Cohen
> Try the scissors tool?  I also make frequent use of the 'select by
> color' tool...
>

The select by colour tools was having trouble with this spot, but
magic scissors works great. Thanks!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Dotan Cohen
2009/8/17 Chris Mohler :
> On Mon, Aug 17, 2009 at 10:05 AM, Dotan Cohen wrote:
>> When I am selecting an area with the freehand select tool, how can I
>> move the image shown? I need to select an area that is larger than my
>> screen size. Zooming out is not an option because I need the precision
>> that zoom gives me. Thanks.
>
> Try middle-mouse or space bar...
>

Thanks, Chris, but what I am looking for is a way to pan while
selecting. As I cannot release the left mouse button (I have not
selected all that I need to select) I need to pan with it depressed.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch processing resizing images

2009-08-17 Thread Sven Neumann
Hi,

On Mon, 2009-08-17 at 20:27 +0200, Eric van Oorschot wrote:

> How do I batch process files in gimp and resize the images while keeping
> the aspect ratio of the original file. I modified the batch processing
> example on the Gimp web pages, but it just doesn't work.

It would help a lot if you told us what exactly does not work.


Sven


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Batch processing resizing images

2009-08-17 Thread Eric van Oorschot
Probably an old question, but since I am new to this list I just post it.
How do I batch process files in gimp and resize the images while keeping
the aspect ratio of the original file. I modified the batch processing
example on the Gimp web pages, but it just doesn't work.
I have included the modified script below. As you can see I try to
resize the images to a maximum size of 1920x1200px.


(define (batch-unsharp-mask pattern
  radius
  amount
  threshold)
  (let* ((filelist (cadr (file-glob pattern 1
(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)))
  (width (car(gimp-image-width image)))
  (height (car(gimp-image-height image)))
  (scale min( (/ 1920 width) (/ 1200 height)))
  (xsize (* scale width))
  (ysize (* scale height)))
 (plug-in-unsharp-mask RUN-NONINTERACTIVE
   image drawable radius amount threshold)
 (gimp-image-scale image (floor xsize) (floor ysize))
 (gimp-file-save RUN-NONINTERACTIVE
 image drawable filename filename)
 (gimp-image-delete image))
   (set! filelist (cdr filelist)


-- 


Kind regards / Vriendelijke groeten,


Eric van Oorschot
Prinsenbeek
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Scaling a foto

2009-08-17 Thread Monika Himpelmann
Dear all,
I have a question and maybe it is easy to answer and has been answered before 
although I didn't find it in the FAQ's.

When I try to scale a foto in order to get it passport photo size it looses 
quality. The fotos I want to scale are of good quality but too large and are 
showing not only the head and upper chest of people but often more and so I 
have to cut them which is possible without any problem and then scale them in 
the format I need.

I would understand the loss in quality if I would try to enlarge the fotos but 
making them smaller in size should not make them loose quality???

Any hints from you out there?
Thank you in advance for any answer.

Best wishes
Monika




  ___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Magic-lasso tool?

2009-08-17 Thread Daniel Hornung
On Monday 17 August 2009, Dotan Cohen wrote:
> I have last used an image editing program several years ago, I think
> it was photoshop. It had a magic-lasso tool that would snap to areas
> of different colour

GIMP has magic scissors instead of lassos :)


signature.asc
Description: This is a digitally signed message part.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Daniel Hornung
On Monday 17 August 2009, Dotan Cohen wrote:
> When I am selecting an area with the freehand select tool, how can I
> move the image shown?

Hello Dotan,

try pressing the space bar.  Then the mouse should move (or more 
specifically "pan") your view of the image when no mouse button is pressed.  
I think that this is what you want :)  But maybe the navigator in the bottom 
right corner of the image window works better for you.  Just try them out.

Daniel


signature.asc
Description: This is a digitally signed message part.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Magic-lasso tool?

2009-08-17 Thread Chris Mohler
On Mon, Aug 17, 2009 at 10:07 AM, Dotan Cohen wrote:
> I have last used an image editing program several years ago, I think
> it was photoshop. It had a magic-lasso tool that would snap to areas
> of different colour, and make selecting objects very easy. Does gimp
> not have such a tool? I cannot find it. Thanks.

Try the scissors tool?  I also make frequent use of the 'select by
color' tool...

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to move image when selecting?

2009-08-17 Thread Chris Mohler
On Mon, Aug 17, 2009 at 10:05 AM, Dotan Cohen wrote:
> When I am selecting an area with the freehand select tool, how can I
> move the image shown? I need to select an area that is larger than my
> screen size. Zooming out is not an option because I need the precision
> that zoom gives me. Thanks.

Try middle-mouse or space bar...

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Magic-lasso tool?

2009-08-17 Thread Dotan Cohen
I have last used an image editing program several years ago, I think
it was photoshop. It had a magic-lasso tool that would snap to areas
of different colour, and make selecting objects very easy. Does gimp
not have such a tool? I cannot find it. Thanks.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] How to move image when selecting?

2009-08-17 Thread Dotan Cohen
When I am selecting an area with the freehand select tool, how can I
move the image shown? I need to select an area that is larger than my
screen size. Zooming out is not an option because I need the precision
that zoom gives me. Thanks.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script to change opacity of a layer

2009-08-17 Thread Simon Budig
professor (for...@gimpusers.com) wrote:
> I need a script that changes the opacity of a layer and then saves the whole
> image as a PNG file. So I wrote the following script:
> 
> #!/bin/sh
> 
> gimp -i -b - < (
> let* ((image (car (gimp-file-load 1 "test.xcf" "test.xcf")))
>(drawable (car (gimp-image-get-active-layer 1
> 
> (gimp-layer-set-opacity drawable 50)
> 
> (let* ((new-layer (car (gimp-image-merge-visible-layers image
> EXPAND-AS-NECESSARY)
> 
> (gimp-file-save RUN-NONINTERACTIVE image new-layer "test-40.png"
> "test-40.png")
> (gimp-quit 0)
> )
> 
> However, an error message appears saying "error: eval: unbound variable
> new-layer".
> 
> So what am I doing wrong here?

Variables declared with a let or a let* block are only valid *inside*
the block. So basically your additional let* block has no real effect in
terms of variables, since you close it immediately again (It does have
the side effect of merging the visible layers).

I would probably do it like this:

  (let* ((image (car (gimp-file-load 1 "test.xcf" "test.xcf")))
 (drawable (car (gimp-image-get-active-layer 1)))
 (new-layer 0))
  
(gimp-layer-set-opacity drawable 50)
(set! new-layer (car (gimp-image-merge-visible-layers image 
EXPAND-AS-NECESSARY)))
  
(gimp-file-save RUN-NONINTERACTIVE image new-layer "test-40.png" 
"test-40.png")
(gimp-quit 0)
  )

If you want to avoid the set! (it is kind of frowned upon, but
frequently makes the code easier to read and handle), you could do it
like this:
  

  (let* ((image (car (gimp-file-load 1 "test.xcf" "test.xcf")))
 (drawable (car (gimp-image-get-active-layer 1)))
 (new-layer 0))
  
(gimp-layer-set-opacity drawable 50)
(let* (new-layer (car (gimp-image-merge-visible-layers image 
EXPAND-AS-NECESSARY)))
  (gimp-file-save RUN-NONINTERACTIVE image new-layer "test-40.png" 
"test-40.png")
)
(gimp-quit 0)
  )

Watch how the code is nested here. The new-layer variable goes out of
scope (loses its meaning) after the closing parentheses in the following
line.

Note that this is untested code.

Hope this helps,
Simon
-- 
  si...@budig.de  http://simon.budig.de/
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Script to change opacity of a layer

2009-08-17 Thread professor
Hi,

I need a script that changes the opacity of a layer and then saves the whole
image as a PNG file. So I wrote the following script:

#!/bin/sh

gimp -i -b -