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

Encoder #5

Open
T8RIN opened this issue Aug 23, 2023 · 6 comments
Open

Encoder #5

T8RIN opened this issue Aug 23, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@T8RIN
Copy link

T8RIN commented Aug 23, 2023

Will the encoder be added?

@umjammer umjammer added the enhancement New feature or request label Sep 9, 2023
@umjammer
Copy link
Owner

umjammer commented Sep 9, 2023

currently no.

imo

  • java should read every data format
  • java should write data using the best (≒ de facto standard) format only

i chose 'avif' as the de facto standard.
so writing 'jpeg-xl' has not been implemented yet.

do u still want this feature?
this is a hobby project, wait patiently for that time.

@umjammer umjammer pinned this issue Sep 11, 2023
@T8RIN
Copy link
Author

T8RIN commented Sep 12, 2023

currently no.

imo

  • java should read every data format
  • java should write data using the best (≒ de facto standard) format only

i chose 'avif' as the de facto standard.
so writing 'jpeg-xl' has not been implemented yet.

do u still want this feature?
this is a hobby project, wait patiently for that time.

Is there is java lob which can write avif without cpp ?

@umjammer
Copy link
Owner

it seems there is no avif in pure java.

i tried to write avif in pure java before,
but i realized libavif is just an integration library for several codec libraries.

that means libavif consists of

  • libaom (encoder and decoder)
  • dav1d (decoder)
  • libgav1 (decoder)
  • rav1e (encoder)
  • SVT-AV1 (encoder)

and most of those library are written in assembler not even in C!
porting those assemblers into java is beyond my capacity.
so i quit porting libavif into java.

recently macos and windows? supports avif os natively.
it's better to wait until android supports avif natively.

@T8RIN
Copy link
Author

T8RIN commented Sep 12, 2023

Sounds quite interesting :)

@T8RIN
Copy link
Author

T8RIN commented Sep 12, 2023

it seems there is no avif in pure java.

i tried to write avif in pure java before,
but i realized libavif is just an integration library for several codec libraries.

that means libavif consists of

  • libaom (encoder and decoder)
  • dav1d (decoder)
  • libgav1 (decoder)
  • rav1e (encoder)
  • SVT-AV1 (encoder)

and most of those library are written in assembler not even in C!
porting those assemblers into java is beyond my capacity.
so i quit porting libavif into java.

recently macos and windows? supports avif os natively.
it's better to wait until android supports avif natively.

Didn't know that it was written on an assembler, that is mind-blowing for me, because i thought it was C...

@umjammer
Copy link
Owner

umjammer commented Feb 4, 2024

jpeg-xl is better than avif???

https://support.imageengine.io/hc/en-us/articles/16739209580301

anyway avif is still de facto standard because my chrome browser doesn't support jpeg-xl yet

https://caniuse.com/jpegxl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants