Forum

> > CS2D > Scripts > Creating BMP,PNG,JPEG image files with lua
Forums overviewCS2D overview Scripts overviewLog in to reply

English Creating BMP,PNG,JPEG image files with lua

3 replies
To the start Previous 1 Next To the start

old Re: Creating BMP,PNG,JPEG image files with lua

Cure Pikachu
User Off Offline

Quote
Technically possible, but practically very difficult to accomplish. Main reason being you have write the file byte by byte and also know in depth the specifications for those image formats.

Like, this is a thing but converting it into CS2D-compatible Lua code is still a challenge.

old Re: Creating BMP,PNG,JPEG image files with lua

VADemon
User Off Offline

Quote
@user 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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview