DavidAnson / ConvertTo-Heic

A PowerShell script that converts image files to the efficient HEIC format
MIT License
47 stars 7 forks source link

feature suggestions, please #6

Open liero0 opened 2 years ago

liero0 commented 2 years ago

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!

DavidAnson commented 2 years ago

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.

nievesmiguel commented 2 years ago

1dba010ea93ec95a65a3bf8555043007a1ccee66