strukturag / libheif

libheif is an HEIF and AVIF file format decoder and encoder.
Other
1.7k stars 298 forks source link

heif-convert -> heif-dec #864

Open farindk opened 1 year ago

farindk commented 1 year ago

In order to make naming and usage more consistent, should we introduce heif-dec to match the heif-enc name? In any case, we would keep heif-convert for a long transition period. Even if it is just a symlink.

Also the command line parameters should be more consistent between the two. Especially the use of -o should be optional.

farindk commented 1 year ago

Another option would be to merge both tools into one so that we can support HEIC->AVIF conversions or modify files (adding metadata, auxiliary images).

bradh commented 1 year ago

I think heif-convert that is able to do conversion to and from HEIF would also be an option. That is, deprecate heif-enc and add the encoder functionality to the convert tool. That is basically what I assumed the convert tool would do before I understood more.

I agree on the use of consistent options, although I'm not sure what the best selection would be. For example, if there is a single input and a single output, then its OK. However maybe we'd like to have ability to split and combine files, and -i and -o might be needed for those cases.

paswai commented 3 months ago

Another option would be to merge both tools into one so that we can support HEIC->AVIF conversions or modify files (adding metadata, auxiliary images).

Hi @farindk, is the HEIC (10 bit?) -> AVIF (10 bit?) conversion still in discussion? I am asking since on android, AVIF seems to be better supported, e.g. by Google Photos and WhatsApp.