Forum
Scripts
Creating BMP,PNG,JPEG image files with lua
Creating BMP,PNG,JPEG image files with lua
3 replies
1

Like, this is a thing but converting it into CS2D-compatible Lua code is still a challenge.
Cure Pikachu's library will work, you just need to load the bit-library (or find a replacement). Not too hard.I was finishing a bitmap writer in pure Lua for another side project, but it was only 90% finished. I was surprised how little good information I could find on a such popular format as .bmp.
VADemon). However, if you have plan to transmit the generated image later to clients, then don't bother. serverinfo.lst is read on server startup only. You can modify it at runtime but changes to it only take effect on server restart.
1

Offline