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
 Merged Masked Layer does not store transparency

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
kturkay Posted - Mar 10 2021 : 14:33:00
hi,

now trying to understand images as Mask for transparency.

I set background style as iebsChessboard to see transparency.

loading a png image and psd file as mask.
imageen displays correctly
but when I save with/without mergeall(true)
saved png file does not preserve transparency.
what should I do ?


note: I used ImageEnView1.IO.Params.PSD_LoadLayers := False;
to not to lose the main image layer before loading psd file as mask

attach/kturkay/2021310144151_imgs.zip
144.68 KB
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 12 2021 : 17:29:13
OK, PNG Alpha support via WIC was not added until 9.3.0.

Nigel
Xequte Software
www.imageen.com
kturkay Posted - Mar 11 2021 : 21:19:06
it seems imageen 9.2.6
xequte Posted - Mar 11 2021 : 19:38:58
Yes, without ielib64.dll it falls back to WIC for PNG support. But transparency should still be supported. What version of ImageEn are you using?

Nigel
Xequte Software
www.imageen.com
kturkay Posted - Mar 11 2021 : 00:52:04
I detected the problem, therefore solved. maybe this may help someone.

problem occurs because of I compiled as 64bit executable. and I forgot to put ielib64.dll in same directory. (without ielib64.dll, problem still exists.)
now all worked.
thanks sir
xequte Posted - Mar 10 2021 : 20:31:43
I'm not seeing that. Can you give me the steps to reproduce. Also, always set:

IEGlobalSettings().AutoSetBitDepth := True;

Nigel
Xequte Software
www.imageen.com