Posts: 3,522
Threads: 189
Joined: Dec 2003
How about it?
We can already load them using BLOAD, being able to save them with BSAVE is just a natural step
Posts: 677
Threads: 57
Joined: Jan 2005
I think someone should make a libary or something which allows us to do that (don't look at me, i haven't got a clue where to begin, i guess i could TRY to port an old qb bmpsaver, but i doubt i could do that without failing miserably).
url=http://www.sloganizer.net/en/]
[/url]
Posts: 3,522
Threads: 189
Joined: Dec 2003
It's nothing hard..
It would just be nice to have it builtin.. as we already have a BMP loader..
Posts: 62
Threads: 2
Joined: Apr 2005
I agree that it would be nice to have built in. What do you say lillo?
-gunder
gunder
"I have a perfect body, but it's in the trunk and starting to smell."
Posts: 3,522
Threads: 189
Joined: Dec 2003
I expected something like that..
Seeing as BMP loading is already implemented, why not have BMP saving?
It's not like we're asking for a fully working 3D engine that'll bloat any exe with about 100MB..
Posts: 489
Threads: 34
Joined: Jan 2005
i think it would be better to have a png or other alpha-channel capable format made bloadable first so people can use the alpha mode easier
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Posts: 3,522
Threads: 189
Joined: Dec 2003
PNG requires zlib, thats ~50kb
Posts: 1,272
Threads: 36
Joined: Feb 2003
So, something like this?
Code:
Syntax: BSAVE "filename.bmp", VARPTR(sprite(0))[, length]
1. saves in BLOAD/BMP format depending on if you omit the length parameter
2. To save as a bitmap, sprite() MUST be a GET/PUT format sprite so that BSAVE can extract the width/height
Posts: 62
Threads: 2
Joined: Apr 2005
I agree with Z!re, I don't think it would be very hard to add BMP saving. If he doesn't want to add it it's not a big deal.
-gunder
gunder
"I have a perfect body, but it's in the trunk and starting to smell."