Photoshopping GIF files.

P

Peter Jason

Is there any way to adjust the brightness &
sharpness of the GIF video files?
Peter
 
J

J. P. Gilliver (John)

Peter Jason said:
Is there any way to adjust the brightness &
sharpness of the GIF video files?
Peter
Which GIF files?

If you just mean any GIF files, then almost any image processing prog.
will; most will load an image from a variety of formats including GIF,
and will also be able to save in a variety of formats including GIF.

I like IrfanView (which can certainly adjust brightness, contrast, and
sharpness, but more or less any such application can), because it's not
only free but small and (therefore?) fast.
 
1

123Jim

Thanks, I did this but the app seems to just
create gif movies, whereas I need to save the
elements and adjust them.
You're right, however check this: http://gif-explode.com/
You can extract the images at the above website, edit them in your image
editor and remake the animation in MS Gif animator.
 
J

J. P. Gilliver (John)

Peter Jason said:
Thanks, I did this but the app seems to just
create gif movies, whereas I need to save the
elements and adjust them.
My apologies for my earlier post; I didn't spot the word "video".

IrfanView can extract frames from movies (I _think_ including animated
..gifs), and I think can put them back together. It can certainly do
batch modification (make the same changes to a lot of images), which
could save a lot of time in this sort of work.
 
P

Paul

123Jim said:
You're right, however check this: http://gif-explode.com/
You can extract the images at the above website, edit them in your image
editor and remake the animation in MS Gif animator.
There are other ways to do that.

http://gnuwin32.sourceforge.net/packages/netpbm.htm

Binaries Zip 3849261 12 May 2005 netpbm-10.27-bin.zip
Dependencies Zip 393215 12 May 2005 netpbm-10.27-dep.zip

Extract the "bin" folder from each download. Combine the
six library files from the second bin, to the executable
files in the other bin.

Toss your animated GIF in the bin as well.

Open a command prompt.

Navigate to the bin folder.

cd \
cd downloads
cd NETPBM
cd bin

Now, you're ready to run the command line tool.

For the sample image, I use this picture from the
Wikipedia article.

http://en.wikipedia.org/wiki/Gif

Rotating_earth_large.gif (renamed to input.gif)

The giftopnm doc page is here.

http://netpbm.sourceforge.net/doc/giftopnm.html

Now, after playing around with the collection of tools
(and finding the documentation doesn't match the tools),
I determined the collection of tools is missing something
to make the animated GIF again. This tool provides that.
Extract gifsicle.exe from the binary ZIP, and add that
to the bin folder collection of stuff.

Gifsicle V1.67

http://www.bttr-software.de/ports/

http://www.bttr-software.de/ports/gifs167s.zip (source)

http://www.bttr-software.de/ports/gifs167b.zip (binary)

*******

This is an example of a .bat file, which processes the sample
image on the Wikipedia article about "gif". I was too lazy to
make some kinda loop to process the 44 files, so just
inlined it :) The "padname" variable, is what sets the
field width of the numerical part of the out??.gif file name.

