Closed hubdotcom closed 9 years ago
Source files are in here if anyone gives this a spin. Not sure what the license is on the card images.
Imgur, the current rendering library, seems to prefer JPG because it renders at a lower file size? So the source files may be PNG, but it may still spit back a JPG.
Most likely since the input are JPG's - converting a PNG will retain the artefacts introduced by the JPG and output a high file size - but combining graphical PNG's retains the low file size. I've tested with PNG's on the output and seems to work good.
Did you manually rename all those jpeg cards?
I'd take a PR for this, so long as it passes tests.
See https://github.com/CharlieHess/slack-poker-bot/pull/46
Resources still need generating in a png format for maximum efficiency
It doesn't appear the function toBuffer is used in the app? https://github.com/CharlieHess/slack-poker-bot/search?utf8=%E2%9C%93&q=toBuffer
Fixed in #48.
Improve quality and lower file size