Open kingvhit opened 4 years ago
Hello Sir
I believe you should choose a certain Image library first... And then we can talk about how to use those API to do that...
On Tue, Oct 1, 2019 at 10:45 AM Vo Anh Kiet notifications@github.com wrote:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/liuziangexit/HEIF-Utility-Native-DLL/issues/11?email_source=notifications&email_token=ADU42UVK3MUQSBJCIHF3QJ3QMK2TDA5CNFSM4I4DIEQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOW636A, or mute the thread https://github.com/notifications/unsubscribe-auth/ADU42URNNIW24DBPEY2YTLLQMK2TDANCNFSM4I4DIEQA .
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.
This is what you are looking for?
https://imagemagick.org/script/formats.php
On Tue, Oct 1, 2019 at 4:26 PM Vo Anh Kiet notifications@github.com wrote:
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.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/liuziangexit/HEIF-Utility-Native-DLL/issues/11?email_source=notifications&email_token=ADU42UUDC43IFTGGGVZ3SJ3QMMCSZA5CNFSM4I4DIEQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAANZWQ#issuecomment-536927450, or mute the thread https://github.com/notifications/unsubscribe-auth/ADU42UR7P34UA33RG5HTUXDQMMCSZANCNFSM4I4DIEQA .
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
andimage 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.