Equations saved as gif, but file ending png

View: New views
5 Messages — Rating Filter:   Alert me  

Equations saved as gif, but file ending png

by Ole Jacob Taraldset :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Doxygen 1.6.1 openSUSE 11.0 x64
When formulas are in dox/html created they have the file ending png, but
the contents is in fact gif. This must be a bug? Anybody else seen this
problem? How is Doxygen creating the images? latex->dvips then what?
convert, or something else? I cannot find any switches or settings in
the Doxygen file.

-Ole Jacob


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Parent Message unknown Re: Equations saved as gif, but file ending png

by Selke, Gisbert W. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ole --

> -----Ursprüngliche Nachricht-----
> Von: Ole Jacob Taraldset [mailto:ojt@...]
> Gesendet: Mittwoch, 21. Oktober 2009 13:35
> Doxygen 1.6.1 openSUSE 11.0 x64
> When formulas are in dox/html created they have the file
> ending png, but the contents is in fact gif. This must be a
> bug? Anybody else seen this problem?
Partial answer: The call graphs etc. generated are declared as png, and they have png inside, indeed; this goes through graphviz, of course. I haven't had formulae for some time, now, so I can't answer your question directly.
> How is Doxygen creating
> the images? latex->dvips then what? convert, or something
> else? I cannot find any switches or settings in the Doxygen file.
According to the dox docs (http://www.stack.nl/~dimitri/doxygen/formulas.html), ghostscript is used after dvips, for converting to bitmap. I don't see any (dox) option to influence ghostscript operation, either.
You might try to intercept the gs call and log what call doxygen is using, then maybe there is a route for help from there?

\Gisbert

(I'm running doxygen 1.6.1 under Windows. )

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Re: Equations saved as gif, but file ending png

by Dimitri van Heesch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

This is a known bug indeed, see https://bugzilla.gnome.org/show_bug.cgi?id=595253
It has already been fixed in subversion.

For formulas the chain is now:
- doxygen       (.tex)
   - latex       (.tex->.dvi)
   - dvips       (.dvi->.eps)
- doxygen       (.eps->.ps)
   - ghostscript (.ps->.pnm)
- doxygen       (.pnm->.gif)

Doxygen used to generate PNGs but I got a bit tired of the bugs that  
were
found in libpng, so in release 1.6.0 I switched back to the simple gif  
encoder I
had used 8 years ago (I previously switched to PNG due to patent  
issues, but the
GIF patent has expired in the meantime).

Regards,
   Dimitri

On 21 okt 2009, at 19:38, Selke, Gisbert W. wrote:

> Hi Ole --
>
>> -----Ursprüngliche Nachricht-----
>> Von: Ole Jacob Taraldset [mailto:ojt@...]
>> Gesendet: Mittwoch, 21. Oktober 2009 13:35
>> Doxygen 1.6.1 openSUSE 11.0 x64
>> When formulas are in dox/html created they have the file
>> ending png, but the contents is in fact gif. This must be a
>> bug? Anybody else seen this problem?
> Partial answer: The call graphs etc. generated are declared as png,  
> and they have png inside, indeed; this goes through graphviz, of  
> course. I haven't had formulae for some time, now, so I can't answer  
> your question directly.
>> How is Doxygen creating
>> the images? latex->dvips then what? convert, or something
>> else? I cannot find any switches or settings in the Doxygen file.
> According to the dox docs (http://www.stack.nl/~dimitri/doxygen/formulas.html 
> ), ghostscript is used after dvips, for converting to bitmap. I  
> don't see any (dox) option to influence ghostscript operation, either.
> You might try to intercept the gs call and log what call doxygen is  
> using, then maybe there is a route for help from there?
>
> \Gisbert
>
> (I'm running doxygen 1.6.1 under Windows. )
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@...
> https://lists.sourceforge.net/lists/listinfo/doxygen-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Re: Equations saved as gif, but file ending png

by Ole Jacob Taraldset :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

In the latest svn checkin equations for html output are now created as
gifs with the gif suffix, but the html files contains references to
pngs, and no gifs.

Regards,
Ole Jacob

Dimitri Van Heesch wrote:

> Hi,
>
> This is a known bug indeed, see
> https://bugzilla.gnome.org/show_bug.cgi?id=595253
> It has already been fixed in subversion.
>
> For formulas the chain is now:
> - doxygen       (.tex)
>   - latex       (.tex->.dvi)
>   - dvips       (.dvi->.eps)
> - doxygen       (.eps->.ps)
>   - ghostscript (.ps->.pnm)
> - doxygen       (.pnm->.gif)
>
> Doxygen used to generate PNGs but I got a bit tired of the bugs that were
> found in libpng, so in release 1.6.0 I switched back to the simple gif
> encoder I
> had used 8 years ago (I previously switched to PNG due to patent
> issues, but the
> GIF patent has expired in the meantime).
>
> Regards,
>   Dimitri
>
> On 21 okt 2009, at 19:38, Selke, Gisbert W. wrote:
>
>> Hi Ole --
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Ole Jacob Taraldset [mailto:ojt@...]
>>> Gesendet: Mittwoch, 21. Oktober 2009 13:35
>>> Doxygen 1.6.1 openSUSE 11.0 x64
>>> When formulas are in dox/html created they have the file
>>> ending png, but the contents is in fact gif. This must be a
>>> bug? Anybody else seen this problem?
>> Partial answer: The call graphs etc. generated are declared as png,
>> and they have png inside, indeed; this goes through graphviz, of
>> course. I haven't had formulae for some time, now, so I can't answer
>> your question directly.
>>> How is Doxygen creating
>>> the images? latex->dvips then what? convert, or something
>>> else? I cannot find any switches or settings in the Doxygen file.
>> According to the dox docs
>> (http://www.stack.nl/~dimitri/doxygen/formulas.html), ghostscript is
>> used after dvips, for converting to bitmap. I don't see any (dox)
>> option to influence ghostscript operation, either.
>> You might try to intercept the gs call and log what call doxygen is
>> using, then maybe there is a route for help from there?
>>
>> \Gisbert
>>
>> (I'm running doxygen 1.6.1 under Windows. )
>>
>> ------------------------------------------------------------------------------
>>
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and
>> stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Doxygen-users mailing list
>> Doxygen-users@...
>> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Re: Equations saved as gif, but file ending png

by Dimitri van Heesch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 28 okt 2009, at 13:16, Ole Jacob Taraldset wrote:

> Hi,
>
> In the latest svn checkin equations for html output are now created as
> gifs with the gif suffix, but the html files contains references to
> pngs, and no gifs.

Oops, I've corrected that in the meantime.

Regards,
   Dimitri

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users