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 RGB/CMYK images with bits per component < 8 #8

Open
felipeochoa opened this issue Jun 8, 2015 · 0 comments
Open

Support RGB/CMYK images with bits per component < 8 #8

felipeochoa opened this issue Jun 8, 2015 · 0 comments
Assignees

Comments

@felipeochoa
Copy link
Owner

There's already a commented-out section of code for roughly dealing with images where the BPC is 2 or 4. However, there may be a more efficient way by

  1. Submitting an upstream (i.e., PIL) patch to support these use-cases; or
  2. Using the existing 1, L;2, and L;4 modes to expand the the data and then using tobytes and
    frombytes
@felipeochoa felipeochoa self-assigned this Jun 8, 2015
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

1 participant