I'm trying to export a sprite's costume as a PNG (so there's no background) but it keeps exporting as a .bmp.
Can I get it to export as a PNG?
Offline
Not sure, I tried editing the source once, but it wouldn't work. Good luck.
Offline
Now tell me, was I helpful? LOL XD
Offline
Harakou wrote:
As far as I'm aware, Scratch only supports exporting bitmaps and GIF's.
Unless you hack the code.
Offline
Pecola1 wrote:
Harakou wrote:
As far as I'm aware, Scratch only supports exporting bitmaps and GIF's.
Unless you hack the code.
Modding != Hacking
It takes more than simple code to export in a new format; you also need the correct codec and support for its features.
Offline
Harakou wrote:
Pecola1 wrote:
Harakou wrote:
As far as I'm aware, Scratch only supports exporting bitmaps and GIF's.
Unless you hack the code.
Modding != Hacking
It takes more than simple code to export in a new format; you also need the correct codec and support for its features.
Squeak supports many different image formats.
I looked at the code once and saw that a boolean determines whether it exports as a GIF or as a Bitmap. Let me go check what it was...
Stay posted for episode 5429681, right after a short commercial.
EDIT
Wow, that's weird. It saves images as GIF only if they contain less than 256 colors. That's pretty much never.
Anyway, if you feel like changing the source to allow this it's under
Scratch-Objects -> ImageMedia -> exportFilename:for:
Last edited by LS97 (2011-04-05 11:05:58)
Offline
Scratch can export PNGs. I hacked so that scripts save that way so I don't have to make a separate file.
Offline