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
 Save layers in PNG with transparent background

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
AndNit Posted - Apr 26 2023 : 09:25:22
Hello,
I haven't started the studies to meet this need yet, but aware of the excellent support from you here in the Forum, I already anticipate my questioning in order to have your opinion.
I have the need to create two or more layers in an image, these layers will receive annotations (text box) and marks (select text) using ImageEn resources. So far so good, I know that there are resources for that and I can even save everything in a “.ien” extension, but this extension only serves to reopen the layers using ImageEn itself, and my need is to transport this to another system (which not developed by us) and which does not have ImageEn.

I thought, given this condition, of creating a layer for each new markup in the original document and saving it in PNG with a transparent background, when it was necessary to open these documents and view the marks in it, load the PNGs on top of the original image, which needs to be preserved and cannot be duplicated due to disk space concerns.
In case my need was clear, do you believe it is possible to execute this routine with ImageEn and with your experience, do you suggest anything in view of this scenario?
thank you for your attention

At.
Carlos Andre Pavon
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 10 2023 : 14:20:30
Nice one

Nigel
Xequte Software
www.imageen.com
AndNit Posted - May 10 2023 : 06:04:40
Hey,

I had the following solution to the problem:

1 - I created a transparent background file, which whenever the client needs to annotate the images I load it as layer 1, always the size of layer 0.

2 - after changes in layer 1, text markings (miBrushTool), additions of new layers (ielkText), etc. I leave my layer 0 invisible, I merge all the other layers (image.LayersMerge (selLayers);) into one, if there are more than one.

3 - Save this Image as a PNG.

4 - when I need to view the annotations I load this PNG over the original image.

that way I can take up less disk space (my images are very large) and have interoperability between systems that don't use ImageEn.

I hope to help colleagues who need this solution.
xequte Posted - Apr 26 2023 : 23:39:19
Hi Carlos

At this time ImageEn supports the following layer formats when saving:
- PhotoShop (though the images will be saved as image layers)
- SVG (with some limitations)
- Adobe PDF (with some limitations)

Nigel
Xequte Software
www.imageen.com