Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1] 2 3 ... 12  All

Author Topic: Dominion Card Image Generator  (Read 133497 times)

0 Members and 1 Guest are viewing this topic.

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 171
  • Respect: +460
    • View Profile
Dominion Card Image Generator
« on: December 07, 2016, 06:11:37 pm »
+67

ORIGINAL: https://shemitz.net/static/dominion3/
NEW FORK: https://shardofhonor.github.io/dominion-card-generator/index.html

Forcing people to use Photoshop or GIMP or whatever with elaborate downloadable template files has always seemed a bit of a silly barrier to card (mockup) creation, so I wrote a quick tool that lets you type in your card's text, choose some colors and a picture, and get the image generated for you. (Tested on desktop in Chrome, Firefox, and Opera--doesn't work in IE11, but not in a way that gives any error messages or anything, so I don't know what's going on there yet.)

The URL updates itself as you change the various fields, so all you need to do to save a card is copy (or bookmark) the URL and you'll be able to come back to it later. Once you're done, right click the image preview and your browser of choice should give you some options to copy and/or save the image (at a much higher resolution than displayed in the webpage).

Uses edits of the Action template image on BGG,the Event template and Traveller arrow from this thread, plus specific card scans and the Shuffle iT images.

Note: This tool should be viewed as a work-in-progress for the time being. The card images produced for specific texts and other options may look different in the future than they do now. The latest update is version 1.5; replies prior to this post are responding to earlier versions.

NEW: Shard of Honor has forked this tool starting at this post. Their version includes several new features and is receiving more active development. Check out Shard's version here.


Some samples, but written more as excuses to test the various colors and icons than as serious efforts to make good cards...

Model Village
Dividends
McMansion
Undeveloped Mine
Superstition
« Last Edit: March 06, 2019, 10:20:05 pm by Violet CLM »
Logged

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1815
    • View Profile
Re: Dominion Card Image Generator
« Reply #1 on: December 07, 2016, 06:46:45 pm »
+4

Wow, I always wanted to make this myslef but I lacked the skill! A few comments:

Text in the middle is Times New Roman, in coin symbols and the such it's minion heavy std.

I have some nicer templates I could PM.

It would be nice if there was a way to upload an image, and an easy way to resize it.

A quick wording/punctuation guide at the bottom would be cool.

The preview coins are off kilter

VP symbols and Big Treaure icons aren't properly implimented.

Still, wow. It's not as good as making them by hand but it's still pretty good.
« Last Edit: December 07, 2016, 06:49:29 pm by ThetaSigma12 »
Logged
My magnum opus collection of dominion fan cards is available here!

AdrianHealey

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2244
  • Respect: +776
    • View Profile
Re: Dominion Card Image Generator
« Reply #2 on: December 07, 2016, 06:52:20 pm »
+6

THIS IS AMAZING FOR IDIOTS LIKE ME OMG
Logged

Chris is me

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2745
  • Shuffle iT Username: Chris is me
  • What do you want me to say?
  • Respect: +3461
    • View Profile
Re: Dominion Card Image Generator
« Reply #3 on: December 07, 2016, 08:13:46 pm »
+1

THIS IS AMAZING FOR IDIOTS LIKE ME OMG

samesies
Logged
Twitch channel: http://www.twitch.tv/chrisisme2791

bug me on discord

pm me if you wanna do stuff for the blog

they/them

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 171
  • Respect: +460
    • View Profile
Re: Dominion Card Image Generator
« Reply #4 on: December 07, 2016, 09:29:23 pm »
+3

Thanks for the tips!
Text in the middle is Times New Roman, in coin symbols and the such it's minion heavy std.
Times New Roman should be right unless I messed up the syntax for setting up a multi-word font name... I can double-check, though. The coin symbol thing is a good tip, I didn't think to check that and it should be easy to implement.
Quote
I have some nicer templates I could PM.
If there's something that's generally accepted as the best template (and at a similarly high resolution), that would be good... I won't enjoy redoing all the hardcoded sizes and offsets, but it shouldn't take too long.
Quote
It would be nice if there was a way to upload an image, and an easy way to resize it.
Uploading shouldn't be too hard to implement, but it wouldn't be possible to maintain the image across visits to the page, so there's a tradeoff there. :( It's probably a good idea, but didn't feel like a Day 1 feature. By resizing I'm guessing you mean zooming in so you don't use the entire image? That'd probably more than double the code (and I'd want to minimize it in the API somehow, to keep things simple until you need them complicated), but there might be libraries somewhere I could find...
Quote
A quick wording/punctuation guide at the bottom would be cool.
If one already exists, I could include it?
Quote
The preview coins are off kilter
Ah, I forgot to double-check the positioning on all the corner icons, thanks.
Quote
VP symbols and Big Treaure icons aren't properly implimented.
VP symbols should be okay, you just have to precede % with a space or it won't be parsed as a symbol... I can probably get the rules to be a little more flexible, but again this was enough for a first try. There is indeed no way yet to have the extra-sized treasure/VP lines; I don't know if there's a formal rule that predicts when those are or aren't used, and I hoped if I posted here without implementing that then somebody would tell me how it's supposed to work. :-[
« Last Edit: December 16, 2016, 04:49:06 am by Violet CLM »
Logged

Doom_Shark

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +413
    • View Profile
Re: Dominion Card Image Generator
« Reply #5 on: December 07, 2016, 10:23:05 pm »
+2

Had to test it myself, so I quickly slapped together an idea I had for awhile...and I was impressed. Thanks for this quick and easy tool!
Edit: Got a decent looking custom color for Seasons cards a la asper and co0kiel0rd. The numbers: 10, 1.1, 1.35. I find it looks better if you set it as both the primary and secondary colors.
« Last Edit: December 07, 2016, 10:31:09 pm by Doom_Shark »
Logged
"I swear to drunk I'm not officer, God."
Generation 33 The first time you see this, copy it, add 1 to the generation number, and add it to your signature. (On any forum) Social experiment.

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1815
    • View Profile
Re: Dominion Card Image Generator
« Reply #6 on: December 08, 2016, 08:27:01 am »
+1

A few more things:

The cost and types need to be centered a little better

Type font should be smaller

and their numbers (like on catherdral) need to be bigger and bolder

It would be nice to have an option to specifically bold/itallic things.


I'm working on a quick Wording guide that I'll pm.
« Last Edit: December 09, 2016, 05:13:40 pm by ThetaSigma12 »
Logged
My magnum opus collection of dominion fan cards is available here!

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9634
    • View Profile
Re: Dominion Card Image Generator
« Reply #7 on: December 08, 2016, 09:02:59 am »
0

Testing:



Neat!  Any plans for an Event/Landmark generator?
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Nflickner

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 134
  • Respect: +132
    • View Profile
Re: Dominion Card Image Generator
« Reply #8 on: December 08, 2016, 03:13:43 pm »
0

Wow.  Wow.  This is incredible.  Please update with options for landmarks and events :)  Thank you :)
Logged

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 171
  • Respect: +460
    • View Profile
Re: Dominion Card Image Generator
« Reply #9 on: December 08, 2016, 03:13:48 pm »
+1

Neat!  Any plans for an Event/Landmark generator?
Sure, but since such a thing will reuse a lot of the same code--including, I suppose, the custom color stuff--I'd like to get this done first so that I only have to make changes in one place at a time.
Logged

Nflickner

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 134
  • Respect: +132
    • View Profile
Re: Dominion Card Image Generator
« Reply #10 on: December 09, 2016, 05:00:10 pm »
0

Hmm.  I noticed that the lettering for the cost of the cards seems a little thin?  If you compare it to normal dominion cards, the cost numbers are a little thicker, bolder.  Is it possible to tweek that a little?
Logged

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1815
    • View Profile
Re: Dominion Card Image Generator
« Reply #11 on: December 09, 2016, 05:12:53 pm »
+4

Hmm.  I noticed that the lettering for the cost of the cards seems a little thin?  If you compare it to normal dominion cards, the cost numbers are a little thicker, bolder.  Is it possible to tweek that a little?
I emailed him nicer templates, and all the Cost and Coin icons he could need (+/.) He should update it sometime soon, but it's a lot of work I belive so be patient  :).
Logged
My magnum opus collection of dominion fan cards is available here!

Nflickner

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 134
  • Respect: +132
    • View Profile
Re: Dominion Card Image Generator
« Reply #12 on: December 09, 2016, 06:54:41 pm »
+2

Hmm.  I noticed that the lettering for the cost of the cards seems a little thin?  If you compare it to normal dominion cards, the cost numbers are a little thicker, bolder.  Is it possible to tweek that a little?
I emailed him nicer templates, and all the Cost and Coin icons he could need (+/.) He should update it sometime soon, but it's a lot of work I belive so be patient  :).
Thanks Theta and Violet :)  You both rock!
« Last Edit: December 09, 2016, 06:55:44 pm by Nflickner »
Logged

kru5h

  • Tactician
  • *****
  • Offline Offline
  • Posts: 417
  • Respect: +459
    • View Profile
Re: Dominion Card Image Generator
« Reply #13 on: December 09, 2016, 09:38:30 pm »
+1

Could you add a way to add italics?

I believe things like "(This is not in the supply.)" and "(This stays in play.)" are supposed to be in italics.

Edit: Also more control over Bold. It seems to try to auto-bold things for you, but messes up sometimes. Here's an example: http://shemitz.net/static/dominion3/?title=Bold%20Test&description=Choose%20one%3A%0A%2B1%20Card%20and%20%0A%2B1%20Action%3B%20or%20%2B%20%242&type=Action&price=%243&preview=&picture=&color0=0&color1=0
« Last Edit: December 09, 2016, 09:50:37 pm by kru5h »
Logged

Orange

  • 2012 WBC Champion
  • *
  • Offline Offline
  • Posts: 277
  • Shuffle iT Username: Orange
  • 2012 WBC Champion
  • Respect: +278
    • View Profile
Re: Dominion Card Image Generator
« Reply #14 on: December 12, 2016, 10:28:34 am »
+1



Easy!  Thanks for this fun tool.
Logged

McGarnacle

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1090
  • Shuffle iT Username: McGarnacle
  • So, ya like doughnuts, eh?
  • Respect: +641
    • View Profile
Re: Dominion Card Image Generator
« Reply #15 on: December 12, 2016, 10:41:13 am »
0

Logged
This is exactly the kind of deep analysis I come to f.ds for. 

Forum Mafia Record
Town 1/2 50%
Scum 0/0

AdrianHealey

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2244
  • Respect: +776
    • View Profile
Re: Dominion Card Image Generator
« Reply #16 on: December 12, 2016, 10:43:50 am »
+1



Easy!  Thanks for this fun tool.

Splitpile potential imo
Logged

Doom_Shark

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +413
    • View Profile
Re: Dominion Card Image Generator
« Reply #17 on: December 12, 2016, 08:40:15 pm »
0



Easy!  Thanks for this fun tool.

Fountain is already a card-shaped thing. Pick a different name and artwork.
Logged
"I swear to drunk I'm not officer, God."
Generation 33 The first time you see this, copy it, add 1 to the generation number, and add it to your signature. (On any forum) Social experiment.

LibraryAdventurer

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1837
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1730
    • View Profile
Re: Dominion Card Image Generator
« Reply #18 on: December 12, 2016, 09:26:19 pm »
+1

Easy!  Thanks for this fun tool.

Fountain is already a card-shaped thing. Pick a different name and artwork.
Hey, this is cool artwork.  Fan cards can have whatever name the designer wants, and if he does change it, he can call it "Golden Fountain" to keep this picture.

Doom_Shark

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +413
    • View Profile
Re: Dominion Card Image Generator
« Reply #19 on: December 13, 2016, 12:37:24 am »
0

Easy!  Thanks for this fun tool.

Fountain is already a card-shaped thing. Pick a different name and artwork.
Hey, this is cool artwork.  Fan cards can have whatever name the designer wants, and if he does change it, he can call it "Golden Fountain" to keep this picture.

I apologize, my intention was not to sound rude. However, it is still a good idea for fan cards not to share names with official cards. At the time I posted that, I couldn't think of a way to change the name and keep the artwork, and tried to do something that turned out looking really stupid...
Logged
"I swear to drunk I'm not officer, God."
Generation 33 The first time you see this, copy it, add 1 to the generation number, and add it to your signature. (On any forum) Social experiment.

LibraryAdventurer

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1837
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1730
    • View Profile
Re: Dominion Card Image Generator
« Reply #20 on: December 13, 2016, 01:26:16 am »
0

Easy!  Thanks for this fun tool.

Fountain is already a card-shaped thing. Pick a different name and artwork.
Hey, this is cool artwork.  Fan cards can have whatever name the designer wants, and if he does change it, he can call it "Golden Fountain" to keep this picture.

I apologize, my intention was not to sound rude. However, it is still a good idea for fan cards not to share names with official cards. At the time I posted that, I couldn't think of a way to change the name and keep the artwork, and tried to do something that turned out looking really stupid...
I didn't think you sounded rude. I just kinda like the picture.

tristan

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1138
  • Respect: +193
    • View Profile
Re: Dominion Card Image Generator
« Reply #21 on: December 13, 2016, 03:13:18 am »
0



Easy!  Thanks for this fun tool.
Interesting idea. I fear that it is either too weak in Kingdoms with no other durations or crazily overpowered in Kingdoms with cheap durations.
Logged

AdrianHealey

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2244
  • Respect: +776
    • View Profile
Re: Dominion Card Image Generator
« Reply #22 on: December 13, 2016, 06:10:54 am »
0



So easy. But, euh, can we center the image?
Logged

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1815
    • View Profile
Re: Dominion Card Image Generator
« Reply #23 on: December 13, 2016, 06:47:25 am »
+2

Nah, just call it headless elf.
Logged
My magnum opus collection of dominion fan cards is available here!

AdrianHealey

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2244
  • Respect: +776
    • View Profile
Re: Dominion Card Image Generator
« Reply #24 on: December 13, 2016, 06:50:33 am »
0

Theta solving problems like no big deal.

Could probably cost $4 and be a village, I think. No?
Logged
Pages: [1] 2 3 ... 12  All
 

Page created in 0.057 seconds with 17 queries.