Gif Compression

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
HaZzard

Gif Compression

Post by HaZzard »

Hey,

I wrote a PHP Script that creates animated GIF Files with text.
My Problem is, that the Source GIF File is around 60KB and the Generated File is about 1MB.
I already tried to compress the gifs via "convert asd.gif -compress lzw compress.gif"!

Best Regards Asac
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Gif Compression

Post by fmw42 »

HaZzard

Re: Gif Compression

Post by HaZzard »

Hey,

i tried -layers OptimizeTransparency but it dose not work cause my Webhoster is under IM Version 6.3.4.
Is there another Way to get it smaller?

Best Regards HaZz
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Gif Compression

Post by fmw42 »

read http://www.imagemagick.org/Usage/anim_opt/ thoroughly as there other kinds of optimizations and ways of improving quality and speed.

Also search the internet for non-IM programs for optimizing gif animations.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Gif Compression

Post by anthony »

You can also see if you ISP hosting provides other GIF optimization programs like "gifsicle" Though I know from past experience that it was broken with some forms of GIF optimizations.

These are also talked about in IM Examples.

Prehaps they have a comercial GIF optimizer you can use?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
HaZzard

Re: Gif Compression

Post by HaZzard »

Hey,

I don not think that there are other GIF applications on my ISP Webspace!

http://www.potentia-et-gloria.de/info.php

only GD but i found no examples to compress it with GD!

And there is no commercial GIF optimizer!

Best Regards HaZz
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Gif Compression

Post by fmw42 »

you will have to search the Internet - use Google - to see what you can find
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Gif Compression

Post by anthony »

You will either need to request your ISP to upgrade, install some GIF optimizers, to install your own version of IM and/or gif optimizers.

There is no 'simple' way.

You can always download the GIF's to your own system and do the job with your own version of IM or other GIF optimizers.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply