Re: Documentation and explanatory diagrams - Mailing list pgsql-docs

From Thom Brown
Subject Re: Documentation and explanatory diagrams
Date
Msg-id AANLkTilEpIJrgmpZi2CgL9HvLkVxN-9U26REqhLyye0u@mail.gmail.com
Whole thread Raw
In response to Re: Documentation and explanatory diagrams  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Documentation and explanatory diagrams  (Thom Brown <thombrown@gmail.com>)
List pgsql-docs
On 3 July 2010 03:41, Bruce Momjian <bruce@momjian.us> wrote:
> Peter Eisentraut wrote:
>> On fre, 2010-07-02 at 22:15 -0400, Bruce Momjian wrote:
>> > > 500k of source for just half a dozen simple images?  There's
>> > something
>> > > seriously wrong there.  I suspect the PNGs could be compressed a lot
>> > > more, but right now I'm wondering exactly how verbose the dia
>> > "source"
>> > > representation is.
>> >
>> > Here is the PNG URL:
>> >
>> >         http://momjian.us/expire/pgsql-docs/img/
>> >
>> > and the dia files:
>> >
>> >         http://momjian.us/expire/pgsql-docs/dia/
>>
>> The dia stuff is XML that should compress well.
>
> Gzip takes the dia directory from 526k to 42k.  And of course gzip does
> little for the PNG files.
>

How configurable is the generation process for these PNGs?  It's just
that they don't appear to be optimised.

For example, pgclient_server.png is created at 75,089 bytes, but can
be reduced to 15,643 bytes like in the attached file
(pgclient_server2.png) by using a 16-colour indexed palette.

Thom

Attachment

pgsql-docs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Documentation and explanatory diagrams
Next
From: Bruce Momjian
Date:
Subject: Re: More clearly on XML namespaces inside xpath function