Anti-aliasing on a picture box

Posted on 2008-11-11
Last Modified: 2012-05-05
I have a plain picturebox in 2005. I fill it with a picture that is larger than the box. If I select sizemode Stretch, or Zoom, the resized picture is not looking too good due to interference-lines, is there a way to do smoothing/anti-aliasing on an image loaded into a picturebox?

Thanks in advance
Question by:liversen
    LVL 46

    Accepted Solution

    Hi liversen,

    If it's already loaded into the picture box - not really. If you are adding the image at design time, your best bet is to resize the image before you add it to the picture box.


    LVL 1

    Author Closing Comment

    I was hoping for an easier solution but that doesn't seem to be possible

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now