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-bullseye
container, where I added the deb http://archive.raspberrypi.org/debian bullseye main
and added the armhf
architecture to dpkg
before installing the wolfram-engine
package. (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-bullseye
where I just added the armhf
architecture to dpkg
and then installed the wolfram-engine
package.
Can somebody else reproduce this problem or has a hint on what I'm doing wrong.
Thanks and Best Regards,
Dominik