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,
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,