Hi, A user of my Paint Shop Pro file format plugin (now 6.5 years old) recently reported a bug and provided some test .pspimage files to trigger it. The issue is quite simple, on reading these files, the red channel is solid white, but all other channels are read correctly. The baffling part is: I've confirmed that the correct channel data is being passed to Photoshop. In addition, the following parameters are set: imageMode=3 imageSize=(630,627) depth=8 planes=4 res=72dpi theRect=(2,0,632,627) loPlane=0 hiPlane=0 colBytes=1 rowBytes=630 planeBytes=395010 data=0xaa2f000 theRect=(2,0,632,627) loPlane=1 hiPlane=1 colBytes=1 rowBytes=630 planeBytes=395010 data=0xaa2f000 theRect=(2,0,632,627) loPlane=2 hiPlane=2 colBytes=1 rowBytes=630 planeBytes=395010 data=0xaa2f000 theRect=(2,0,632,627) loPlane=3 hiPlane=3 colBytes=1 rowBytes=630 planeBytes=395010 data=0xaa2f000 Is anyone aware of anything that might trigger Photoshop to ignore the red (first) channel passed in? Note that this only happens with certain files, and always to those files, and never to other files. One might justifiably argue that the issue must be input data dependent. However, as I say, I have confirmed that the correct channel data is being passed to Photoshop in pb->data. Tested on PS 7.0 and PS CS2 on PowerPC. The exact code tested is revision 44 of http://telegraphics.com.au/svn/pspformat/trunk/ --Toby
... View more