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
 Working with low resolution images
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
727 Posts

Posted - May 18 2014 :  22:56:34  Show Profile  Reply
Hello,

Would it be possible to work with low resolution images for example @72 DPI and then replacing them with actual high resolution before generating the final output file?

Has anyone worked on this line or has any ideas about its possibilities?

I am asking this as ImageEn seems to start crawling the moment we start loading high resolution images. Another thing the memory requirements also seems to increase by leaps and bounces.

In the software that I am building any file will contain minimum 36 layers (can be as high as 82 layers) from which average 30 layers will contain large size high resolution images captured by professional photographers using professional high end digital cameras.

All ideas and suggestions are welcome.

TIA


Yogi Yang

xequte

38514 Posts

Posted - May 19 2014 :  02:52:23  Show Profile  Reply
Hi Yogi

Unfortunately there is no built in functionality for this.

In theory you could do it yourself by loading a "display" sized image and maintaining a record of all the changes made to it, to apply en masse when relevant, but it would require quite a significant infrastructure.



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

nwscomps

185 Posts

Posted - May 22 2014 :  07:00:47  Show Profile  Reply
Which operations especially you find to be slow? Depending on the case I could suggest some solutions.

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page

yogiyang

India
727 Posts

Posted - May 22 2014 :  07:13:49  Show Profile  Reply
For example Rotating a layer interactively with mouse becomes chunky and tends to jump around. This makes it very hard for anyone to rotate a layer interactively.

The same applies to moving layers around.

TIA



Yogi Yang
Go to Top of Page

nwscomps

185 Posts

Posted - May 22 2014 :  08:20:47  Show Profile  Reply
Try setting the zoom filter to rffastlinear, it should be fast enough.
Another solution would be to implement your own moving, rotating and disabling the mouse interact of the viewer. The slowness is due to the fact that imageen update each pixel every time, it has no cache mechanism to store the pixels that do not need to be updated. So for high resolution pictures on slower machines this can be a problem.

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page

xequte

38514 Posts

Posted - May 22 2014 :  18:38:49  Show Profile  Reply
Hi Yogi

Are you using LayersRotationUseFilterOnPreview? This can be slow if you do not enable LayersRotationDelayFilterOnPreview

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

yogiyang

India
727 Posts

Posted - May 26 2014 :  05:26:46  Show Profile  Reply
Sorry for the delay in my reply.

Here is the code that I use:

//Setup for better image viewing on screen
  ImageEnView1.LayersRotationFilter := ierNone;
  ImageEnView1.LayersRotationAntialias := true;
  ImageEnView1.LayersRotationUseFilterOnPreview := True;  //PreviewQuality_Delayed_Best
  ImageEnView1.LayersRotationDelayFilterOnPreview := True;
  ImageEnView1.ZoomFilter := rffastlinear;


Have I to add or remove anything from this?

TIA



Yogi Yang
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: