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

transparent img #9

Open
Alan29535 opened this issue Feb 1, 2022 · 4 comments
Open

transparent img #9

Alan29535 opened this issue Feb 1, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Alan29535
Copy link

If my image has a transparent or dark background, is there any way to allow the script to identify this image?
I have tried to change the background color by adding values to all pixels, but it still does not work as the color image converts to grayscale, then shows an error: I computed that background is 'dark' which is unacceptable to me.

@dilawar
Copy link
Owner

dilawar commented Feb 1, 2022

Can you post the image?

@Alan29535
Copy link
Author

0314_006_1-PEEPreduced-from_10to5

@dilawar
Copy link
Owner

dilawar commented Feb 1, 2022

Thanks for the image. It is very helpful.

You may try https://superuser.com/questions/1194468/invert-colors-with-imagemagick and invert the colors of this image. Run the script again and see if you get you helpful results.

Unfortunately, I am short of time these days so I may not be able to look at this issue in detail anytime soon.

@dilawar dilawar reopened this Feb 1, 2022
@dilawar dilawar self-assigned this Feb 1, 2022
@dilawar dilawar added the enhancement New feature or request label Feb 1, 2022
@Alan29535
Copy link
Author

Thanks for the image. It is very helpful.

You may try https://superuser.com/questions/1194468/invert-colors-with-imagemagick and invert the colors of this image. Run the script again and see if you get you helpful results.

Unfortunately, I am short of time these days so I may not be able to look at this issue in detail anytime soon.

thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants