Help displaying a bitonal image with antialiasing

A

Al Reid

I have a series of bitonal TIFF images that I need to display to the user in a form and the image needs to be displayed to fit the
container (PictureBox). I also need to antialias the image for display quality reasons. I can display the TIFF easy enough, and
get it to fit (.SixeMode=Zoom) but I cant figure out how to antialias it. I know it has something to do with InterpolationMode
and/or SmoothingMode, but I just can't seem to get the desired effect. I tried applying the InterpolationMode and/or SmoothingMode
during the PictureBox Paint event :
e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias

e.Graphics.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic



But it had no effect. Can someone point me in the right direction.

TIA,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top