avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] gif usage


From: Theodore A. Roth
Subject: Re: [avr-libc-dev] gif usage
Date: Mon, 28 Oct 2002 13:53:01 -0800 (PST)


On Mon, 28 Oct 2002, Joerg Wunsch wrote:

:) The problem is that fig2dev can't use transparent background on
:) PNG.  Well, it's only 1/2 of a problem since the background color
:) is stupidly forced to white by doxygen anyway.  I'd rather have it
:) to get my own background color preference... in that case, having a
:) white-filled image background would look terrible.

Agreed. THe user should be able to set the background color. I had tried
changing the default background for the simulavr dox but it didn't work
out to well.

There is a way to get png's to work as you like. Here's an example:

  http://entropymine.com/jason/testbed/pngtrans/

Here's a simple way to add transparency to a png:

  $ pngtopnm malloc-std.png > malloc-std.pnm
  $ pnmtopng malloc-std.pnm -transparent white > test.png

The test.png is also smaller than the original png (bonus fat! ;-)

I've attached the test.png. See if you browser can handle it. I think we
can live with this. Might need to run a check in configure that replaces
pngtopnm and pnmtopng with cat if they aren't available on a system.

How's that sound?

:)
:) > Please note that we can not use gifs in the html output since we are not
:) > allowed to have gif's on the fsf/savannah servers.
:)
:) Sheesh.  Stupid licensing @$!#.  Everybody uses GIF...  I hope there
:) aren't more serious restrictions for using these servers.

I think it's more a case of stupid/gready patent holders than licensing.

I think this lays it out:

  https://savannah.gnu.org/register/requirements.php

You might need to be logged in to read it.

Help that clearifies things some.

Ted Roth

Attachment: test.png
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]