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
 Load Big Picture ( more then 30MB )
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

peberhardt

Germany
21 Posts

Posted - Feb 22 2017 :  06:13:50  Show Profile  Reply
hello,

i use ImageEnVect for show a plan from a building
it is 300 dpi and 1000mm x 840mm ( DIN A0 )

is's a PDF render to PSD

but the resolution it is not clear, better is a rendering
450 dpi or higher.

but the filesize is by 450 dpi to big for the commponent ( Delphi 2007 32bit )

a other solution is http://www.wpcubed.com/pdf/ but i can not realtime zoom
it's a delay from 1-2 seconds ( not so good.... )

1. it's better when i compile witch Delphi 2010 64 bit ( comming soon )
2. it's whitch wpcubed realtime zoom posible

sorry for my realy bad english

peter

xequte

39115 Posts

Posted - Feb 22 2017 :  14:47:45  Show Profile  Reply
Hi Peter

So the image is around 18,000 x 15,000 pixels. That is a lot of pixels to hold in memory at once

What are your settings for:

https://www.imageen.com/help/TIELocation.html

Try using ieFile.


https://www.imageen.com/help/TImageEnView.ZoomFilter.html

rfNone would be fastest for large images


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

peberhardt

Germany
21 Posts

Posted - Feb 23 2017 :  10:30:33  Show Profile  Reply
Hello,
thanks for your answer.

i load the big file as background

<code>
// load the background bitmap ( PSD is very fast )
ImageEnVect1.IO.LoadFromFile(var_pfad_zur_zeichnung);

how and where i use the "Location"

i can not find a sample...


the zoomfilter / rfNone i have checked, rfNone is realy faster


thanks
peter

Go to Top of Page

xequte

39115 Posts

Posted - Feb 23 2017 :  20:07:44  Show Profile  Reply
Hi Peter

Please try:

// Optimize TImageEnView to handle very large images
ImageEnView1.LegacyBitmap := False;
ImageEnView1.IEBitmap.Location := ieFile;


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

peberhardt

Germany
21 Posts

Posted - Feb 24 2017 :  03:23:47  Show Profile  Reply
Hello,

Thank you now it's realy faster and a can load Pictures with 100MB and more

another question:

1. it is possible to load 2 Pictures as background ( Picture left and Picture right )
Tiling or puzzles?

2. it is possible to move a Background?
i draw my Annotation over the background, the problem is when i change the background
and the background ist smaler or greater
the Annotation now not more on the same position


thanks

Peter

Go to Top of Page

w2m

USA
1990 Posts

Posted - Feb 24 2017 :  09:17:31  Show Profile  Reply
 
1. it is possible to load 2 Pictures as background (Picture left and Picture right)

This is not possible, but you can load images into a layer and position the layers to the correct size and position to achieve the same affect
 
Tiling or puzzles?


Try using layers.
 

2. it is possible to move a Background?

No not possible.

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

xequte

39115 Posts

Posted - Feb 24 2017 :  14:16:58  Show Profile  Reply
Hi

Please take a look at the demo:

/Other/CellsAndGrid/CellsAndGrid.dpr

To move the background you need to set:

ImageEnView1.Layers[0].Selectable := True;
ImageEnView1.Layers[0].Locked := False;

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: