Задайте вопросЗадайте вопрос
 

ОтвеченоC#.net

Ответы

  • 3 июля 2009 г. 18:00litdevОтвечающийМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     Отвечено
    Are you on the right forum, this is SmallBasic only?  Judging by your title C#.net, you might try a C# forum.

    If you are using SB, then color = GraphicsWindow.GetPixel(x,y) and GraphicsWindow.SetPixel(x,y,color), where color is an RGB byte (e.g. ffffff for white) may be used to manipulate the graphics window, but not an image that is not currently displayed.   You would have to display an image first (graphicsWindow.DrawImage or GraphicsWindow.DrawResizedImage) then manipulate the display directly, not the image.

Все ответы

  • 3 июля 2009 г. 18:00litdevОтвечающийМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     Отвечено
    Are you on the right forum, this is SmallBasic only?  Judging by your title C#.net, you might try a C# forum.

    If you are using SB, then color = GraphicsWindow.GetPixel(x,y) and GraphicsWindow.SetPixel(x,y,color), where color is an RGB byte (e.g. ffffff for white) may be used to manipulate the graphics window, but not an image that is not currently displayed.   You would have to display an image first (graphicsWindow.DrawImage or GraphicsWindow.DrawResizedImage) then manipulate the display directly, not the image.