https://bugs.winehq.org/show_bug.cgi?id=54563
--- Comment #5 from 399989567@qq.com --- (In reply to Dmitry Timoshkov from comment #4)
Created attachment 74118 [details] patch
Thanks for the detailed bug report.
Attached patch does fix the background of the problematic GIF image, however I'm not sure that it's the proper solution.
Your modification can indeed solve the problem, I have tried to modify it in this way before, if I remember correctly, this modification can only solve the pink background problem, can not solve the black background problem (I can test it again later)
The essence of this modification is to adjust the transparency of the background color to zero, I think this modification is not correct, the essence of the problem should still be in the parsing of the gif when there is a problem.
I seem to have found something that might be causing a problem, in the function "copypixels_to_32bppBGRA" I output.
" FIXME("source_format:%d %d %d\n",source_format,format_32bppRGB,format_32bppBGRA); "
When I use the official gdiplus.dll (native than buildin) , the problem does not arise and the output here is always: source_format=3; when I use wine's own code, the problem occurs and the output here is alternately "source_format=3 ; source_format=17 "