There is a set of graphics conversion tools called NetPBM available on the
web (free, I believe)...the attached document explains more and where to get
it, and the attached script is an example of how I've used it.
Good luck
Rob Rinear
Dirigo Incorporated
Systems and Network Management Solutions
(513) 421-6500
robr@dirigo.com
http://www.dirigo.com
begin 666 netpbm.txt
M(" @(" @(" @(" @(" @(" @(" @(" @(" @3B!%(%0@4"!"($T-"B @(" @
M(" @(" @(" @(" @(" @(%)E;&5A<V4@-R!$96-E;6)E<B Q.3DS#0I.971P
M8FT@:7,@82!T;V]L:VET(&9O<B!C;VYV97)S:6]N(&]F(&EM86=E<R!B971W
M965N(&$@=F%R:65T>2!O9@T*9&EF9F5R96YT(&9O<FUA=',L(&%S('=E;&P@
M87,@=&\@86QL;W<@82!F97<@8F%S:6,@:6UA9V4@;W!E<F%T:6]N<RX-"E1H
M92!P86-K86=E(&ES(&EN=&5N9&5D('1O(&)E('!O<G1A8FQE('1O(&UA;GD@
M<&QA=&9O<FUS+B!)="!H87,@8F5E;@T*=&5S=&5D('5N9&5R(%5.25@@*$)3
M1"!A;F0@4UE35BP@92YG+B!31TDL(%-U;C0L(%-U;C,X-FDL($1%0R!A;F0-
M"D%P;VQL;R!$3B S-3 P*2P@5DU3(&%N9"!!;6EG82!/4RX@5&AE<F4@87)E
M(&%L<V\@8V]M<&EL97(@9&ER96-T:79E<PT*:6X@:70@9F]R($U3+41/4RX-
M"EEO=2=L;"!F:6YD('1H92!L871E<W0@<F5L96%S92!O9B!.971P8FT@870@
M=&AE(&9O;&QO=VEN9R!S:71E<SH-"BH@=W5A<F-H:79E+G=U<W1L+F5D=2 H
M,3(X+C(U,BXQ,S4N-"DL#0H@(&1I<F5C=&]R>2 O9W)A<&AI8W,O9W)A<&AI
M8W,O<&%C:V%G97,O3F5T4$)-#0HJ(&EK87)O<RYF>7-I:S0N:W1H+G-E("@Q
M,S N,C,W+C,U+C(I+"!D:7)E8W1O<GD@+W!U8B]N971P8FTN#0HJ(&9T<"YI
M;F9O<FUA=&EK+G5N:2UO;&1E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