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
 Please add IEFlip To TIEBitmapHelper
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - May 18 2015 :  17:47:44  Show Profile  Reply
There is no TIEBitmapHelper.IEFlip method. TBitmapHelper.IEFlip looses the alpha channel. I am trying to figure out how to flip a selection with alphachannel either by flipping the IEBitmap or by creating a layer with LayersCreateFromSelection then flip the layer. So far nothing seems to work for me.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development

xequte

38514 Posts

Posted - May 19 2015 :  17:16:09  Show Profile  Reply
Hi Bill

I've just pushed an update to the git repository. Please download it.

To flip just the selection use:

  aIEBitmap := TIEBitmap.create;
  ImageEnView1.CopySelectionToBitmap( aIEBitmap );
  aIEBitmap.Flip( fdVertical );
  ImageEnView1.ApplyBitmapToSelection( aIEBitmap );
  aIEBitmap.Free;


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

w2m

USA
1990 Posts

Posted - May 19 2015 :  19:00:34  Show Profile  Reply
Got it... Thanks Nigel.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: