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
 Layered Magnify

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 - Oct 25 2012 : 00:16:16
Hi

I wonder if this is possible:

I have a map background image of 500x500
On that I overlay a rainfall radar image of 500x500.
Great every things fine.
What would be better was a higher resolution map say 1000X1000 (to give me greater map resolution) but obviously when I do that the other layers don't match. It would be great if I could magnify the other layers independently of the base layer so that they did match.

I have tried setting a magnify record :

rec.Enabled:=True;
rec.Rate:=2;
rec.Style:=iemRectangle;
rec.Source:=iemBackgroundLayer;

but that seems to affect all the layers and not just a single layer. Is what I'm trying to do achievable?

Bruce.
2   L A T E S T    R E P L I E S    (Newest First)
bmesser Posted - Nov 04 2012 : 04:32:03
Hi Fabrizio

It's always good to hear from you!

Thanks for the tip.

ImageEN is the best


Bruce.
fab Posted - Nov 03 2012 : 13:49:51
Hi,
you can resize the second layer, with:
ImageEnView.Layers[1].Width := 1000;
ImageEnView.Layers[1].Height := 1000;

or

ImageEnView.LayersCurrent := 1;
ImageEnView.Proc.Resample(1000, 1000);