Skip to content

chingyangtseng-houzz/test-graphicmagicks-with-heif-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphicsMagick with HEIF Support in Node.js

This project demonstrates how to use GraphicsMagick with HEIF support in a Node.js application, running inside a Docker container.

Prerequisites

  • Docker
  • Docker Compose

Quickstart

Step 1: Clone the Repository

git clone <repository-url>
cd <repository-directory>

Step2: Build The Docker Image

docker-compose build

Step 3: Run the Service

To convert an HEIC image to JPEG, run the following command:

docker-compose run app node index.js <input-file.heic>

Replace <input-file.heic> with the path to your HEIC file.

Directory Structure

Ensure your directory structure looks like this:

/your-project-directory
  ├── Dockerfile
  ├── docker-compose.yml
  ├── package.json
  ├── package-lock.json
  ├── index.js
  └── test-image.heic

About

test-graphicmagicks-with-heif-support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published