giftopnm -image=all input.gif > out.bin
pnmsplit out.bin out%d.pnm -padname=2
pamfunc -adder 60 out00.pnm | pamfunc -multiplier 1.2 | ppmtogif > out00.gif
pamfunc -adder 60 out01.pnm | pamfunc -multiplier 1.2 | ppmtogif > out01.gif
pamfunc -adder 60 out02.pnm | pamfunc -multiplier 1.2 | ppmtogif > out02.gif
pamfunc -adder 60 out03.pnm | pamfunc -multiplier 1.2 | ppmtogif > out03.gif
pamfunc -adder 60 out04.pnm | pamfunc -multiplier 1.2 | ppmtogif > out04.gif
pamfunc -adder 60 out05.pnm | pamfunc -multiplier 1.2 | ppmtogif > out05.gif
pamfunc -adder 60 out06.pnm | pamfunc -multiplier 1.2 | ppmtogif > out06.gif
pamfunc -adder 60 out07.pnm | pamfunc -multiplier 1.2 | ppmtogif > out07.gif
pamfunc -adder 60 out08.pnm | pamfunc -multiplier 1.2 | ppmtogif > out08.gif
pamfunc -adder 60 out09.pnm | pamfunc -multiplier 1.2 | ppmtogif > out09.gif
pamfunc -adder 60 out10.pnm | pamfunc -multiplier 1.2 | ppmtogif > out10.gif
pamfunc -adder 60 out11.pnm | pamfunc -multiplier 1.2 | ppmtogif > out11.gif
pamfunc -adder 60 out12.pnm | pamfunc -multiplier 1.2 | ppmtogif > out12.gif
pamfunc -adder 60 out13.pnm | pamfunc -multiplier 1.2 | ppmtogif > out13.gif
pamfunc -adder 60 out14.pnm | pamfunc -multiplier 1.2 | ppmtogif > out14.gif
pamfunc -adder 60 out15.pnm | pamfunc -multiplier 1.2 | ppmtogif > out15.gif
pamfunc -adder 60 out16.pnm | pamfunc -multiplier 1.2 | ppmtogif > out16.gif
pamfunc -adder 60 out17.pnm | pamfunc -multiplier 1.2 | ppmtogif > out17.gif
pamfunc -adder 60 out18.pnm | pamfunc -multiplier 1.2 | ppmtogif > out18.gif
pamfunc -adder 60 out19.pnm | pamfunc -multiplier 1.2 | ppmtogif > out19.gif
pamfunc -adder 60 out20.pnm | pamfunc -multiplier 1.2 | ppmtogif > out20.gif
pamfunc -adder 60 out21.pnm | pamfunc -multiplier 1.2 | ppmtogif > out21.gif
pamfunc -adder 60 out22.pnm | pamfunc -multiplier 1.2 | ppmtogif > out22.gif
pamfunc -adder 60 out23.pnm | pamfunc -multiplier 1.2 | ppmtogif > out23.gif
pamfunc -adder 60 out24.pnm | pamfunc -multiplier 1.2 | ppmtogif > out24.gif
pamfunc -adder 60 out25.pnm | pamfunc -multiplier 1.2 | ppmtogif > out25.gif
pamfunc -adder 60 out26.pnm | pamfunc -multiplier 1.2 | ppmtogif > out26.gif
pamfunc -adder 60 out27.pnm | pamfunc -multiplier 1.2 | ppmtogif > out27.gif
pamfunc -adder 60 out28.pnm | pamfunc -multiplier 1.2 | ppmtogif > out28.gif
pamfunc -adder 60 out29.pnm | pamfunc -multiplier 1.2 | ppmtogif > out29.gif
pamfunc -adder 60 out30.pnm | pamfunc -multiplier 1.2 | ppmtogif > out30.gif
pamfunc -adder 60 out31.pnm | pamfunc -multiplier 1.2 | ppmtogif > out31.gif
pamfunc -adder 60 out32.pnm | pamfunc -multiplier 1.2 | ppmtogif > out32.gif
pamfunc -adder 60 out33.pnm | pamfunc -multiplier 1.2 | ppmtogif > out33.gif
pamfunc -adder 60 out34.pnm | pamfunc -multiplier 1.2 | ppmtogif > out34.gif
pamfunc -adder 60 out35.pnm | pamfunc -multiplier 1.2 | ppmtogif > out35.gif
pamfunc -adder 60 out36.pnm | pamfunc -multiplier 1.2 | ppmtogif > out36.gif
pamfunc -adder 60 out37.pnm | pamfunc -multiplier 1.2 | ppmtogif > out37.gif
pamfunc -adder 60 out38.pnm | pamfunc -multiplier 1.2 | ppmtogif > out38.gif
pamfunc -adder 60 out39.pnm | pamfunc -multiplier 1.2 | ppmtogif > out39.gif
pamfunc -adder 60 out40.pnm | pamfunc -multiplier 1.2 | ppmtogif > out40.gif
pamfunc -adder 60 out41.pnm | pamfunc -multiplier 1.2 | ppmtogif > out41.gif
pamfunc -adder 60 out42.pnm | pamfunc -multiplier 1.2 | ppmtogif > out42.gif
pamfunc -adder 60 out43.pnm | pamfunc -multiplier 1.2 | ppmtogif > out43.gif
gifsicle --scale 2 --colors 256 --delay 10 out*.gif >new.gif

The result isn't much to look at. Scaling it by a factor
of two, was the easiest way to show I'd changed some
aspect of the picture. My attempts to change the image
brightness didn't really seem to work.

http://img72.imageshack.us/img72/9253/newhtn.gif

HTH,
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top