MaestroError / heif-converter-image

heif-converter is a versatile command-line application, along with a Docker image, that offers an easy and efficient way to convert HEIC (and AVIF) images to other common formats like JPEG and PNG, and vice versa. It leverages the go-libheif module, a GoLang wrapper for the libheif library.
MIT License
3 stars 0 forks source link

Uncaught target signal 6 (Aborted) error on M1 Mac #1

Open phpguru opened 1 year ago

phpguru commented 1 year ago

On Mac OS M1, just wanting to use the docker image directly.

docker pull maestroerror/heif-converter
...
Status: Downloaded newer image for maestroerror/heif-converter:latest
docker.io/maestroerror/heif-converter:latest

Then I put a couple of heic files in my input folder (~/Documents/heic), and make an output folder (~/Documents/jpeg).

~  $ docker run --rm -v /Users/phpguru/Documents/heic:/input -v /Users/phpguru/Documents/jpeg:/output maestroerror/heif-converter heic /input/IMG_5692.heic /output/IMG_5692.jpeg
double free or corruption (out)
qemu: uncaught target signal 6 (Aborted) - core dumped

Am I doing something wrong?

phpguru commented 1 year ago

I can enter the container and use it like this

root@31669c971dbe:/app# heif-convert /input/IMG_5692.heic /output/IMG_5692.jpg
File contains 1 image
Written to /output/IMG_5692.jpg

but I was hoping to make use of it directly from docker run on Bash on the Mac side.