Tuesday, March 23, 2010

Image opened via OLE - missing colour...

Hello



I'm using OLE via MFC/C++ to edit an image in PhotoShop in Windows XP.



To edit an image I first write it into a temporary psd file and then open this file in Photoshop using something like mpItem-%26gt;CreateFromFile(fileName, clsid)- where mpItem is a type of COleClientItem.



If I embed a colour profile in my temporary psd file then I find that this is not loaded with the image when I use the OLE mechanism. If I open my temporary file directly in Photoshop then it does get loaded.



I also find that there appears to be a limit on the size of image that can be opened using this OLE mechanism - around 2000 pixels in either direction.



Has anyone else come across these issues and if so, how did you solve or work around them?



Many Thanks

Des

No comments:

Post a Comment