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
 Layered Magnify
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
234 Posts

Posted - Oct 25 2012 :  00:16:16  Show Profile  Reply
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.

fab

1310 Posts

Posted - Nov 03 2012 :  13:49:51  Show Profile  Reply
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);
Go to Top of Page

bmesser

United Kingdom
234 Posts

Posted - Nov 04 2012 :  04:32:03  Show Profile  Reply
Hi Fabrizio

It's always good to hear from you!

Thanks for the tip.

ImageEN is the best


Bruce.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: