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

Problem with transparency, #639

Open
mizka76 opened this issue Feb 14, 2025 · 4 comments
Open

Problem with transparency, #639

mizka76 opened this issue Feb 14, 2025 · 4 comments

Comments

@mizka76
Copy link

mizka76 commented Feb 14, 2025

Version information

hello,
With the last nightly version

I got this when deleting a white background on a jpg image ( with the magic wand) and then convert it to webp. i tried again with another image, deleting with the eraser , same kind of result .....
i didn't edit image before , Two daus ago, I just needed to open an avif file so PhotoDemon uploaded the library to open it -- don't know if it have some link...
I hope this helps you .

Image

Thank you for all your great work !

@mizka76
Copy link
Author

mizka76 commented Feb 14, 2025

hello aggain,
maybe on bad compressed jpg files ? it tried again on other images, the transparency is ok, ( i re opened photodemon, changes many times parameters , (generic, better etc ) and it is now ok .

@tannerhelland
Copy link
Owner

Hello @mizka76 . Thank you for posting this issue!

The nature of the bug looks like something may be happening inside libwebp (the official Google WebP library that PhotoDemon uses for WebP files). There is a newer version of libwebp available that may include a fix for this. It will take me a few days, but I will work on getting that new version integrated into PhotoDemon nightly builds.

If you are able to reproduce the problem, I would be very grateful for a screenshot of the WebP settings that cause it. (It is likely a specific combination of image file + WebP settings - for example sometimes there are bugs that only occur at specific image dimensions.)

Thank you so much in advance, and I will report back when I have the latest libwebp added to nightly builds.

tannerhelland added a commit that referenced this issue Feb 14, 2025
Relates to #639.  Thank you to @mizka76 for filing the WebP-related issue that prompted this update!
@tannerhelland
Copy link
Owner

Okay, I lied - it didn't take a week! I pushed a new nightly build tonight with an updated copy of libwebp right now (v1.5.0 instead of the old 1.4.0) 😄

I hope that solves this problem, but if not please let me know and I will dig deeper. Thank you!

@mizka76
Copy link
Author

mizka76 commented Feb 15, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants