http://bugs.winehq.org/show_bug.cgi?id=9262
Summary: Adobe Photoshop CS filter gallery preview doesn't work Product: Wine Version: CVS Platform: All URL: http://download.adobe.com/pub/adobe/magic/photoshop/win/ 8.x/AdobePhotoshopCS.zip OS/Version: All Status: NEW Keywords: download Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Run Adobe Photoshop CS. Open an image. Go to Filter / Filter Gallery. Open up each of the filter groups in turn. The gallery is supposed to show a sample of each filter applied to a sample image, but the filtered sample images are really hard to make out, they don't seem to be displayed properly.
http://bugs.winehq.org/show_bug.cgi?id=9262
--- Comment #1 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-08-27 19:17:14 --- Created an attachment (id=7844) --> (http://bugs.winehq.org/attachment.cgi?id=7844) patches
This bug is caused by AlphaBlend ignoring the blendFunction.AlphaFormat field. Currently we assume it's value is AC_SRC_ALPHA - the alpha data is available for each pixel as an alpha channel in the DIB. However if this field is 0 we should assume that each pixel have a constant alpha (it's written in a very unclear way in the MSDN that this value is valid). With this patch the filter gallery seems to be drawn correctly.
I don't know if this way of solving it is the best or there is a way to ask XRender to do it for us. I will try to find some documentation of it. Also even with this patch we ignore SourceConstantAlpha (Photoshop filter gallery doesn't use it) - a factor by which we rescale the alpha values. It's probably rarely used if there is an alpha channel but it's the way to manipulate transparency without an alpha channel. Adding it only for the later case is trivial but I will search if there is a way that would work for both 0 and AC_SRC_ALPHA.
http://bugs.winehq.org/show_bug.cgi?id=9262
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-08-31 12:27:30 --- The patch http://www.winehq.org/pipermail/wine-cvs/2007-August/035803.html went into Git and will be in Wine releases starting from Wine 0.9.45.
http://bugs.winehq.org/show_bug.cgi?id=9262
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Dan Kegel dank@kegel.com 2008-01-28 05:21:52 --- Closing all RESOLVED FIXED bugs more than three months old.
http://bugs.winehq.org/show_bug.cgi?id=9262
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=9262
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other OS/Version|All |other
--- Comment #4 from Austin English austinenglish@gmail.com 2012-02-23 15:11:54 CST --- Removing deprecated 'All' Platform/OS.