Stupid graphics experiment - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Programs (https://staging.qb64phoenix.com/forumdisplay.php?fid=7) +---- Thread: Stupid graphics experiment (/showthread.php?tid=1489) |
Stupid graphics experiment - mnrvovrfc - 02-20-2023 I failed to come up with a quick example for the new third parameter of _LOADIMAGE(), didn't pay attention that the string is supposed to be just like one that could be loaded from JPEG, PNG, PCX etc. graphics file format. Enjoy this, it's my first successful experiment ever with _MEMCOPY. A good improvement is to change the palette, either as greyscale or along a cool gradient. Code: (Select All) 'by mnrvovrfc 20-Feb-2023 RE: Stupid graphics experiment - mnrvovrfc - 02-20-2023 Here is one possibility: Code: (Select All) 'The next line is duplicated from the code above. Insert the other three lines into the code above. |