Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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;