RSS/Atom feed Twitter
Site is read-only, email is disabled

export and save as gif dialogs

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

25 of 25 messages available
Toggle history

Please log in to manage your subscriptions.

export and save as gif dialogs ge 14 Oct 07:54
  export and save as gif dialogs Sven Neumann 14 Oct 08:16
export and save as gif dialogs ge 14 Oct 14:43
export and save as gif dialogs ge 16 Oct 12:27
  export and save as gif dialogs Simon Budig 16 Oct 12:34
  export and save as gif dialogs Sven Neumann 17 Oct 09:06
export and save as gif dialogs ge 16 Oct 14:22
  export and save as gif dialogs eleonora46@gmx.net 18 Oct 23:49
   export and save as gif dialogs Sven Neumann 18 Oct 23:59
    export and save as gif dialogs eleonora46@gmx.net 19 Oct 09:26
     export and save as gif dialogs Sven Neumann 19 Oct 13:15
     export and save as gif dialogs saulgoode@flashingtwelve.brickfilms.com 19 Oct 17:55
      export and save as gif dialogs eleonora46@gmx.net 19 Oct 18:45
       export and save as gif dialogs Sven Neumann 19 Oct 20:30
       export and save as gif dialogs saulgoode@flashingtwelve.brickfilms.com 19 Oct 20:38
        export and save as gif dialogs eleonora46@gmx.net 19 Oct 22:29
         export and save as gif dialogs Sven Neumann 19 Oct 23:04
          export and save as gif dialogs eleonora46@gmx.net 19 Oct 23:28
         export and save as gif dialogs saulgoode@flashingtwelve.brickfilms.com 19 Oct 23:23
          export and save as gif dialogs eleonora46@gmx.net 19 Oct 23:46
           export and save as gif dialogs saulgoode@flashingtwelve.brickfilms.com 20 Oct 04:57
            export and save as gif dialogs eleonora46@gmx.net 20 Oct 09:08
             export and save as gif dialogs saulgoode@flashingtwelve.brickfilms.com 20 Oct 11:44
              export and save as gif dialogs eleonora46@gmx.net 20 Oct 12:29
               export and save as gif dialogs eleonora46@gmx.net 20 Oct 13:36
ge
2008-10-14 07:54:16 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

I have to save parts of images.

I do: 1. select image part using rectangle, ctrl c for put into clipboard 2. insert as new picture (menu, second from left) 3. ctrl-s (save as gif, enter name: name.gif ) 4. answer export with yes
5. answer save as gif with yes.

Since I have to save hundreds of picture parts as new pictures, it is really cumbersome and senseless for me to answer the export and save as gif questions (4 and 5) every time.
Is there a way to configure gimp in order to avoid those two queries?

Any idea to simplify the procedure is welcome.

Thanks, eleonora

Sven Neumann
2008-10-14 08:16:15 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

On Tue, 2008-10-14 at 07:54 +0200, ge wrote:

1. select image part using rectangle, ctrl c for put into clipboard 2. insert as new picture (menu, second from left) 3. ctrl-s (save as gif, enter name: name.gif ) 4. answer export with yes
5. answer save as gif with yes.

Why don't you write yourself a simple script that does steps 2 to 5 and only asks for the filename? Should be doable in a few lines of Python or Script-Fu.

Sven

ge
2008-10-14 14:43:12 UTC (over 16 years ago)

export and save as gif dialogs

Sven,

Thanks for the tip. I'll try to write such a script; I have absolutely no experience with that, but hopefully I'll be able to write that.

THanks, eleonora

Hi,

On Tue, 2008-10-14 at 07:54 +0200, ge wrote:

1. select image part using rectangle, ctrl c for put into clipboard 2. insert as new picture (menu, second from left) 3. ctrl-s (save as gif, enter name: name.gif ) 4. answer export with yes
5. answer save as gif with yes.

Why don't you write yourself a simple script that does steps 2 to 5 and only asks for the filename? Should be doable in a few lines of Python or Script-Fu.

Sven

ge
2008-10-16 12:27:32 UTC (over 16 years ago)

export and save as gif dialogs

It seems to be not possible to write such a script. Why?

I use debian. I do not have gimptool installed, which is part of libgimp2.0-dev, which is not installed on my system. According to documentation gimptool is required for adding gimp scripts.
I asked synaptic, to install it; synaptic says, at least 40 packages had to be deinstalled and reinstalled for this, including kdelibs4-dev and kde-sdk.
I am worried to get my complete system down due to this package, therefore I think, it will be not possible, to write that gimp script.

What do you think?

Thanks, eleonora

On Tue, 2008-10-14 at 07:54 +0200, ge wrote:

1. select image part using rectangle, ctrl c for put into clipboard 2. insert as new picture (menu, second from left) 3. ctrl-s (save as gif, enter name: name.gif ) 4. answer export with yes
5. answer save as gif with yes.

Why don't you write yourself a simple script that does steps 2 to 5 and only asks for the filename? Should be doable in a few lines of Python or Script-Fu.

Sven

Simon Budig
2008-10-16 12:34:43 UTC (over 16 years ago)

export and save as gif dialogs

ge (eleonora46@gmx.net) wrote:

I asked synaptic, to install it; synaptic says, at least 40 packages had to be deinstalled and reinstalled for this, including kdelibs4-dev and kde-sdk.

Ok, that seems a bit messed up - installing libgimp-dev should be painless, but maybe there are some odd version mismatches or whatever.

You're probably right in not trying to install libgimp-dev if it has these consequences. Maybe ask in a forum for your distribution what should be done there...

According to documentation gimptool is required for adding gimp scripts.

It is not required, it has a convenience function for script-fu scripts. You can as well just copy your script-fu-script to ~/.gimp-2.x/scripts/ .

Have fun, Simon

ge
2008-10-16 14:22:33 UTC (over 16 years ago)

export and save as gif dialogs

Thanks, Simon.

I'll try to replace gimptool by some self written script.

THanks, eleonora

ge (eleonora46@gmx.net) wrote:

I asked synaptic, to install it; synaptic says, at least 40 packages had to be deinstalled and reinstalled for this, including kdelibs4-dev and kde-sdk.

Ok, that seems a bit messed up - installing libgimp-dev should be painless, but maybe there are some odd version mismatches or whatever.

You're probably right in not trying to install libgimp-dev if it has these consequences. Maybe ask in a forum for your distribution what should be done there...

According to documentation gimptool is required for adding gimp scripts.

It is not required, it has a convenience function for script-fu scripts. You can as well just copy your script-fu-script to ~/.gimp-2.x/scripts/ . Simon

Sven Neumann
2008-10-17 09:06:48 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

On Thu, 2008-10-16 at 12:27 +0200, ge wrote:

It seems to be not possible to write such a script. Why?

I use debian. I do not have gimptool installed, which is part of libgimp2.0-dev, which is not installed on my system.

You don't need gimptool and you don't need the development package installed. The whole point of a scripting language is that you can write one without installing any additional tools. All you need is a text editor.

According to documentation gimptool is required for adding gimp scripts.

That is bogus. Can you tell us where this written so that it can be fixed?

Sven

eleonora46@gmx.net
2008-10-18 23:49:01 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

I try to write a gimp-fu script to save the current image as a gif. I found a sample script on the web that seems to fit: -------------------------------------------------------- (define (script-fu-glogo-simple2 srcimg dummy filename) (let*
(
(img2 (car (gimp-channel-ops-duplicate srcimg))) (img16 (car (gimp-channel-ops-duplicate srcimg))) (img224 (car (gimp-channel-ops-duplicate srcimg))) (drawa (car (gimp-image-active-drawable srcimg))) (drcol (car (gimp-drawable-color drawa))) )
;
; Set names to the images (debug-info) ;
(gimp-image-set-filename img2 "glogo-bw") (gimp-image-set-filename img16 "glogo-16") (gimp-image-set-filename img224 "glogo-224") ;
; Resize (i.e. scale) them all
;
(gimp-image-scale img2 80 80)
(gimp-image-scale img16 80 80)
(gimp-image-scale img224 80 80)
;
; Convert them to RGB if they are not ;
(if (= drcol 0)
(begin
(gimp-convert-rgb img2)
(gimp-convert-rgb img16)
(gimp-convert-rgb img224)
)
)
;
; Flatten it
;
(gimp-image-flatten img2)
(gimp-image-flatten img16)
(gimp-image-flatten img224)
;
; Now change the palletes
;
(gimp-convert-indexed-palette img2 1 3 0 "") (gimp-convert-indexed-palette img16 1 0 16 "") (gimp-convert-indexed-palette img224 1 0 224 "") ;
; Save it as gifs (not needed anymore) ;
; (file-gif-save 1 img2 (car (gimp-image-active-drawable img2)) ; "/tmp/x-2.gif" "/tmp/x-2.gif" 0 0 0 0) ; (file-gif-save 1 img16 (car (gimp-image-active-drawable img16)) ; "/tmp/x-16.gif" "/tmp/x-16.gif" 0 0 0 0) ; (file-gif-save 1 img224 (car (gimp-image-active-drawable img224)) ; "/tmp/x-224.gif" "/tmp/x-224.gif" 0 0 0 0) ;
; Save it as linux boot logo
;
; (gimp-message (string-append "Debug-Info: img2=" (number->string img2 10) ; " img16=" (number->string img16 10) ; " img224=" (number->string img224 10))) (extension-linux-logo 1 filename
(car (gimp-image-active-drawable img2)) (car (gimp-image-active-drawable img16)) (car (gimp-image-active-drawable img224)) ) ;
; Free the images
;
(gimp-image-delete img2)
(gimp-image-delete img16)
(gimp-image-delete img224)
)
)

(script-fu-register "script-fu-glogo-simple2" "/Script-Fu/Save as Linux Boot Logo2" "Saves any given image as Linux Boot Logo2" "Clifford Wolf"
"Clifford Wolf"
"Aug 1998"
""
SF-IMAGE "Image to Glogo Simple" 0
SF-DRAWABLE "Drawable to Glogo Simple" 0 SF-VALUE "File Name" "/tmp/x.gif"
)
-------------------------------------------------------- (In the script file-gif-save is commented out, it fails at refresh, if not commented out)

However when I run this script I get following error message: Script-Fu error when executing (script-fu-glogo-simple2 35 219 /tmp/x.gif Error: unbound variable (errobj /tmp/x.gif)

I found in the tutorial following hint: http://www.seul.org/~grumbel/gimp/script-fu/script-fu-tut.html ----------------------------------------------------------------------- You might also want to open a directory and open all the images in it. Not even that is possible. The SIOD webpage describes the opendir function, but when you try it in Script-Fu it will not work as many other SIOD function. => (opendir "/")
ERROR: unbound variable (errobj opendir) To solve this you have to work-around this by dumping the directory contents to a file and read that file instead, or you can write a Perl-Fu, Python-Fu or a Gimp Plug-in. ---------------------------------------------------------------------

Does this mean, I will never be able to save any files in script-fu?

I have no chance to use perl or python, because perl needs gimptool, I do not have, and python for gimp tool can not be found on the web.

Thanks in advance for any hint, -eleonora

Sven Neumann
2008-10-18 23:59:35 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

On Sat, 2008-10-18 at 23:49 +0200, eleonora46@gmx.net wrote:

SF-VALUE "File Name" "/tmp/x.gif" )
-------------------------------------------------------- (In the script file-gif-save is commented out, it fails at refresh, if not commented out)

However when I run this script I get following error message: Script-Fu error when executing (script-fu-glogo-simple2 35 219 /tmp/x.gif Error: unbound variable (errobj /tmp/x.gif)

Try to change the script to use SF-STRING, or better yet, SF-FILENAME instead of SF-VALUE for the filename parameter.

Sven

eleonora46@gmx.net
2008-10-19 09:26:57 UTC (over 16 years ago)

export and save as gif dialogs

With SF_STRING or SF_FILENAME the error remains the same. Error: unbound variable (errobj /tmp/x.gif)

-eleonora -------- Original-Nachricht --------

Datum: Sat, 18 Oct 2008 23:59:35 +0200 Von: Sven Neumann
An: eleonora46@gmx.net
CC: gimp-user@lists.XCF.Berkeley.EDU Betreff: Re: [Gimp-user] export and save as gif dialogs

Hi,

On Sat, 2008-10-18 at 23:49 +0200, eleonora46@gmx.net wrote:

SF-VALUE "File Name" "/tmp/x.gif" )
-------------------------------------------------------- (In the script file-gif-save is commented out, it fails at refresh, if not commented out)

However when I run this script I get following error message: Script-Fu error when executing (script-fu-glogo-simple2 35 219

/tmp/x.gif

Error: unbound variable (errobj /tmp/x.gif)

Try to change the script to use SF-STRING, or better yet, SF-FILENAME instead of SF-VALUE for the filename parameter.

Sven

Sven Neumann
2008-10-19 13:15:38 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

On Sun, 2008-10-19 at 09:26 +0200, eleonora46@gmx.net wrote:

With SF_STRING or SF_FILENAME the error remains the same. Error: unbound variable (errobj /tmp/x.gif)

How do you run the script?

Sven

saulgoode@flashingtwelve.brickfilms.com
2008-10-19 17:55:45 UTC (over 16 years ago)

export and save as gif dialogs

Quoting eleonora46@gmx.net:

With SF_STRING or SF_FILENAME the error remains the same. Error: unbound variable (errobj /tmp/x.gif)

Use SF-STRING or SF-FILENAME, not SF_STRING, SF_FILENAME.

If that does not fix your problem then post your script; it is difficult to find bugs when only fragments of code are provided.

eleonora46@gmx.net
2008-10-19 18:45:04 UTC (over 16 years ago)

export and save as gif dialogs

Hello,

I use SF-WHATEVER, I just had a typo in the email. The complete script is my previous email and also attached to this email.

I test by copying the script into /home/en/.gimp-2.2/scripts, and then do a refresh from gimp/Xtns menu.

A reference script copied from /usr/share/gimp/2.0/scripts works perfectly; however not a single scm script does file operations. I suspect, that file operations simply do not work with scm. That what the tutorial implicates.

-eleonora

With SF_STRING or SF_FILENAME the error remains the same. Error: unbound variable (errobj /tmp/x.gif)

Use SF-STRING or SF-FILENAME, not SF_STRING, SF_FILENAME.

If that does not fix your problem then post your script; it is difficult to find bugs when only fragments of code are provided.

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

Sven Neumann
2008-10-19 20:30:13 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

On Sun, 2008-10-19 at 18:45 +0200, eleonora46@gmx.net wrote:

I test by copying the script into /home/en/.gimp-2.2/scripts, and then do a refresh from gimp/Xtns menu.

Does this mean that you are using GIMP 2.2? This is long outdated. In the meantime the Script-Fu interpreter has been completely replaced.

I suspect, that file operations simply do not work with scm. That what the tutorial implicates.

The tutorial is probably about as outdated as your copy of GIMP. File operations do work fine. At least with a recent copy of GIMP. Please do not waste our time and update at least to GIMP 2.4. We can't give any support for older versions.

Sven

saulgoode@flashingtwelve.brickfilms.com
2008-10-19 20:38:56 UTC (over 16 years ago)

export and save as gif dialogs

Quoting eleonora46@gmx.net:

I use SF-WHATEVER, I just had a typo in the email. The complete script is my previous email and also attached to this email.

I did not realize you were trying to use that script exactly; I thought you used it as an example in writing your own script. That script is over 10 years old and written for use with a very early version of GIMP (GIMP is only about 11 years old). It will not work with more recent versions of GIMP because of changes over the past decade. As an example, your script uses the PDB function 'gimp-drawable-color' which is no longer available.

A reference script copied from /usr/share/gimp/2.0/scripts works perfectly; however not a single scm script does file operations. I suspect, that file operations simply do not work with scm. That what the tutorial implicates.

The tutorial you cite is more recent -- it is only about seven years old -- but is still too outdated to be used without compensating for changes that have taken place in the meantime. GIMP now employs a different implementation of the Scheme language interpreter, and the Scheme language itself has evolved over time.

File operations in scripts are typically limited to handling "image" files, but they are present and they do work. In fact, there haven't been many dramatic changes in this area over the years (the problems with your script have nothing to do with its file operations).

If you describe what it is you wish to accomplish, I should be glad to assist in writing a script. For such scripts to be effective, by their very nature they must be customized to match the workflow of the tasks being handled -- once you start making the script flexible enough to handle multiple situations, you end up with a workflow just as involved as performing the steps manually (this is why you don't see many "file operation" scripts being widely distributed).

eleonora46@gmx.net
2008-10-19 22:29:39 UTC (over 16 years ago)

export and save as gif dialogs

If you describe what it is you wish to accomplish, I should be glad to assist in writing a script. For such scripts to be effective, by their very nature they must be customized to match the workflow of the tasks being handled -- once you start making the script flexible enough to handle multiple situations, you end up with a workflow just as involved as performing the steps manually (this is why you don't see many "file operation" scripts being widely distributed).

A generous offer. Thanks in advance. All I need is:
I do not work with layers, just with gif pictures. I select part of a gif picture and put it into clipboard, then create a new gif picture. (2-nd menu column: create new picture). So far everything I do manually.

Now: I'd like to write that new picture into a file I give the name, as a gif file. It should not ask any questions, after it knows the file name, it should write out straighforward the gif file. That's all.

At present I write out hundreds of such little pictures, and at each time after ctrl-s standard gimp asks 2 stupid questions I answer with yes, and that takes a lot of in fact for me useless mouseclicks. I'd like to speed up my procedure by that script.

Thanks a million in advance for your assistance, -eleonora

Sven Neumann
2008-10-19 23:04:08 UTC (over 16 years ago)

export and save as gif dialogs

Hi,

On Sun, 2008-10-19 at 22:29 +0200, eleonora46@gmx.net wrote:

and at each time after ctrl-s standard gimp asks 2 stupid questions I answer with yes, and that takes a lot of in fact for me useless mouseclicks.

You are aware that you can ackknowledge the default settings in these dialogs by pressing the "Enter" key, aren't you?

Sven

saulgoode@flashingtwelve.brickfilms.com
2008-10-19 23:23:43 UTC (over 16 years ago)

export and save as gif dialogs

Quoting eleonora46@gmx.net:

All I need is:
I do not work with layers, just with gif pictures. I select part of a gif picture and put it into clipboard, then create a new gif picture.
(2-nd menu column: create new picture). So far everything I do manually.

Now: I'd like to write that new picture into a file I give the name, as a gif file.
It should not ask any questions, after it knows the file name, it should write out straighforward the gif file. That's all.

#1. Is it possible to have the outputted filename derived from the original image's filename? For example, if you are selecting from an image named "somegirl.gif" then could the script assume that the output filename should be named "somegirl-cutout.gif"?

#2. Is it necessary to create a new image from the copied region? And even if it is (e.g., you want to edit the pasted image), would it be acceptable if the script performed the creation of this image. I.e., you make your selection and then run the script -- the new image is opened (if necessary) and then saved as a GIF.

Item #1 would eliminate the need for a dialog box prompting for a filename (and would provide an easier way to handle directory paths). Item #2 would be necessary to accomplish Item #1 -- once you have created a new image, information about the original image is no longer accessible.

If you choose to have the filename of the selected region automatically derived from the original filename (i.e., you make a selection, then run the script to save it to a GIF) then would you want further selections from the same image to overwrite the previous one; or would you rather that the filename be modified to indicate a "version" (e.g., "somegirl-cutout_1.gif")?

Of course, doing precisely what you described is possible; it just entails some steps that might better be automated.

eleonora46@gmx.net
2008-10-19 23:28:02 UTC (over 16 years ago)

export and save as gif dialogs

You are aware that you can ackknowledge the default settings in these dialogs by pressing the "Enter" key, aren't you?

Yes, thanks. That's what I do; for 100 pictures that is 200 keypresses. I'd like to avoid them altogether.

-eleonora

eleonora46@gmx.net
2008-10-19 23:46:35 UTC (over 16 years ago)

export and save as gif dialogs

#1. Is it possible to have the outputted filename derived from the original image's filename? For example, if you are selecting from an image named "somegirl.gif" then could the script assume that the output filename should be named "somegirl-cutout.gif"?

No. Picture 2 is derived from the page number where it is, for example the first image on page 3248 of picture 100.gif is called 32481.gif, picture2 32482.gif, etc... page number is contained by the original picture, and has nothing to do with it's name. Original picture is called in the example 100.gif, and the derived pictures are called 32481.gif, 32482.gif and 32491.gif To find the proper name is job for a human, the machine can not effectively help there.

#2. Is it necessary to create a new image from the copied region? And even if it is (e.g., you want to edit the pasted image), would it be acceptable if the script performed the creation of this image. I.e., you make your selection and then run the script -- the new image is opened (if necessary) and then saved as a GIF.

The script is unable to create the images. They must be created manually. They are pictures in written text, and only a human can decide, which parts are images and which parts are text. The selected part then usually gets modified in size and also sometimes rotated. All jobs, only a human can do properly. I checked with the most up-to-date ocr programs, they do a lousy job when they try to find out, which parts are pictures and which are text. They err in 20-30% of the cases, which is completely unacceptable and unusable for me.

Of course, doing precisely what you described is possible; it just entails some steps that might better be automated.

That exactly would speed up my work by at least 20-30%.

Thanks, eleonora

saulgoode@flashingtwelve.brickfilms.com
2008-10-20 04:57:50 UTC (over 16 years ago)

export and save as gif dialogs

Here is the script. I tried to write it so that it would run on GIMP 2.2 (as well as 2.4 and 2.6) but I have only tested it on version 2.6.

http://flashingtwelve.brickfilms.com/GIMP/Scripts/fast-gif-save.scm

eleonora46@gmx.net
2008-10-20 09:08:59 UTC (over 16 years ago)

export and save as gif dialogs

Saul, Thanks!

When I try to save a file, I get following error message (2 messages on one window): 1. there are not enough layers marked as 'Visible' to do the function 'join visible layers'. There must be at least 2 layers. 2. script-fu error when executing sg-fast-save 3.6 /tmp/Untitled.gif Error: procedural database execution failed (gimp_image_merge_visible_layers 5.0)

I then added a layer (ctrl-l, duplicate layer) and then the script saved correctly /tmp/Untitled.gif. I hope, you know how to fix this,
Thanks eleonora

Here is the script. I tried to write it so that it would run on GIMP 2.2 (as well as 2.4 and 2.6) but I have only tested it on version 2.6.

http://flashingtwelve.brickfilms.com/GIMP/Scripts/fast-gif-save.scm

saulgoode@flashingtwelve.brickfilms.com
2008-10-20 11:44:05 UTC (over 16 years ago)

export and save as gif dialogs

Quoting eleonora46@gmx.net:

When I try to save a file, I get following error message (2 messages on one window):
1. there are not enough layers marked as 'Visible' to do the function 'join visible layers'. There must be at least 2 layers. ...
I hope, you know how to fix this,

In this case, it just so happens I do*. The problem is that you are using a version of GIMP which is over two years old, and the best "fix" would be to update to a newer version. If for some reason this is not possible, here is a version which should function with GIMP 2.2:

http://flashingtwelve.brickfilms.com/GIMP/Scripts/fast-gif-save-22.scm

* http://bugzilla.gnome.org/show_bug.cgi?id=340491

eleonora46@gmx.net
2008-10-20 12:29:03 UTC (over 16 years ago)

export and save as gif dialogs

Saul,

Thanks again, this version works perfectly. :-)

Is there a way to assign some keyboard shortcut to this script? That would speed up me even more. (For example ctrl-1 or something like that)

I always considered gimp reinstalling/update as a big deal. Am I wrong? I use debian linux.

Thanks, eleonora -------- Original-Nachricht --------

Datum: Mon, 20 Oct 2008 05:44:05 -0400 Von: saulgoode@flashingtwelve.brickfilms.com An: eleonora46@gmx.net
CC: gimp-user@lists.XCF.Berkeley.EDU Betreff: Re: [Gimp-user] export and save as gif dialogs

Quoting eleonora46@gmx.net:

When I try to save a file, I get following error message (2 messages on one window):
1. there are not enough layers marked as 'Visible' to do the function 'join visible layers'. There must be at least 2 layers. ...
I hope, you know how to fix this,

In this case, it just so happens I do*. The problem is that you are using a version of GIMP which is over two years old, and the best "fix" would be to update to a newer version. If for some reason this is not possible, here is a version which should function with GIMP 2.2:

http://flashingtwelve.brickfilms.com/GIMP/Scripts/fast-gif-save-22.scm

* http://bugzilla.gnome.org/show_bug.cgi?id=340491

eleonora46@gmx.net
2008-10-20 13:36:25 UTC (over 16 years ago)

export and save as gif dialogs

Found the keyboard shortcut solution: http://www.gimp.org/docs/userfaq.html#Bind

Thanks, eleonora -------- Original-Nachricht --------

Datum: Mon, 20 Oct 2008 12:29:03 +0200 Von: eleonora46@gmx.net
An: saulgoode@flashingtwelve.brickfilms.com CC: gimp-user@lists.XCF.Berkeley.EDU Betreff: Re: [Gimp-user] export and save as gif dialogs

Saul,

Thanks again, this version works perfectly. :-)

Is there a way to assign some keyboard shortcut to this script? That would speed up me even more. (For example ctrl-1 or something like that)

I always considered gimp reinstalling/update as a big deal. Am I wrong? I use debian linux.

Thanks, eleonora -------- Original-Nachricht --------

Datum: Mon, 20 Oct 2008 05:44:05 -0400 Von: saulgoode@flashingtwelve.brickfilms.com An: eleonora46@gmx.net
CC: gimp-user@lists.XCF.Berkeley.EDU Betreff: Re: [Gimp-user] export and save as gif dialogs

Quoting eleonora46@gmx.net:

When I try to save a file, I get following error message (2 messages on one window):
1. there are not enough layers marked as 'Visible' to do the function 'join visible layers'. There must be at least 2 layers. ...
I hope, you know how to fix this,

In this case, it just so happens I do*. The problem is that you are using a version of GIMP which is over two years old, and the best "fix" would be to update to a newer version. If for some reason this is not possible, here is a version which should function with GIMP 2.2:

http://flashingtwelve.brickfilms.com/GIMP/Scripts/fast-gif-save-22.scm

* http://bugzilla.gnome.org/show_bug.cgi?id=340491