Skip to content

Tool to automatically convert HEIC files (Iphone photos) into the JPEG format for bulk uploading to the Intake24 system

Notifications You must be signed in to change notification settings

MRC-Epid-it24/heic-to-jpg-convertor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heic-to-jpg-image-convertor

Tool to automatically convert HEIC files (Iphone photos) into the JPEG format for bulk uploading to the Intake24 system

  1. Build the project pnpm build

  2. Run the project example with the max width limit: pnpm start --input-folder=/path/to/input/root/folder --output-folder=/path/to/output/folder --max-width=2016

    convert-images

    Convert & Resizing HEIC images to JPEG or Resizing JPEG

    Options:

    • --input-folder= - root folder that containes all the directories with the HEIC files in it. Default:
    • --output-folder - destination folder for the converted images. If not set will put images in the same folder. Can be used with the --delete-original option to mutate the original files into converted ones (NOT ADVISIBLE).
    • --delete-original - Delete original files after conversion.
    • --maxWidth= - max allowed Image Width. If more then this value the image will be scaled down to it. Default: null - no image resizing.
    • --quality - compression quality for the output JPEG image. Default: 80. Range 1-100.

    generate-as-served

    Generate as served JSON array from the given folder

    Options:

    • --input-folder= - root folder that containes all the directories with the Image files in it.
    • --output-folder - destination folder for the JSON file. If not set will put images in the same folder.
    • --generation-method - generation method type: name-based, csv-based, json-based.

License

MIT

About

Tool to automatically convert HEIC files (Iphone photos) into the JPEG format for bulk uploading to the Intake24 system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published