Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use VIPS cli https://www.libvips.org

I think converting HEIC into jpg would be simple

  vips copy -i src.hif out.jpg
Although I have not used it for a while so not sure it is exactly that. It also does not support batches, you must run one image at a time, but that can be scripted. It also does not support multiple operations, so you might need to use the .v extensions as intermediary between multiple presets(for example sepia + resize + crop).


If I do this on my mac, I wonder if am technically violating the HEIC patent license. I suppose it depends on the details in the patent license, plus perhaps rights Apple has acquired for its users. I definitely don't know, but maybe someone on HN does?


I would assume not because you can do the same thing using a CLI apple installs on all macs, sips

    sips -s format jpeg in.heic --out out.jpeg
also, a heic is just a container around an h265 image frame


i doubt anyone needs to be concerned with licences if they are not producing a paid product.


It's just `vips copy src.heic dst.jpg`.


ah right, ffmpeg requires the -i, not vips.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: