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

Formats build options? #8123

Closed
blap-o opened this issue Jun 9, 2024 · 1 comment
Closed

Formats build options? #8123

blap-o opened this issue Jun 9, 2024 · 1 comment
Labels
Dependency Installation Usually a problem with … Question

Comments

@blap-o
Copy link

blap-o commented Jun 9, 2024

I have read the Build documentation and I know a couple of image formats can easily be disabled during build by using the different build options like -C jpeg2000=disable.

But Pillow supports 30+ image formats, and only a small part seem to be available as build option toggles.

Is it only possible to enable/disable the formats described in the Build options documentation?

@nulano
Copy link
Contributor

nulano commented Jun 9, 2024

These options are for enabling/disabling third-party dependencies, not image formats.
Some third-party dependencies are only required for a single image format, others are used for multiple image formats.
However, many image formats supported by Pillow have no third-party dependencies and so there is no such flag to disable them at build time.
If you'd like to disable them at run time, have a look at the formats parameter to Image.open.

@nulano nulano added Question Installation Usually a problem with … Dependency labels Jun 9, 2024
@blap-o blap-o closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependency Installation Usually a problem with … Question
Projects
None yet
Development

No branches or pull requests

2 participants