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

Support jpeg2000 images #827

Closed
mjsir911 opened this issue Feb 13, 2025 · 2 comments · Fixed by #828
Closed

Support jpeg2000 images #827

mjsir911 opened this issue Feb 13, 2025 · 2 comments · Fixed by #828
Labels
Enhancement New feature or request good first issue Good for newcomers

Comments

@mjsir911
Copy link

Hi,

I'm trying to optimize a pdf composed of (mostly) jpeg2k images, extracted with pdfimages -all.

Would be cool for me to just go straight from these without having to add another processing step.

thanks

@axu2
Copy link
Collaborator

axu2 commented Feb 13, 2025

Can you code and open a PR? The readme has a developer guide.

Pillow supports .jp2 so it might be as simple as adding it to the list of supported extensions.

Hint: search for the list that contains ".webp" @mjsir911

https://github.com/search?q=repo%3Aciromattia%2Fkcc%20webp&type=code

@axu2 axu2 added good first issue Good for newcomers Enhancement New feature or request labels Feb 16, 2025
@axu2 axu2 mentioned this issue Feb 17, 2025
@axu2
Copy link
Collaborator

axu2 commented Feb 17, 2025

@mjsir911 Can you test the PR? Prebuilt versions linked there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants