piecemaker
piecemaker copied to clipboard
sprite_with_padding - transparency?
For using a rasterized spritesheet, there are two sets of files: sprite_with_padding
and sprite_without_padding
Is there a reason why sprite_with_padding
is JPG (without transparency) and sprite_without_padding
is PNG (with transparency)?
I'd think that for rendering out as a sprite sheet, both should be PNG?
The JPG format is better on image file size compared to PNG. Of course there is a trade-off with JPG not supporting transparency, but that is why the SVG mask clipping can be used. Again, I think more documentation and visuals would help explain this better. Both sprites can be used depending on the use case really.