Re: Documentation and explanatory diagrams

From: Thom Brown <thombrown(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Rafael Martinez <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>, Marc Fournier <scrappy(at)hub(dot)org>
Subject: Re: Documentation and explanatory diagrams
Date: 2010-07-03 12:59:00
Message-ID: AANLkTilEpIJrgmpZi2CgL9HvLkVxN-9U26REqhLyye0u@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 3 July 2010 03:41, Bruce Momjian <bruce(at)momjian(dot)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 Content-Type Size
image/png 15.3 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2010-07-03 17:21:54 Re: More clearly on XML namespaces inside xpath function
Previous Message Heikki Linnakangas 2010-07-03 12:08:52 Re: Documentation and explanatory diagrams