ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Getting Error: Embedded ICC Profile cannot be used

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Jul 01 2019 : 03:50:16
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
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 04 2019 : 23:52:08
Hi Yogi

I have Fireworks rather than Photoshop, but it generally performs the same (with errors I have seen in the past).

Does the code above in a blank project still give you an error in Photoshop?



Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jul 04 2019 : 00:29:12
Hello Nigel,

Did you open the file in Photoshop?

It is Photoshop that is giving error not ImageEn.

TIA


Yogi Yang
xequte Posted - Jul 03 2019 : 18:57:38
Hi Yogi

I tested as follows with a blank project and did not get an error:

  ImageEnView1.IO.Params.PSD_LoadLayers := True;
  ImageEnView1.IO.LoadFromFile( 'D:\0101.PSD');

  IEGlobalSettings.EnableCMS := True;
  IEGlobalSettings.UseCMYKProfile := True;

  ImageEnView1.IEBitmap.PixelFormat := ieCMYK;
  ImageEnView1.IO.Params.BitsPerSample := 32;
  ImageEnView1.IO.Params.SamplesPerPixel := 4;
  ImageEnView1.IO.SaveToFilePSD( 'D:\0101_CMYK2.PSD' );


Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jul 03 2019 : 08:28:41
Hello,

Please download the original PSD file.
https://mega.nz/#!6gwl1CbR!w2qpdYSSVz00g1ecymV4bKNHq4FveI7Qyoamh_e79ts

TIA


Yogi Yang
xequte Posted - Jul 02 2019 : 18:19:38
Please forward the PSD file.



Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jul 02 2019 : 00:33:23
Hello,

I think it has an input profile because we are loading a PSD file (which is 24bit that is in RGB mode in Photoshop terminology) and allowing a user to make modifications and then saving the same PSD file in CMKY format.

TIA


Yogi Yang
xequte Posted - Jul 01 2019 : 17:28:41
Hi Yogi

Does the image have a valid InputICCProfile?

https://www.imageen.com/help/TIOParams.InputICCProfile.html

Nigel
Xequte Software
www.imageen.com