158 reputation
16
bio website
location
age
visits member for 1 year, 4 months
seen Apr 11 at 18:14
stats profile views 6

Mar
27
awarded  Popular Question
Jan
19
comment LaTeX, dvipng and pipes
But how does this help in creating PNG files for these pages?
Oct
10
awarded  Good Question
Oct
5
comment LaTeX, dvipng and pipes
Maybe pdflatex and a tool for png conversion would solve the pipe related issue. But pdflatex is slow compared to latex. Also, dvipng is very fast. Currently I use a RAM disk to solve the speed issue. But using pipes would be much nicer.
Aug
14
awarded  Supporter
Aug
7
awarded  Tumbleweed
Jul
31
asked LaTeX, dvipng and pipes
Jan
3
comment Fast PNG embedding using pdflatex
Ok ... since people seem to be interested in saving time ;-) I need to clarify this a little bit more: It took 18s on my laptop in battery mode (this was, when I wrote the question) ... in high performance mode, it takes "only" 8s. In both modes, the compile time is around 1s using PDF images. The reencoding of the PNG images is somewhat CPU intensive, while for the direct-copy PDF version the hard disk seems to be the limiting device. Still, a factor of 8 in compile time is great!
Jan
3
comment Fast PNG embedding using pdflatex
I converted my PNG images into PDFs using ImageMagick. This works nicely!! The alpha channel is preserved. So I could overlay several of these files in LaTeX. And the best thing about this approach: compilation time dropped from 18s to 1s.
Jan
3
awarded  Nice Question
Jan
3
comment Fast PNG embedding using pdflatex
Hmm ... that palette thing does not seem to be the true reason (according to @patrick). But anyway ... ImageMagick somehow does the job.
Jan
3
awarded  Scholar
Jan
3
accepted Fast PNG embedding using pdflatex
Jan
3
comment Fast PNG embedding using pdflatex
Thanks very much for the quick answer. Unluckily I have not been able to create such PNGs using Gimp. Saving the file in a different format and then using convert to create the PNG did the job. Having no transparency is bad, but it is good to know the limitations. I will try to embed the images directly into PDF files and include them in the .tex file. Maybe this is even faster.
Jan
3
awarded  Student
Jan
3
asked Fast PNG embedding using pdflatex