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

Question: How about Grok? #265

Open
PetrKotynek opened this issue Feb 7, 2024 · 2 comments
Open

Question: How about Grok? #265

PetrKotynek opened this issue Feb 7, 2024 · 2 comments

Comments

@PetrKotynek
Copy link

Hi,

I quote from iipsrv 1.1 released:
"A possible alternative to OpenJPEG is Grok, an open source fork of OpenJPEG that is a drop-in replacement for OpenJPEG and which includes additional optimizations."

I tried IIPImage Server 1.2 in combination with same Grok versions but failed even with
openjpeg-like versions 2.x. This path ( drop-in replacement ) is definitely not easy at the moment

./configure --with-openjpeg=

because Grok split from openjpeg a long time ago. It's offering

./configure --with-grok=

It could be very fast and at the same time with the benefits of open source.

Regards,

Petr Kotynek
Library of the Czech Academy of Sciences

@ruven
Copy link
Owner

ruven commented Feb 7, 2024

Grok was originally a fork of OpenJPEG with a compatible API. However, Grok has since evolved and now has it's own completely separate API, so would need a new handler within iipsrv. There may well be a small speed improvement, but I'm not sure it will be so significant as OpenJPEG has also made good speed improvements in the last few releases.

If you really want to use Grok, you could try adapting the source code in OpenJPEGImage.cc to follow the Grok API. I'll put this on a list of future features to add, but can't make any guarantees about when this will be available (certainly not in the next release).

@PetrKotynek
Copy link
Author

Thank you for the quick reply ,
I'm afraid the api is beyond my programming skills but I'll look into it.
Petr

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

No branches or pull requests

2 participants