Working again with my XFig conversion (which is almost useable now), I find
that the postscript output is ridiculously big when pictures are involved.
A file that XFig exports to a 1/2 MB PS, we export to 57 MB!  XFig
compresses pictures, we really should do the same.

The xfig decoding routine start with:

% Polyline
%
% Originally from a GIF File: counters/germans/8-3-8.gif

% Begin Imported PCX File: counters/germans/8-3-8.gif

n gs
2550 11202 tr
2.033898 -2.097902 sc
0 -286 tr
0 0 tr
sa
/showpage {} def
% PCX image follows:
295 286 sc
%***********************************************************************
%*                                                                     *
%* Object: Image decoding PS-routine                    Date: 01.02.93 *
%* Author: Evgeni CHERNYAEV ([EMAIL PROTECTED])                  *
%*                                                                     *
%* Function: Display a run-length encoded color image.                 *
%*           The image is displayed in color on viewers and printers   *
%*           that support color Postscript, otherwise it is displayed  *
%*           as grayscale.                                             *
%*                                                                     *
%***********************************************************************

We should be able to find that or do something better.  And this is just
run-length encoding.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | Hårdgrim of Numenor
"I do not agree with a word that you say, but I    | Retainer of Sir Kegg
will defend to the death your right to say it."    |   of Westfield
    --Evelyn Beatrice Hall paraphrasing Voltaire   | Chaos Berserker of Khorne

Reply via email to