DavidAnson / ConvertTo-Heic

A PowerShell script that converts image files to the efficient HEIC format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature suggestions, please

liero0 opened this issue · comments

Thanks for this great script. May I ask, how to modify this if I want:

  1. Change the HEIC compression quality attribute?

  2. Also resize the output photos at the same run when doing the conversion, e.g. make the longest side 2048px?

  3. Save the output to some other drive/folder, but keep the source's folder structure?

  4. Keep EXIF data from JPEG files?

Thanks!

For 1 and 2, have a look at the imaging API linked to from the README. Both should be straight forward if supported. For 3, you could modify the PowerShell script to do this by walking the directory. For 4, I've looked into this and remember thinking it was much more involved than I thought it should be. Again, the imaging API should have what you need.

1dba010ea93ec95a65a3bf8555043007a1ccee66