When importing an mp3 into scratch, it is turned into the memory-wasting .wav format.
When importing png images, the are converted to bmp (Yup, the thing they made in the 80's and only MS-Paint and Scratch are still using it)
What if lossless data compression is added to Scratch? Like the PNG format?
Offline
Yeah that always bugged me. I don't see the logic behind it either.
Offline
JSO, importing media into Scratch does not necessarily blow up the project's size, because Scratch uses several internal compression algorithms when writing project files to disk. You might be misunderstanding some conversions in the source code: While Scratch is running it is - of course - internally mapping pictures to bitmaps (Forms) and sounds to wavetables. As fas is I'm aware every media-editing software needs to do that.
Offline
When I imported a 4mb mp3 song, it says:
- "reading song.mp3"
- "converting song.mp3 to mono..."
- "downsampling song.mp3..."
And then it says 11 ### kb... I dind't knew it was compressed (lossless) afterwards. Sorry.
Offline
JSO wrote:
When I imported a 4mb mp3 song, it says:
- "reading song.mp3"
- "converting song.mp3 to mono..."
- "downsampling song.mp3..."
And then it says 11 ### kb... I dind't knew it was compressed (lossless) afterwards. Sorry.
I think scratch censored the number you said. P.S. Please add MPEG4 support (higher compression than MP3). And there should be a windows and mac application used to convert video into sprites and sounds.
Last edited by hamsterkirby (2009-04-03 19:59:53)
Offline