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

Working with grayscale png images #147

Open
virgo79 opened this issue Oct 20, 2023 · 0 comments
Open

Working with grayscale png images #147

virgo79 opened this issue Oct 20, 2023 · 0 comments

Comments

@virgo79
Copy link

virgo79 commented Oct 20, 2023

How to make it work with grayscale png images?

I'm having trouble trying to merge a text layer with a grayscale png image.
Everything works fine if the image is RGB and the result is the same RGB image with a merged text on top.

But if the image is grayscale, the resulting file after the save() function is an empty file.

Thanks in advance, any suggestions are greatly appreciated.

@virgo79 virgo79 changed the title Working with grayscale images Working with grayscale png images Oct 20, 2023
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

No branches or pull requests

1 participant