Logo and favicon do not compile in assets/images/logo
... But the CI does not report a compilation failure. .svg
files are not produced because pdf2svg
is not installed in the container, .png
files are not produced because of the configuration of imagemagick
. I found that the following patch helps in this regard:
--- a/etc/ImageMagick-6/policy.xml
+++ b/etc/ImageMagick-6/policy.xml
@@ -94,6 +94,6 @@
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
- <policy domain="coder" rights="none" pattern="PDF" />
+ <policy domain="coder" rights="read | write" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />
</policymap>
I don't really understand why we have to do that to get the conversion from .pdf
to .png
working.