Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: pgclient_server2.png
Description: image/png (15.3 KB) (inlined above)

In response to

Responses

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group