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
 XOR Layer

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
bmesser Posted - Nov 26 2012 : 03:29:37
Hi

I ask this question more in hope than anything else, but fear it's probably not possible.

I am drawing a coastline over a satellite image. I have two PNG transparent images one with a black coastline the other with a white. Sometimes the white image would be best other times the black - I just wondered if it was possible do a little manipulation and make the coastline draw XOR so that the coastline was the reverse of what it was layered on?

I can't imagine this is the case but I'm sure there must be a way to it in some other cunning way.

Bruce.
1   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Nov 26 2012 : 09:09:42
I am not sure if this will work for what you are trying to do, but you can do an XOR on a layer.

See the ...\Samples\ImageEditing\Layers.dpr and specifically look at the SelectedLayer Effects Tab:
procedure Tfmain.ComboBox2Change(Sender: TObject);
begin
  with ImageEnView1 do
  begin
    CurrentLayer.Operation := TIERenderOperation(ComboBox2.ItemIndex);
    Update;
  end;
end;


William Miller