Skip to content

Put in an archidekt decklist, get a folder of scryfall images, feat. upscaling maybe.

Notifications You must be signed in to change notification settings

Gremious/yank-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For now you can cargo build --release this cause I need to boot up windows to give you a windows binary and I can't be bothered

Usage:

Usage: yank-images [OPTIONS] -i <INPUT>

Options:
  -i <INPUT>               Deck File
  -o <OUTPUT>              Output Directory
  -u, --upscale            Upscale Images if you have `waifu2x-ncnn-vulkan` in path
  -h, --help               Print help
  -V, --version            Print version

Example:

  1. You go to archidekt.com and export your deck as text, with only set code included
    • (Though it's OK if there's more stuff or if you don't have/care about the set)

Card list will look like:

1 Adaptive Automaton (brr) 64
1 Altar's Reap (ddr) 37
1 Ancient Craving (c21) 135
...
  1. Run yank-images -i deck.txt -o ./output-folder
    • (though you can ommit output folder and it'll create a ./out for you)
  2. Wait for it to download all the images
  3. If you have waifu2x-ncnn-vulkan(here) in your path, you can upscale the images by adding --upscale
    • (It'll output the upscale images to ./output-folder/upscaled)
    • (Sorry it just upscales 4x with max denoise cause that looks best on my printer and with my eyeballs)
      • (Brother MFC-L3770CDW)
      • (If you need different settings, feel free to write a 10 line script with a loop to run waifu2x yourself or PR command args or something)
      • (At end of day, was still just meant to be a quick script for myself)

About

Put in an archidekt decklist, get a folder of scryfall images, feat. upscaling maybe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages