Artifacting/Blurriness RRS feed

  • Question

  • User-1978466568 posted

    Searched and couldn't find anything on the net or in the forums.

    I have some rectangles that have a solid black border that  I fill with a solidbrush in various different colors,

    When the image is rendered there are artifacts or some kind of blurriness in side the borders of the rectangle in the colored portion. I played around with the grpahic.smoothingmode but couldn't get it to go away. Any suggestions?


    Here is the image. You can see what I am referring to in the upper right hand corner in the red squares.


    Monday, February 7, 2011 4:26 PM


  • User-1978466568 posted

    I ended up saving the image as a PNG file and it solved it.

    JPEG is a lossy format, while png is not. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 8, 2011 5:02 PM