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
 ImageEnDBView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

chouk

Algeria
28 Posts

Posted - Sep 30 2012 :  03:46:23  Show Profile  Reply
Hi,

first, excuse my english,

I use Delhpi 7/ IE 3.0 / Firebird 2.1 and Unidac 2.70

I save icone (PNG file) in the Blob field (subtype 0 Segment size 80) with the ImageEnDBView (Datafieldimage = ifBitmap). It's work but the background of image is black, i want to conserve transparency of image.

If i change the Datafieldimage = ifPNG), i get execption :
Einvalidgraphic
Error in the dbimageen, line 424 :
(fdatalink.field as tblobfield).loadfromstream(ms)

Thank's for help

fab

1310 Posts

Posted - Oct 10 2012 :  12:03:14  Show Profile  Reply
Hi,
please try a newer version of ImageEn. DataFieldImageFormat = ifPNG should work.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: