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

Allow passing format to Image#get_pixels so we can request "RGBA" pixels #537

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

catlee
Copy link
Contributor

@catlee catlee commented Feb 19, 2022

Image#get_pixels currently hardcodes fetching RGB pixels.

This PR allows passing "RGBA" to the method to fetch RGBA pixels.

@janko
Copy link
Member

janko commented Feb 19, 2022

Looks good, thanks!

@janko janko merged commit 39b3ed4 into minimagick:master Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants