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

Removing transparent #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ali0092
Copy link

@Ali0092 Ali0092 commented Jan 28, 2023

previously the code crops the background and puts the transparent color in the image bitmap, so when we try to overlay two image bitmaps the results look like the below Image1 and Image3. Now the function I added removes the transparent colors also from the image bitmap and now you people can easily overlay images like Image2 and Image4.

Image1
WhatsApp Image

Image2
WhatsApp Image 2023-01-28 at 14 18 51

Image3
WhatsApp Image 2023-01-28

Image4
WhatsApp Image 2023-01-28 at 14 18 52

It is a pleasurable moment for me if this PR got accepted because this is my first contribution.

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.

1 participant