Skip to content

Removing transparent#6

Open
Ali0092 wants to merge 2 commits into
GhayasAhmad:masterfrom
Ali0092:removing_transparent
Open

Removing transparent#6
Ali0092 wants to merge 2 commits into
GhayasAhmad:masterfrom
Ali0092:removing_transparent

Conversation

@Ali0092
Copy link
Copy Markdown

@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