Edge lines when scaling transparent image RRS feed

  • Question

  • I draw a bitmap image which has one colour, many pixels wide, all around the edge.  This colour is set transparent (MakeTransparent()).  When it appears on screen the other details are shown correctly, and most of the transparent area is shown as such.  However, there is a line one pixel wide on one or more edges, with a colour approximating the transparent colour.  Seems to vary with the size of rendering. Maybe this is because the scaling algorithm is antialiasing at the edge and producing a row of pixels which is not quite the transparent colour?  How can I avoid this problem?Thanks

    • Moved by Harry Zhu Friday, May 14, 2010 2:33 AM (From:Visual C# General)
    Saturday, May 8, 2010 11:57 AM

All replies

  • Hi,

    Could you please be more specific about the problem? How do you draw the image?

    The question relating to manipulating is beyond the scope of this forum. You might need to try some forums relating to image processing.



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Wednesday, May 12, 2010 6:28 AM