Hello,
I am trying to save to PSD file format from IE.
For this I am using following code:
IEGlobalSettings.EnableCMS := True;
IEGlobalSettings.UseCMYKProfile := True;
ieViewMain.IEBitmap.PixelFormat := ieCMYK;
ieViewMain.IO.Params.BitsPerSample := 32;
ieViewMain.IO.Params.SamplesPerPixel := 4;
ieViewMain.IO.SaveToFilePSD(SaveDialogPSD.FileName);
But the resulting file when opened in Photoshop gives following error:
The embedded ICC profile cannot be used because the ICC profile is invalid
How to solve this problem?
TIA
Yogi Yang