- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
I guess that the workload is quite important as it now takes on PLMLaTeX 20 seconds.
Specifying svg-inkscape/ to workaround #42 does not seem to involve delay.
Note that could modify LaTeX code to actually use .jpg instead of .png but as it is a temporary measure in theory let us stick with .png but JPG encoded.
Note that previously the PDF was about 81.6 MB and now it is about 84.9 MB. So the PDF size does not seem to matter much.
Now PLMLaTeX compile in 8.09s (that is 14x faster than previously on my laptop and 31x faster than previously on PLMLaTeX).
-alpha remove works fine to have white instead of transparency (by default black), source: the Stack Overflow answer 8437562.
Maybe could use an intermediary PNG setting transparency to white.
DuckDuckGo search Linux convert png to jpg with transparent pixels to white.
Maybe JPG can be written as is in the PDF contrarily to PNG.