This is a Lua script I've been using for this myself: https://gist.github.com/cheapie/e4edc2ea274750c235c984d972703803
Runs outside of the game, requires lua-imlib2, and takes one argument (the path to an image file). It'll then spew two things - the image in table format (as a digiscreen would need) and in the "packed" format for the "loadpacked" command of digistuff's GPU.
Do make sure you scale the image to whatever size you want ahead of time - it won't try to do that for you, and will process whatever resolution the input is whether that's what you want or not.
This is a Lua script I've been using for this myself: https://gist.github.com/cheapie/e4edc2ea274750c235c984d972703803
Runs outside of the game, requires lua-imlib2, and takes one argument (the path to an image file). It'll then spew two things - the image in table format (as a digiscreen would need) and in the "packed" format for the "loadpacked" command of digistuff's GPU.
Do make sure you scale the image to whatever size you want ahead of time - it won't try to do that for you, and will process whatever resolution the input is whether that's what you want or not.