-
Notifications
You must be signed in to change notification settings - Fork 16
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
GraXpert-3.0.2: PNG / TIFF exports fail denoise while FITS work #152
Comments
Hi, |
Hi, it looks like a transparency or alpha channel was added to your png file in Gimp. When you remove the alpha channel in Gimp and then save it again, it should work in GraXpert. CS Steffen |
Your support came lightning fast! Sure, R + G + B + alpha are 4 channels where only 3 channels are expected. Thus alpha must be omitted. First, I made sure all alpha channels were removed from every layer. Then I mixed them for export but didn't realize another alpha channel was activated for the final image. After having deleted this channel also, right before the export, everything worked as expected instantly, in GraXpert. Thank you, Guys! |
2024-05-18 21:13:18,864 MainProcess root INFO Starting denoising Bonjour Pouvez-vous m'expliquer le probleme ?? |
HI @rnon890, could you try to reduce the batch size to 1? |
[Linux Ubuntu-22.04.x / Gimp-2.10 / GraXpert-3.0.2]
A former successfully GraXpert-denoised PNG image was used as a layer in Gimp. After finishing all intended tweaks, I combined the visible layers and exported them into a PNG file.
Because new noise was introduced by another Gimp layer, I curiously fed this PNG to GraXpert again.
1st try - see attached log file "graxpert.log_1_PNG.log":
The image loaded fast and fine. I did nothing else but clicking "Bild entrauschen" [Start Denoising]. After some seconds the following error box appeared:
"An error occured during denoising. Please see the log at /home/me/.cache/GraXpert/log/graxpert.log"
2nd try - see attached log file "graxpert.log_2_TIF.log":
To narrow the error, I then exported the PNG out of Gimp into a TIFF file. This TIFF file showed the exact behavior and error message in GraXpert as the PNG file did.
3rd try - see attached log file "graxpert.log_3_FIT.log":
Finally, I again exported the PNG out of Gimp, but this time into a **FITS'' file. Surprise! This FITS file appeard upside down (i.e. vertical mirrored) BUT the denoising works error free and fine as expected.
Summary:
Those two files (PNF, TIFF) that yields the mentioned error both contain the exact same hint:
So obviously
index: 3 Got: 4 Expected: 3
is the culprit.graxpert.log_1_PNG.log
graxpert.log_2_TIF.log
graxpert.log_3_FIT.log
The text was updated successfully, but these errors were encountered: