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


ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 save ImageEnView layers in PSD, SVG and PDF format
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  


33 Posts

Posted - Nov 25 2023 :  11:43:48  Show Profile  Reply
I found in the help for TImageEnIO.SaveToFileIEN the information that I can also save the layers in PSD, SVG and PDF format

I try to use the code like in the help example:

// Save current layer configuration (compress images as PNG)
ImageEnView1.IO.Params.IEN_Compression := ioPNG;
ImageEnView1.IO.SaveToFileIEN( 'D:\layers.ien' );

Unfortunately the format of the resulting file is not png
I cannot open it in Paint
when I look in the file content with Notepad++ I see something like this:


It's like the content I got when I saved to .ien file

what's the proper way to save layers in other then .ien format?



38323 Posts

Posted - Nov 26 2023 :  00:11:42  Show Profile  Reply
Hi Kowal

That option only specifies the internal format for the layers file, it is still an IEN wrapper so unrecognized by other applications.

ImageEn only supports saving layers in IEN, PSD, PDF and SVG format. However the only one that ImageEn fully supports (with all layer options) is IEN.

Xequte Software
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: