04-07-2023, 01:05 PM
I was going to create a topic with about the same name because I struggle with _PUTIMAGE. I had a silly program going on Linux that re-saved 99% of the desktop screen in strips 20 pixels across. Each strip seemed allocated OK with _NEWIMAGE and saved with _PUTIMAGE, but when I tried to "reconstruct" the screen with the strips the program kept failing right at the first call of _PUTIMAGE. I ended up creating a triple-dimensional array and copying over colors with POINT().
I also had to deal with no support for _SCREENIMAGE on Linux, had to call a program that did a screenshot and saved to PNG, to then be turned into the visual screen by _LOADIMAGE, and _FULLSCREEN it afterwards.
Maybe I'll show off that program but it's Linux only and I'm not in the mood to make sure it works on Windows.
I also had to deal with no support for _SCREENIMAGE on Linux, had to call a program that did a screenshot and saved to PNG, to then be turned into the visual screen by _LOADIMAGE, and _FULLSCREEN it afterwards.
Maybe I'll show off that program but it's Linux only and I'm not in the mood to make sure it works on Windows.