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
 Quality of TIFF Picture
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mivi71dk

Denmark
9 Posts

Posted - Sep 10 2014 :  02:46:23  Show Profile  Reply
Hi

I have made a program, where user can see a TIFF file.
But the quality of the TIFF pciture is not good.

The attached file shows the same TIFF file (and I cant attach a file. It keeps saying "Invalid String ")
The left is viewed by IrFanView.
The right is viewed by my program.

I suspect there must be a setting, which I can change to have it as clearly as the other?

Mivi

pierrotsc

USA
497 Posts

Posted - Sep 10 2014 :  07:17:43  Show Profile  Reply
you have to change the quality of the zoom:
if dxBarButton_BestQuality.Down then
Mainform.ImageEnVect.ZoomFilter := rfLanczos3
else
Mainform.ImageEnVect.ZoomFilter := rfNone;

The only thing i noticed is that it slows down the moving of layer considerably.

Pierre
Go to Top of Page

xequte

38616 Posts

Posted - Sep 10 2014 :  13:15:04  Show Profile  Reply
Hi

Yes, ZoomFilter will make it look signficantly better. rfLanczos3 is probably the best looking, though is slower. You might also consider rfFastLinear.

You can also use DelayZoomFilter to reduce the impact of the smoothing filter.

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

mivi71dk

Denmark
9 Posts

Posted - Sep 15 2014 :  04:15:00  Show Profile  Reply
Thank you all.

This was indeed what I was looking for :)

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