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

black image bug after download #409

Open
anazelo21 opened this issue Nov 23, 2021 · 10 comments
Open

black image bug after download #409

anazelo21 opened this issue Nov 23, 2021 · 10 comments

Comments

@anazelo21
Copy link

since yesterday, all the images I download after inserting texts from the addtext application come completely black
Screenshot_2021-11-22-17-42-19-976_com android chrome

@nagadomi
Copy link
Owner

What is the format of the input data?
A few days ago, I blocked GhostScript for security reasons. Some text format data such as PostScript can no longer be handled.

@anazelo21
Copy link
Author

manipulados

I did it on my cell phone, through the Add Text application, I formed jpg to PNG.
Screenshot_2021-11-23-14-06-52-176_com android vending

@nagadomi
Copy link
Owner

Could you upload a sample image file here that produces a black image as a result?

@anazelo21
Copy link
Author

every image I edit in add text has the same result
AddText_11-22-12 20 48

@nagadomi
Copy link
Owner

It seems that the color profile (image metadata) is causing the problem. Removing the icc profile works.
I will try to find out what the problem is, but I don't know if I can fix it.

@anazelo21
Copy link
Author

the problem only happens when I go through the app. I passed the image through the site without editing and it worked

@nagadomi
Copy link
Owner

Then maybe that app is adding a color profile to the image.

@anazelo21
Copy link
Author

would I be able to solve this?

@nagadomi
Copy link
Owner

A workaround is to remove the metadata from the image. I don't know what software is available. (I used imagemagick on Linux to remove it convert -strip input_image.png input_imge.png)
If waifu2x site can handle it, I will fix it, but I haven't looked into it yet.

@anazelo21
Copy link
Author

I will try. Thank you so much!

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

2 participants