Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to strip photos in HEIC format. #173

Closed
huabin opened this issue Apr 24, 2024 · 3 comments
Closed

Unable to strip photos in HEIC format. #173

huabin opened this issue Apr 24, 2024 · 3 comments

Comments

@huabin
Copy link

huabin commented Apr 24, 2024

Hello,

First thank you so much for creating this, I love it.

But there's an error, it seems unable to strip photos in HEIC format.

What did I do?

Run the command jpegoptim -s IMG_9230.HEIC

What did I get?

IMG_9230.HEIC  [ERROR]

What have I tried?

I tried several photos in HEIC format, all have this issue. And I tried to convert the photo's format to jpg. It works well.

@Oldes
Copy link

Oldes commented Apr 26, 2024

Unfortunately heic image format is not jpeg and so you should not expect, that jpegoptim will work with it.
You will get the same error with any non jpeg input.. like:

>jpegoptim -s jpegoptim.exe
jpegoptim.exe  [ERROR]

@tjko
Copy link
Owner

tjko commented May 13, 2024

HEIC seems to be Apple's variant of HEIF. I don't see jpegoptim supporting HEIC, unless support for it is added to existing JPEG libraries (which seems unlikely).

@huabin
Copy link
Author

huabin commented May 14, 2024

@tjko I noticed that. Maybe, I should change the title to hope to add support for HEIC

@huabin huabin closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants