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
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 timageenio.savetostream and 32 bits pixel format
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

nwscomps

185 Posts

Posted - Jan 10 2014 :  12:38:55  Show Profile  Reply
Loadfromstream and savetostream methods will not work as you would expect using a TIEBitmap with ie32rgb pixel format. The picture data are converted to 24 bits format when saved.
I see from the code that in order to make it work I should add an alpha channel to the TIEBitmap.
Is it possible to make it work without any work around in later versions?
Thanks


Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library

xequte

39064 Posts

Posted - Jan 10 2014 :  15:19:39  Show Profile  Reply
Hi Francesco

Have you enabled NativePixelFormat?

http://www.imageen.com/help/TImageEnIO.NativePixelFormat.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

nwscomps

185 Posts

Posted - Jan 11 2014 :  08:37:55  Show Profile  Reply
Hi Nigel, yes I have tried to set the NativePixelFormat to true but it will not work. Is it supposed to work also when saving?

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: