Hey guys and gals,
I've been making costumes in Scratch (and Panther) and then exporting them by right clicking on the costume and selecting "export this costume" and then saving it to a folder.
I've noticed that the formats it's kicked out include gif, GIF, BMP, bmp and png.
These formats appear random, is there a way to predict/control which format it saves the file in? I would at a guess say that it's saved as a gif if it only has a small selection of colours (or just base colours) whilst bitmap is used for a costume with more colours. This is just conjecture though.
I've also found rather annoyingly that when I try to export a costume which is not square (aka does contains transparent pixels) it exports it as gif or bmp but not PNG, losing the transparent pixels and making them white in the process. Is there any way to fix this?
One more thing, what is the difference between a file with a capitalised format (GIF) and it's lower-case counterpart? (gif)? My computer seems to recognise them as the same thing when I give a file path to the image whilst my website takes it as a case sensitive link and won't display it if I type it with the wrong case - hence why I want to create a constant file type and case.
Thanks for info
Offline
I'm no expert sparks, but I believe certain actions done in the paint editor change the export file type. For instance, just draw a picture in any color with the paint brush and export it. It will be a gif. But now, create a new costume with a gradient. This will be a bitmap. I've never had a .png export. But I assume it is caused by the same principle, the image format that Scratch detects is optimal for your image.
By default the file extension is .gif. And Scratch really doesn't handle transparency very well, and never holds the alpha values upon export.
Offline
Some of the images I've exported have included a bright pink background, I know this is sometimes used when a program decides whats supposed to be transparent, but scratch doesn't remove it, meaning you have to go and edit all of them. I'm sure they were the .pngs
Offline