Forum

> > CS2D > Scripts > Creating BMP,PNG,JPEG image files with lua
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Creating BMP,PNG,JPEG image files with lua

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

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

Cure Pikachu
User Off Offline

Zitieren
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.

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

VADemon
User Off Offline

Zitieren
@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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht