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

Example of converting heic to jpg in Java #94

Open
SergioMordente opened this issue Jan 4, 2021 · 1 comment
Open

Example of converting heic to jpg in Java #94

SergioMordente opened this issue Jan 4, 2021 · 1 comment

Comments

@SergioMordente
Copy link

SergioMordente commented Jan 4, 2021

I used:
<try {
HEIF heif = new HEIF ("home / sergio / IMG433.heic");
ImageItem primaryImage = heif.getPrimaryImage ();
int width = primaryImage.getSize (). width;
int height = primaryImage.getSize (). height;
System.out.println (width + "x" + height); // OK! 4032 x 3024>

How to save to jpg?

@mabla226
Copy link

Did you find how to convert ?

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

2 participants