Jan-Åke Larsson
2006-01-30 07:38:51 UTC
(redirecting to the dvipng list)
in a released gs) The code used to copy from the gs-rendered image to
the dvipng image handles indexed colors this way, and I have not been
overly enthusiastic about copying pixel-by-pixel. Perhaps I should have
a go.
Now, you _have_ tried --truecolor?
I'll see if I can do anything to make dvipng autodetect what devices are
available.
/JÅ
When using the "-bg Transparent" option to dvipng, any EPS figures
which are included using \includegraphics still keep their
nontransparent background. I tried replacing the
char *device="-sDEVICE=png16m";
line in special.c with
char *device="-sDEVICE=pngalpha";
to make sure that ghostscript spits out images with an alpha channel,
but this didn't work (if the eps is run through ghostscript
separately, the pngalpha device _does_ produce an image with alpha
channel, so it seems to be a problem inside dvipng).
Correct. (It is only recently the pngalpha device has become availablewhich are included using \includegraphics still keep their
nontransparent background. I tried replacing the
char *device="-sDEVICE=png16m";
line in special.c with
char *device="-sDEVICE=pngalpha";
to make sure that ghostscript spits out images with an alpha channel,
but this didn't work (if the eps is run through ghostscript
separately, the pngalpha device _does_ produce an image with alpha
channel, so it seems to be a problem inside dvipng).
in a released gs) The code used to copy from the gs-rendered image to
the dvipng image handles indexed colors this way, and I have not been
overly enthusiastic about copying pixel-by-pixel. Perhaps I should have
a go.
Now, you _have_ tried --truecolor?
I'll see if I can do anything to make dvipng autodetect what devices are
available.
/JÅ
--
Dyslectics have more fnu
Dyslectics have more fnu