[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] converting to gif



José Luis Gómez Dans <j.l.gomez-dans [at] sheffield.ac.uk> mused:
> 	I am running against big walls over here... I am trying to
> convert some really simple monochrome images from PNG (or eps) to GIF
> for mailing about, as people complain Winblows doesn't like my formats
> at all. These images are histograms, graphs, scatter plots, and the
> PNG's are very small (~2 k). If I convert them to GIF using convert
> (convert ), the resulting file is a joke,
> nearing 170k!!! I know that GIF is specially good at this sort of
> images, so I am wondering what am I doing wrong? presumably, it is doing
> a 256 colour image or something, but for my life, I can't find the
> options to make the gif file reasonable in size.

Possibly the resulting gif isn't being compressed. Try something like

% convert -compress RunlengthEncoded histogram.png histogram.gif
or
% convert -compress LZW histogram.png histogram.gif

and see if it makes any difference. (Although I thought convert enabled
compression by default).


* Dave Mitchell, Senior Technical Consultant
* Fretwell-Downing Informatics Ltd, UK.  Dave.Mitchell [at] fdgroup.com
* Tel: +44 114 281 6113.                The usual disclaimers....
*
* Standards (n). Battle insignia or tribal totems

print+qq&$}$"$/$s$,$*${$}$g$s$@$.$q$,$:$.$q$^$,$@$*$~$;$.$q$m&if+map{m,^\d{0\,},
,${$::{$'}}=chr($"+=$&||1)}q&10m22,42}6:17*2~2.3 [at] 3;^2$g3q/s"&=~m*\d\*.*g


___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.