Post Reply 

Removing color from multiple images

Aug 13, 2011, 03:46 (This post was last modified: Aug 13, 2011 03:55 by Aquilo.)
Post: #1
Removing color from multiple images
Hi All:

I'm rather new here and have been working with Gimp 2.6 for a few months. I have two questions.

1. I am making a .gif with 57 images [black silhouette] with a white background. Is there any way I can remove the background from all of the images at once (like a batch tool) rather than going through each one of them?

2. This may relate to my first question. If I make a change to one image i.e. crop an image and resize it, is there a way to effect that change to all of the images Vs going through each one?

Thanks
Aquilo
Find all posts by this user
Quote this message in a reply
Aug 13, 2011, 11:43
Post: #2
RE: Removing color from multiple images
1) The Gimp Animation Package (aka GAP) (availabel here: http://www.gimp.org/downloads/ ) has a tool to apply a filter to all layers. And what to you want to do is a filter (Color-to-alpha)(*)

2) If you have all your layers/Frames load in an image, image crop and resize aplies to all layers at the same time.

It is also possible to do that outside of Gimp in the finished image. In a GIF, a specific color is designated as being the transparent color, so making the white transparent is just updating the color map. With the Imagemagick toolbox:
Code:
convert opaque.gif -transparent white  transparent.gif

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Aug 13, 2011, 18:42 (This post was last modified: Aug 13, 2011 18:45 by Aquilo.)
Post: #3
RE: Removing color from multiple images
(Aug 13, 2011 11:43)ofnuts Wrote:  1) The Gimp Animation Package (aka GAP) (availabel here: http://www.gimp.org/downloads/ ) has a tool to apply a filter to all layers. And what to you want to do is a filter (Color-to-alpha)(*)

2) If you have all your layers/Frames load in an image, image crop and resize aplies to all layers at the same time.

It is also possible to do that outside of Gimp in the finished image. In a GIF, a specific color is designated as being the transparent color, so making the white transparent is just updating the color map. With the Imagemagick toolbox:
Code:
convert opaque.gif -transparent white  transparent.gif

Thanks for your reply Ofnuts;

I installed the GAP add-on and fooled around with it a bit. I think I can get the hang of it in no time. I did notice GIMP saying I needed to install a re-synthesizer. However the only one available was for linux and I don't know how to do a build for Windows.

Also; I installed Imagemagick, but when I opened the .gif file I didn;t have any options available in the menus? I searched for more detailed installation instructions but was unable to find any. While I am sharp with computers I am on the learning curve with Gimp, GAP, Add-ons and Imagemagick's routine atm etc. Can you point me in the right direction for this?

Thanks again
Aquilo
Find all posts by this user
Quote this message in a reply
Aug 13, 2011, 19:42
Post: #4
RE: Removing color from multiple images
ImageMagick is fundamentally a collection of command-line tools, and one of them is "convert" for which you have an example above.

To be honest, I don't use GAP, but I don't think the resynthetizer is necessary for what you are doing.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Aug 15, 2011, 01:19 (This post was last modified: Aug 15, 2011 01:19 by Aquilo.)
Post: #5
RE: Removing color from multiple images
(Aug 13, 2011 19:42)ofnuts Wrote:  ImageMagick is fundamentally a collection of command-line tools, and one of them is "convert" for which you have an example above.

To be honest, I don't use GAP, but I don't think the resynthetizer is necessary for what you are doing.

Thanks for the info Ofnuts;

I took a look at ImageMagick and am completely lost. I was expecting a GUI to use. I understand the command line instructions but IM is a bit more involved than I had anticipated. Reminds me of DOS command-lines Big Grin and felt shivers having to get into that again.
Find all posts by this user
Quote this message in a reply
Aug 15, 2011, 09:16
Post: #6
RE: Removing color from multiple images
As I stated it's a command-line tool Smile (even a caricature of... but i tis indeed very powerful).

That's also why I gave you the full command to run (just change the file names).

The DOS command line (and the .BAT) have yet to be replaced in two cases:

1) act on many files in one go
2) repeat a complex action without errors.

This is also true of Gimp: you can note step-by-step instructions to produce some effect, or you can make a script.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  select multiple layers in the Layers Dialog user5555155 1 117 Aug 14, 2017 14:19
Last Post: ythgilb
  Image color vs color picker YalithKBK 1 182 Jul 7, 2017 11:45
Last Post: ythgilb
  How to overlap two images? ferguson1951 1 127 Jul 4, 2017 07:10
Last Post: ythgilb
  Change transparent background color Firion 1 206 Jun 14, 2017 05:24
Last Post: ythgilb
  Putting two images side by side chrisj 3 6,797 May 30, 2017 11:45
Last Post: blighty

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS