Skip to content

Reduce the size of output files. Automatic scaling when the maximum size is reached.

Latest
Compare
Choose a tag to compare
@HardDie HardDie released this 12 Aug 17:51
· 39 commits to master since this release
  • Changed output file format from png to jpeg to reduce their size and speed up downloads for clients.
  • After a few tests I chose a jpeg with 80% quality, as I think this is a good compromise between quality and size.
  • If the image result is larger than 10,000 pixels, I added a function to automatically resize all cards to the desired size. If the image is larger than this size, TTS does not display the image.
  • Fixed the ordering of decks in the result image and json file, they will now be in the same order every time (this can be useful if you are only updating images, and you can update an existing deck with new images and all descriptions will be in place or in the reverse situation).