Dear Wolfram Community,
for some time now I observe the following issue under Wolfram installed within a docker container on a Raspberry Pi.
When I try to export something to png, e.g.,
Export["test.png", Plot[x, {x, 0, 1}]]
I get
Import::fmterr: Cannot import data as PNG format.
On the other hand I can export to, e.g., jpg just fine. Moreover, I can import png images without problems.
Some information on my environment:
The Wolfram engine is installed in a Docker container running on a Raspberry Pi 4 with Ubuntu 20.04.
I tried different base images which both showed the same above described behavior:
- the official
python:3.10-bullseyecontainer, where I added the deb
and added thehttp://archive.raspberrypi.org/debian bullseye mainarmhfarchitecture todpkgbefore installing thewolfram-enginepackage.
(This setup did already work in the past, but at some point a rebuild of the image must have broken things, which I didn’t realize as I did not export to png for some time.) - the image
navikey/raspbian-bullseyewhere I just added thearmhfarchitecture todpkgand then installed thewolfram-enginepackage.
Can somebody else reproduce this problem or has a hint on what I’m doing wrong.
Thanks and Best Regards,
Dominik