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
 Combine annotations with background bug
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graphman

259 Posts

Posted - May 31 2013 :  03:07:51  Show Profile  Reply
We tested your new release and we found another fault.

I try explain to you what we do.

1) Cut out part of bitmap.

2) Paste this cut out to other place.

3) Insert new annotation (any).

4) Combine all annotations with background.

After that drawing is damaged.

ORIGINAL



RESULT after combining

fab

1310 Posts

Posted - Jun 06 2013 :  00:26:30  Show Profile  Reply
There is a bug on copy/cut to clipboard and will be fixed in next minor release. Unfortunately copy/cut functions copied also an non-existent alpha channel that is copied back "on paste".
CopyObjectsToBack with native pixel format (last parameter = true) doesn't work with images having alpha channel, and this is the reason of the problem.

A workaround is to execute:

ImageEnVect1.RemoveAlphaChannel();
just before CopyObjectsToBack.

Or call CopyObjectsToBack with second parameter = false (MergeAlphaChannel):

ImageEnVect1.CopyObjectsToBack(true, false, false);

Hope this helps.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: