Skip to content

nekonenene/imagemagick_heic_image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile for ImageMagick with HEIC/HEIF support

When you need to convert .heic file (HEIF file format), this docker image will be useful.

Build

docker build . -t imagemagick_heic

Run

docker run -it --name imagemagick_heic --rm imagemagick_heic /bin/bash

Then, you can check ImageMagick version

convert -version

Convert HEIF(.heic) file to JPEG(.jpg)

  1. Send HEIF(.heic) file to the container
    # Command from outside of the container
    docker cp /path/to/file.heic imagemagick_heic:/home
  2. Convert HEIF(.heic) file to JPEG(.jpg)
    # Command from the container
    mogrify -format jpg *.heic
  3. Send JPEG(.jpg) file to outside of the container
    # Command from outside of the container
    docker cp imagemagick_heic:/home/file.jpg .

About

Dockerfile for ImageMagick with HEIC/HEIF support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published