Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

How to save from JPG/JPEG/PNG to HEIC format #11

Open
kingvhit opened this issue Oct 1, 2019 · 3 comments
Open

How to save from JPG/JPEG/PNG to HEIC format #11

kingvhit opened this issue Oct 1, 2019 · 3 comments

Comments

@kingvhit
Copy link

kingvhit commented Oct 1, 2019

Thank you very much for your contributions on HEIF Utility lib, I have ported it on Android library and then convert between HEIC to JPG/JPEG is so easy.

Now, I want to convert from JPG/JPEG to HEIC, but I don't know how can separate the decoder config and image data from an image (jpg, jpeg files) as byte[] data.

Did you know, how I can do it, because the document is very difficult for understanding in Java code, and I think the C/C++ is better for trying.

@liuziangexit
Copy link
Owner

liuziangexit commented Oct 1, 2019 via email

@kingvhit
Copy link
Author

kingvhit commented Oct 1, 2019

I'm using FFMPEG for converting from .265 bitstream into 48 tiles files on storage in case HEIC -> JPG/JPEg but it's a command-line executing and we can't get the byte[] array in code. I just do convert bit-stream to file and read its file again then get the byte[]

Do you have any idea for other libraries?
C/C++ libraries are OK for me because I will port it into a native library and call .so file instead.

@liuziangexit
Copy link
Owner

liuziangexit commented Oct 2, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants