4 ms·
I wonder if returning SVG would be possible - https://code.google.com/p/vectorized-playing-cards/ https://code.google.com/p/vectorized-playing-cards/ Edit: Cou
by voltagex_ 12y ago
I wonder if returning SVG would be possible - https://code.google.com/p/vectorized-playing-cards/ https://code.google.com/p/vectorized-playing-cards/
Edit: Could be an excellent idea - 8 of Clubs is:
* 28kb as a PNG.
* 14kb as an SVG
* 4kb as a gzipped SVG
- Everlag 12y agoThought about that as soon as I saw it returning rasters. SVG would be best offered alongside as an option; it requires more effort to use than just a png. Perhaps a 'vector' to accompany each 'image'?
- voltagex_ 12y agoAccept: headers. Default to image/png
- evv 12y agoThose cards look great! Much better than the OP's raster images. But they seem familiar. I can't help but wonder, are they infringing on any copyrights?
- jessaustin 12y agoFollowing that link, the first section on the page: These poker sized cards have been created and hand optimized in various vector formats (.eps and .svg) using the open source .svg graphics editor Inkscape http://www.inkscape.org http://www.inkscape.org. .... Generally, this means the cards are free to use (commercially and non commercially) but must be properly attributed (see "README.txt" file) and (The library itself, not your project) re-distributed only under the same license.
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]
- polshaw 12y agoI used the unicode symbols; ♠ etc for my game; http://playonline.cards http://playonline.cards It was a bit fiddly but definitely wins on file size. I would have used SVG for the face cards but they really killed performance with animation unfortunately, so I went with a compressed PNG (20kb for all 3).