Dominion Strategy Forum

Please login or register.

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

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

0 Members and 1 Guest are viewing this topic.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Dominion Card Image Generator
« on: December 07, 2016, 06:11:37 pm »
+56

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: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator
« Reply #1 on: December 07, 2016, 06:46:45 pm »
+3

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: +773
    • 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: 2675
  • Shuffle iT Username: Chris is me
  • What do you want me to say?
  • Respect: +3331
    • 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

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • 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

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • 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: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • 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
  • ******
  • Online Online
  • Posts: 8154
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9514
    • 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

  • Bishop
  • ****
  • Offline Offline
  • Posts: 124
  • Respect: +122
    • 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

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator
« Reply #9 on: December 08, 2016, 03:13:48 pm »
0

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

  • Bishop
  • ****
  • Offline Offline
  • Posts: 124
  • Respect: +122
    • 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: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator
« Reply #11 on: December 09, 2016, 05:12:53 pm »
+3

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

  • Bishop
  • ****
  • Offline Offline
  • Posts: 124
  • Respect: +122
    • 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

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 237
  • Respect: +118
    • 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: 274
  • Shuffle iT Username: Orange
  • 2012 WBC Champion
  • Respect: +273
    • 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: +637
    • 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: +773
    • 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

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • 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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1248
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +953
    • 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

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • 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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1248
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +953
    • 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: +773
    • 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: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • 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: +773
    • 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

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator
« Reply #25 on: December 13, 2016, 02:41:33 pm »
0

So easy. But, euh, can we center the image?
Well, it is centered... that's exactly why you're running into that. You want it to be snapped to the top instead. This is still not the top priority--I'm busy readjusting text sizes and positions right now--but I acknowledge it's worth implementing eventually.
Logged

AdrianHealey

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2244
  • Respect: +773
    • View Profile
Re: Dominion Card Image Generator
« Reply #26 on: December 13, 2016, 03:04:56 pm »
0

So easy. But, euh, can we center the image?
Well, it is centered... that's exactly why you're running into that. You want it to be snapped to the top instead. This is still not the top priority--I'm busy readjusting text sizes and positions right now--but I acknowledge it's worth implementing eventually.

Haha, I guess you are right. No problem, man. It's a-ma-zing.
Logged

Chris is me

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2675
  • Shuffle iT Username: Chris is me
  • What do you want me to say?
  • Respect: +3331
    • View Profile
Re: Dominion Card Image Generator
« Reply #27 on: December 14, 2016, 07:12:28 pm »
+3

Can we sticky this? We really need to sticky this.
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

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator
« Reply #28 on: December 14, 2016, 11:57:51 pm »
0

I greatly appreciate the thought, but if it's going to be stickied at all, wait until I've finished addressing some of the tips for improvement that have been posted :)
Logged

Nflickner

  • Bishop
  • ****
  • Offline Offline
  • Posts: 124
  • Respect: +122
    • View Profile
Re: Dominion Card Image Generator
« Reply #29 on: December 15, 2016, 06:44:58 pm »
0

Can we sticky this? We really need to sticky this.

I agree :)
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #30 on: December 16, 2016, 04:46:19 am »
+7

Version 1.1 released


Fonts, icon positioning, text processing, shadows, and colors have been updated. Color schemes are now based on the Dominion Online images', since those seem to be the most consistent sources. Most worthy of concern is that newlines (read: pressing enter) are now much weaker than they were in 1.0, to allow for finer user control; that makes for some inconsistency with previously generated cards, but I did say that was a possibility. Note also in the Apprentice comparison above that this is now using Empires/rerelease rules: "+1 Card" and the like get bolded even when they are not the entire line. I haven't looked into the question of italics yet so don't try.

Same URL as before. Reload (forcefully) if changes don't seem to have applied.
« Last Edit: December 16, 2016, 04:47:34 am by Violet CLM »
Logged

McGarnacle

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1090
  • Shuffle iT Username: McGarnacle
  • So, ya like doughnuts, eh?
  • Respect: +637
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #31 on: December 16, 2016, 11:48:07 am »
+1

This is really a fantastic tool!  :) Just one little thing you could add: How about a feature which would allow you to credit the artist in the bottom corner?
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

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #32 on: December 16, 2016, 01:18:46 pm »
0

Wow, way better! There are, however, a few more things I'dd suggest adding:
- As McGarnacle said, an Artist/Creator credit box in the bottom.
- This might be my number one thing. The templates still look kinda off. I think you just recolored them all, so it looks really off (to me). Now take this with a grain of salt, the templates I see and use might be off while yours are actually right, but I'd still suggest using LFN's whenever possible.
- Selective Italics/Bold, but that only affects 1% of cards so no biggie.
- Actually, this is my #1 thing. The in the middle need to have a smaller number in them. It's possibly the #1 thing that people get tripped up on.
Logged
My magnum opus collection of dominion fan cards is available here!

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #33 on: December 16, 2016, 07:12:00 pm »
+1

I did take a look at the card templates you sent me and they weren't seriously usable. They were half the size and had inconsistent proportions, inconsistent positions, and inconsistent fill patterns (read: clone brush usage). They weren't even layered. There's no way to use them that doesn't involve scrapping all but one and starting from scratch, but at a smaller resolution, with an unremovable price coin icon, and with no obvious benefits to make up for it.

I am sympathetic to the argument that I should be using the colors people are most familiar with from other templates, even though those have been warped by printing and later scanning, rather than the ones that I think are most likely to be canonical, but using those particular images is not the way to get that result.

I will be looking at the inline icons some more. I know official cards are not consistent about their sizing, but because this is a program I do actually need a consistent rule, so I expect I'll look at a bunch of Empires cards (because they use the most updated style) and figure out what looks right from there. The most important bit is to get the $ symbol in "+$" to turn into a coin icon and the + to be drawn in bold, but resizing can happen while I'm looking at that part of the code too.
« Last Edit: December 16, 2016, 07:29:02 pm by Violet CLM »
Logged

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #34 on: December 16, 2016, 09:34:46 pm »
0

I did take a look at the card templates you sent me and they weren't seriously usable. They were half the size and had inconsistent proportions, inconsistent positions, and inconsistent fill patterns (read: clone brush usage). They weren't even layered. There's no way to use them that doesn't involve scrapping all but one and starting from scratch, but at a smaller resolution, with an unremovable price coin icon, and with no obvious benefits to make up for it.

I am sympathetic to the argument that I should be using the colors people are most familiar with from other templates, even though those have been warped by printing and later scanning, rather than the ones that I think are most likely to be canonical, but using those particular images is not the way to get that result.

I will be looking at the inline icons some more. I know official cards are not consistent about their sizing, but because this is a program I do actually need a consistent rule, so I expect I'll look at a bunch of Empires cards (because they use the most updated style) and figure out what looks right from there. The most important bit is to get the $ symbol in "+$" to turn into a coin icon and the + to be drawn in bold, but resizing can happen while I'm looking at that part of the code too.
Hmm, I didn't realize the templates I sent you didn't work. Sorry about that, I'll still see what I can do. The ones you have are mainly fine, I guess it's just my arrogant preference  :P.

It just needs the number smaller in the icon, compare the 6 in the capital you posted and the official version.
Logged
My magnum opus collection of dominion fan cards is available here!

Doom_Shark

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • View Profile
« Last Edit: March 14, 2017, 07:33:11 am 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: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #36 on: December 22, 2016, 01:56:10 pm »
0

The middle text should be Times New Roman FYI.

Also, if there's room it should give some extra room above and below dividing lines if there is space.
« Last Edit: December 22, 2016, 01:57:39 pm by ThetaSigma12 »
Logged
My magnum opus collection of dominion fan cards is available here!

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #37 on: December 22, 2016, 04:12:51 pm »
+5

I haven't gotten the impression that the amount of vertical space taken up by a dividing line is a constant, so I'm mostly leaving that to the domain of additional line breaks.

Maybe I should post an (unordered) todo list.
  • Landscape mode for events and landmarks. (Done.)
  • Illustration credit field. (Done.)
  • Draw + and related symbols inside coins as superscripts.
  • Draw coin/etc. icons and their numbers in description at their proper constant sizes, rather than relative to the size of the surrounding text.
  • Make direct reference to the icons' individual widths so that potions aren't assumed to have the same width as coins.
  • Parse and format +$ properly.
  • Add an option for users to define their own icons and accompanying characters alongside $, %, @, and ^.
  • Similarly, a way to specify a set image (in the bottom right) might be nice.
  • Italics.
  • Options for positioning and/or resizing the illustration.
  • Include more verbose instructions, as well as credits, somewhere on the webpage itself.
  • Ruins recolor option. (Done.)

Not on the todo list is completely arbitrary font resizing like on Caravan Guard. There comes a time you have to take things to a genuine image editor program.
« Last Edit: February 01, 2017, 02:41:43 am by Violet CLM »
Logged

MattLee

  • Spy
  • ****
  • Offline Offline
  • Posts: 81
  • Respect: +87
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #38 on: December 24, 2016, 01:09:20 am »
+3

Thank you so much for making this! Ive been lurking on the forums for a long while and just printing off other people cards, but with this I can finally try out my own ideas  :D
Logged

werothegreat

  • Adventurer
  • ******
  • Online Online
  • Posts: 8154
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9514
    • View Profile
Re: Dominion Card Image Generator
« Reply #39 on: January 10, 2017, 08:59:02 am »
0

Can we sticky this? We really need to sticky this.

I concur on this, and am mainly posting to bump it so it stays near the top regardless.
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/

Gubump

  • Witch
  • *****
  • Offline Offline
  • Posts: 488
  • Respect: +262
    • View Profile
Re: Dominion Card Image Generator
« Reply #40 on: January 10, 2017, 12:04:04 pm »
0

Can we sticky this? We really need to sticky this.

I concur on this, and am mainly posting to bump it so it stays near the top regardless.

I also agree.
Logged
All of my fan card mockups are credited to Violet CLM and his/her Dominion Card Image Generator.

Haddock

  • Minion
  • *****
  • Offline Offline
  • Posts: 725
  • Shuffle iT Username: Haddock
  • Doc Cod
  • Respect: +553
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #41 on: January 10, 2017, 12:35:14 pm »
0

I've never actually made a fan card, but yeah I agree that this should be a sticky.
Logged
The best reason to lynch Haddock is the meltdown we get to witness on the wagon runup. I mean, we should totally wagon him every day just for the lulz.

M Town Wins-Losses (6-2, 75%): 71, 72, 76, 81, 83, 87 - 79, 82.  M Scum Wins-Losses (2-1, 67%): 80, 101 - 70.
RMM Town Wins-Losses (3-1, 75%): 42, 47, 49 - 31.  RMM Scum Wins-Losses (3-3, 50%): 33, 37, 43 - 29, 32, 35.
Modded: M75, M84, RMM38.     Mislynched (M-RMM): None - 42.     Correctly lynched (M-RMM): 101 - 33, 33, 35.       MVPs: RMM37, M87

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator
« Reply #42 on: January 10, 2017, 05:21:30 pm »
0

I greatly appreciate the thought, but if it's going to be stickied at all, wait until I've finished addressing some of the tips for improvement that have been posted :)
Logged
My magnum opus collection of dominion fan cards is available here!

werothegreat

  • Adventurer
  • ******
  • Online Online
  • Posts: 8154
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9514
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #43 on: January 26, 2017, 11:08:29 pm »
0

Any news on the Landscape mode front?
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/

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.1
« Reply #44 on: February 01, 2017, 03:21:55 am »
+5

Okay, I guess it's Version 1.2 time. I added an Art Credit field and a Ruins color scheme, shifted some other shades around a little bit, and provided a new menu in the bottom left for choosing which template type to use. Landscape mode is in.

Other stuff remains woefully unfinished. Sorry. I've not been doing so hot lately, so I thought I might as well at least put this stuff out, even though the icon code needs work, because imperfect landscape cards are better than none. :)
Logged

Gubump

  • Witch
  • *****
  • Offline Offline
  • Posts: 488
  • Respect: +262
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #45 on: February 01, 2017, 10:12:16 am »
0

It takes forever to load, now.  :'(
Logged
All of my fan card mockups are credited to Violet CLM and his/her Dominion Card Image Generator.

Gubump

  • Witch
  • *****
  • Offline Offline
  • Posts: 488
  • Respect: +262
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #46 on: February 01, 2017, 02:29:32 pm »
0

NVM, it works now. I just needed to restart my browser.
Logged
All of my fan card mockups are credited to Violet CLM and his/her Dominion Card Image Generator.

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #47 on: February 22, 2017, 10:36:39 am »
0

Amazing! Thanks for this. I'm working on a homebrew Expack and was losing sleep mulling over how to get the layout done, since I cannot into art.
Logged

McGarnacle

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1090
  • Shuffle iT Username: McGarnacle
  • So, ya like doughnuts, eh?
  • Respect: +637
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #48 on: March 03, 2017, 01:28:38 pm »
0

All my card links broke. Is the generator just going through some changes?
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

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5257
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #49 on: March 03, 2017, 03:12:28 pm »
0

I'm pleasantly surprised at the quality this generator delivers. Only tried it out now, but wow. If I was able to place images anywhere in the frame, I'd use it over my own any time. Well, maybe not to mock up cards in other languages, as the auto-bolding only seems to work for certain expressions (which also appears to mean I can't define my own). Apart from that, it's very impressive. Chapeau.

MattLee

  • Spy
  • ****
  • Offline Offline
  • Posts: 81
  • Respect: +87
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #50 on: March 03, 2017, 11:55:06 pm »
+1

All my card links broke. Is the generator just going through some changes?

Mine too, lost a few dozen mocked up cards :(
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #51 on: March 13, 2017, 12:03:32 am »
+1

All my card links broke. Is the generator just going through some changes?
I'm sorry, I only just now saw this post. I tried some of the links from the first post in this thread and they seemed to be working... can you give me an example of a broken link that used to work but now doesn't?

(If they've since started working again, I would guess it was a temporary (and local?) DNS problem, since I switched my domain over to https at around the time of those posts and maybe the switching off of the http version happened for you before the redirect started working.)
« Last Edit: March 13, 2017, 12:09:38 am by Violet CLM »
Logged

McGarnacle

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1090
  • Shuffle iT Username: McGarnacle
  • So, ya like doughnuts, eh?
  • Respect: +637
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #52 on: March 13, 2017, 07:44:49 am »
0

All my card links broke. Is the generator just going through some changes?
I'm sorry, I only just now saw this post. I tried some of the links from the first post in this thread and they seemed to be working... can you give me an example of a broken link that used to work but now doesn't?

(If they've since started working again, I would guess it was a temporary (and local?) DNS problem, since I switched my domain over to https at around the time of those posts and maybe the switching off of the http version happened for you before the redirect started working.)

Hi Violet, thanks for helping out! Here is one of the malfunctioning links http://shemitz.net/static/dominion3/?title=Countess&description=Choose%20one%3B%20Trash%20a%20card%20from%20your%20hand%20and%20gain%20a%20card%20costing%20up%20to%20%241%20more%20than%20the%20trashed%20card%2C%20or%20%2B%20%242%20and%20put%20a%20card%20from%20your%20hand%20on%20top%20of%20your%20deck.&type=Action&price=%243&preview=&picture=https%3A%2F%2Fs-media-cache-

It added % btwn every word and then did not drop them, plus the image doesn't work.
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

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #53 on: March 13, 2017, 11:25:31 am »
+3

Okay, I see what's going on. For a simple, user-side fix you can make any of your links work again by replacing http at the beginning with https, e.g. https://shemitz.net/static/dominion3/?title=Countess&description=Choose%20one%3B%20Trash%20a%20card%20from%20your%20hand%20and%20gain%20a%20card%20costing%20up%20to%20%241%20more%20than%20the%20trashed%20card%2C%20or%20%2B%20%242%20and%20put%20a%20card%20from%20your%20hand%20on%20top%20of%20your%20deck.&type=Action&price=%243&preview=&picture=https%3A%2F%2Fs-media-cache-

This evening I'll see if there's something I can do on my end to make the old links work so you don't have to do that editing.

That said, you don't have a full URL for an image in that link, so I don't think that one's on me. You can see for yourself that it's just
Code: [Select]
https://-media-cache
« Last Edit: March 13, 2017, 12:03:01 pm by Violet CLM »
Logged

SettingFraming

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 135
  • Shuffle iT Username: breppert
  • Respect: +346
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #54 on: March 13, 2017, 11:13:31 pm »
+1

I just wanted to pop in and say that this is a really great tool you've built.

Seems darn near feature complete, and excellently easy to use.
Logged
There are no masters, only those who have spent longer in the depths.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #55 on: March 14, 2017, 07:49:50 pm »
+2

Thanks :)


Links to the old http domain should be working now, though your browser cache may get in the way and assume the old redirect style for specific urls. Try opening one of the links in a private/incognito window to prove the point until your browser catches on that something has changed.
Logged

MattLee

  • Spy
  • ****
  • Offline Offline
  • Posts: 81
  • Respect: +87
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #56 on: March 15, 2017, 01:07:45 am »
+1

Thanks :)


Links to the old http domain should be working now

Yay! Thanks a bunch :D
Logged

McGarnacle

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1090
  • Shuffle iT Username: McGarnacle
  • So, ya like doughnuts, eh?
  • Respect: +637
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #57 on: March 15, 2017, 09:49:01 am »
0

Thanks :)


Links to the old http domain should be working now

Yay! Thanks a bunch :D

Me too. Great Job!
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

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #58 on: September 08, 2017, 01:28:40 pm »
0

Hi, Violet,
Sorry if this has been asked before, but I was hoping that you could shed some light on the following:
1) There's a 'size' parameter on the URL, but I don't know what options I can put in there, and if so, what they do. I was kind of hoping to be able to get a card-sized image out (or maybe I'm too dumb to set my printer dpi to scale down the image while maintaining high quality.)

2) Is there any possibility that you will add the ability to have a second black-and-white image import for a set icon? Of course I can always paint one in. :)
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #59 on: September 09, 2017, 12:02:14 am »
+1

Sorry to get your hopes up with the "Size" parameter, it's just really poorly named. It actually controls whether your card is a card or an event or a weird double-sided thingy. When I tried printing, I fit multiple cards on a single page (six IIRC?) and made sure the page was 8.5x11 so I could easily derive the card sizes from there. I don't know what software or printer you're working, but in pixel terms the cards are about as big as the biggest scans I was finding.

Set icons are fairly low down the priority list but they're certainly something that should happen eventually. The trouble is I just haven't had much interest in working on this in some time. I'd open source it (I mean, it's already open source by virtue of being a static document, but I could do so explicitly) but I don't know if there's anyone around these parts who'd try picking it up.
Logged

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #60 on: September 09, 2017, 11:37:48 am »
0

Makes sense to me, thanks for the reply.

I'm currently working on a python-based randomizer that supports custom cards. The dream would be to have a similar renderer to your system baked into it.
Logged

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #61 on: October 13, 2017, 11:55:52 am »
0

So, I'm like really not an art/tech guy... but what's the output DPI like? I'm hoping for a 300 dpi output, at least.
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #62 on: October 15, 2017, 03:18:10 am »
0

Just about 600 by my math. Of course the card templates themselves are thrown together from various scans, so they're going to be a bit blurry, but that's the resolution your main images and text should be rendered at.
Logged

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.2
« Reply #63 on: October 15, 2017, 06:36:28 pm »
0

Fantastic! Thanks for the reply.
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #64 on: October 23, 2017, 12:36:39 pm »
+2

I've updated the generator to include Night cards and Heirloom banners (from Nocturne). The generator treats any color whose R/G/B intensities sum up to 1.5 or less as a dark color and applies Night rules to it (white text, different blending). Dark colors are available in any of the three card shapes (Portrait/Landscape/Double); heirloom banners are available only in Portrait and Landscape. Per usual, if you don't see the proper fields, reload the page to refresh your cache.

Quick example
« Last Edit: October 24, 2017, 05:13:46 pm by Violet CLM »
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #65 on: October 25, 2017, 02:00:50 pm »
+1

So, hmm. This is annoying. Events and Landmarks are great because they use the same border colors (all images taken from Dominion's online version):


But now we've got these three:

For these, the borders are also recolored, not just the background panels. And the State template has some pretty inconsistent use of color compared to the rest too. This may take a little longer to figure out, sorry, unlike the same-day Night and Heirloom updates.
Logged

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #67 on: November 10, 2017, 02:34:15 pm »
0

Additional whining:
The Event-type landscape card rendering doesn't support dark backgrounds/white text.
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #68 on: November 16, 2017, 02:57:26 pm »
+1

Oh, I fixed both of those a while back and forgot to reupload, whoops! Fixed now. Anyway, now that the full Nocturne card list has been released I don't have to worry more about any new unexpected surprises, so I guess now's the time to really think about those stupid State/Hex/Boon cards.
Logged

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #69 on: November 16, 2017, 04:03:07 pm »
0

What's wrong with using the ShuffleIT templates? That way it's consistent with the official implementation and you don't need to worry about card colour differences.
Logged
My magnum opus collection of dominion fan cards is available here!

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #70 on: November 16, 2017, 11:33:31 pm »
0

The issue is then States/Hexes/Boons stop being first-class citizens and have to be top-level choices instead, so you have to choose between portrait, landscape, state, hex, or boon. And that's awkward. Alternatively they're items in the dropdown color lists like everything else, but those particular choices have hardcoded effects on the borders which cannot be replicated in CUSTOM. So far the named colors--Action, Treasure, etc.--are nothing more than convenience value, and reproducing their colors as CUSTOM colors would give you 100% the same effect, so I'd like to be able to keep that.
Logged

NoMoreFun

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1456
  • Respect: +1043
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #71 on: December 14, 2017, 04:52:01 am »
+3

Why hasn't this been sticky'd? (+bump)
Logged

spiralstaircase

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 268
  • Respect: +429
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #72 on: December 14, 2017, 06:57:35 am »
0

This is a great tool - thanks for making it!

As a feature suggestion, would it be possible to let us specify an expansion symbol?
Logged

Supernova888

  • Pearl Diver
  • **
  • Offline Offline
  • Posts: 10
  • Shuffle iT Username: Supernova888
  • Respect: +4
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #73 on: May 20, 2018, 08:54:42 pm »
0

I just wanted to say, this tool is absolutely incredible. Finding this made my day. It's so simple and intuitive to use, I'm absolutely loving bringing my custom cards to life. Thank you so much for this.
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5257
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #74 on: May 21, 2018, 07:10:16 am »
+2

Why hasn't this been sticky'd? (+bump)

Agreed. It's a great tool and this thread should be sticky.

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #75 on: May 22, 2018, 01:47:36 am »
0

Itís really cool. Itís awesome!

I have an iPad and thereís photos on my ipad I wanted to use for the cards. But there doesnít seem to be anyway to add them.

Also Iím making travelers and thereís no way to put the big arrow on it.
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #76 on: May 22, 2018, 02:37:39 am »
+1

I have an iPad and thereís photos on my ipad I wanted to use for the cards. But there doesnít seem to be anyway to add them.
Images must be hosted somewhere on the internet. This is in order for you to be able to use the page's URL parameters as a full definition of the card.
Quote
Also Iím making travelers and thereís no way to put the big arrow on it.
Undocumented but really simple: the big arrow shows up if the card's type includes "Traveller"
Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #77 on: May 23, 2018, 12:53:02 am »
0

I did try to get the image from the internet.

And it still didnít work.

http://Http://en.m.wikipedia.org/wiki/file:mad_scientist.svg

Thatís the info it gave me for the picture and it was still blank.
« Last Edit: May 23, 2018, 12:54:37 am by ClouduHieh »
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #78 on: May 23, 2018, 12:57:30 am »
0

Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #79 on: May 23, 2018, 01:11:13 am »
0

Wow it actually worked.

Iím sorry I doubted you. This is the first time Iíve ever done anything like this. So I got frustrated.
Thank you for the help hopefully Iíll be able to figure it out on my own the next time.
Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #80 on: May 23, 2018, 01:55:40 am »
0

Iím just trying to figure out you got the url? I canít seem to figure it out?
It doesnít seem to just give you that info anywhere. I tried doing that for another one. By putting everything except the last part and it didnít work. Mickey hot springs 2008.jpg nothing at all.

Bummer
Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #81 on: May 23, 2018, 02:17:05 am »
0

I just figured it out. I got hot springs on my own too. Thank you so much.
Logged

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #82 on: May 25, 2018, 09:38:57 am »
0

Hi Violet! Is there a way to make italicized text with the tool that I'm not aware of yet? For Setup rules?

Thank you for all that you've done for this community and for me by making and maintaining this tool. I think I would have been totally demoralized by my lack of card creating ability by now if it were not for you.
Logged

Commodore Chuckles

  • Jester
  • *****
  • Offline Offline
  • Posts: 868
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1182
    • View Profile
Re: Dominion Card Image Generator v1.3
« Reply #83 on: May 26, 2018, 11:52:32 am »
+1

Awesome tool! Sorry if this has been asked before, but is there a way to make Expansion icons?
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.4
« Reply #84 on: August 17, 2018, 09:31:43 pm »
+10

Very long overdue update: Boons, Hexes, and States are now supported. In order for them to be available I had to change a number of things under the hood, so there's a new EXTRA CUSTOM option which takes full advantage of those additions, letting you go more wild than ever.

I also added "coffer" to the list of keywords that make for bolded lines when appropriate, alongside "card," "buy," and "action." No other updates at the moment, though obviously there's still more to be done.
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5257
    • View Profile
Re: Dominion Card Image Generator v1.4
« Reply #85 on: August 22, 2018, 02:12:42 pm »
0

Ah, keywords,that explains why I couldn't get the German translations of my cards to look right.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #86 on: September 24, 2018, 03:42:59 am »
+1

Quick update for Renaissance: Added Artifacts and Projects to the dropdown list of colors (though you'll forgive me if I don't provide any examples), and added "villager" to the list of bolding keywords.
« Last Edit: September 25, 2018, 02:10:08 pm by Violet CLM »
Logged

Umadin

  • Steward
  • ***
  • Offline Offline
  • Posts: 27
  • Respect: +17
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #87 on: September 26, 2018, 02:15:21 pm »
0

+$1 doesnít seem to work in the card description for me although its the standard dominion format for plus coin.

Also the number doesnít seem to line up over the cost (See my brothel thread in Variants and Fan Cards for an example)

But damn is this tool legit man.  Great fucking job...
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #88 on: September 26, 2018, 02:50:21 pm »
0

Yeah, that's a major issue with the current state of the text parsing currently: the special symbols ($, @, etc.) are not recognized when preceded by most characters. You have to write "+ $1" instead of "+$1" until I get around to overhauling things.

As for lining up, if you mean vertically, unfortunately different browsers just aren't very consistent with their text rendering. Desktop Chrome on Windows is what I do most of my testing in, and that's where the text will come out looking the most authentic. Other browsers will display things at subtly different sizes, different offsets, and so on, in ways that are not ideal but generally close enough.
« Last Edit: September 26, 2018, 02:54:07 pm by Violet CLM »
Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #89 on: September 29, 2018, 04:27:45 pm »
0

Shemitz doesnít work anymore. It keeps saying someone may be using it to view your information?
Logged

Doom_Shark

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #90 on: September 29, 2018, 04:46:19 pm »
0

Do you have a timeline for updating this for renaissance or is it more of a, "I'll get to this eventually," type of thing?
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.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #91 on: September 29, 2018, 05:30:59 pm »
+1

Shemitz doesnít work anymore. It keeps saying someone may be using it to view your information?
I lost track of the calendar and let my security certificate expire, sorry. Should be working again now though.

Do you have a timeline for updating this for renaissance or is it more of a, "I'll get to this eventually," type of thing?
Read a few posts up: I already added support for all known new Renaissance mechanics before they were even previewed.
« Last Edit: September 29, 2018, 05:48:14 pm by Violet CLM »
Logged

Doom_Shark

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #92 on: September 29, 2018, 11:33:12 pm »
0

Do you have a timeline for updating this for renaissance or is it more of a, "I'll get to this eventually," type of thing?
Read a few posts up: I already added support for all known new Renaissance mechanics before they were even previewed.

Ok, I missed that post. Turns out bookmarking the page keeps it on an older version, will have to update the bookmark.
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.

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #93 on: October 04, 2018, 06:05:50 pm »
0

Yeah works now thanks
Logged

Fly-Eagles-Fly

  • Explorer
  • *****
  • Offline Offline
  • Posts: 300
  • Respect: +116
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #94 on: October 04, 2018, 06:43:16 pm »
+3

Thanks so much, just joined the forum and have been using this tool for the last few days. It is awesome! The only problem is I have to come up with cards to make with it...  :P
Logged

Fly-Eagles-Fly

  • Explorer
  • *****
  • Offline Offline
  • Posts: 300
  • Respect: +116
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #95 on: October 11, 2018, 01:55:13 pm »
+1

Can anyone tell me why you would want to use this template?
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #96 on: October 11, 2018, 02:07:03 pm »
+3

Basically that template is a solution in search of a problem. It's an expression of confidence that someday someone will have the perfect idea that can best (or only) be expressed by a double-sided card.

My original use for it was Duration cards where you make a choice the turn you play it which affects what you get next turn, so there's no danger of forgetting which option you chose. Later there was a topic about "Adaptive" cards, and I put forward a couple of examples... IIRC, the idea was that the first time you gained (or acquired by Masquerade, Traveler, etc.) one such card you had to place a two-sided alpha/beta token on the supply pile, choosing which side was face-up, and for the rest of the game, that token's orientation locked you into only using the alpha side of that card or only using the beta side. But I'm sure there are more possibilities out there.
« Last Edit: October 11, 2018, 02:10:58 pm by Violet CLM »
Logged

Fly-Eagles-Fly

  • Explorer
  • *****
  • Offline Offline
  • Posts: 300
  • Respect: +116
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #97 on: October 11, 2018, 02:46:22 pm »
0

I see. I actually kind of like Perennial.
Logged

NoMoreFun

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1456
  • Respect: +1043
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #98 on: October 19, 2018, 03:32:31 am »
+1

Could you add a feature to allow any word to be bolded after +1 like Card/Action/Buy/Villager/Coffers?
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5257
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #99 on: October 19, 2018, 01:02:54 pm »
+2

Could you add a feature to allow any word to be bolded after +1 like Card/Action/Buy/Villager/Coffers?
That would indeed be awesome. Among other things, it would allow non-English mockups.
Also, +1 Pizza.

Doom_Shark

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #100 on: October 19, 2018, 09:32:09 pm »
0

Could you add a feature to allow any word to be bolded after +1 like Card/Action/Buy/Villager/Coffers?
That would indeed be awesome. Among other things, it would allow non-English mockups.
Also, +1 Pizza.

Yes! Silver border dominion!
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.

NoMoreFun

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1456
  • Respect: +1043
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #101 on: November 10, 2018, 05:28:48 pm »
+1

Can you put a "clear text" button on the image url box? Maybe it's just me but my computer really can't handle the long urls generated by google image search when I try to replace one url with another (eg I'm making a bunch of cards)
Logged

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1672
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1772
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #102 on: November 10, 2018, 06:18:54 pm »
+2

Also, adding the option for Italics would be nice, last I checked there was no way properly format things like (This stays in play.) and (This is not in the Supply.).
Logged
My magnum opus collection of dominion fan cards is available here!

Rabenkind

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +1
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #103 on: November 10, 2018, 07:18:55 pm »
0

Also, It where cool if you could add, that you can make the traveler arrow without having the traveler type.
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #104 on: November 10, 2018, 08:47:08 pm »
+1

I'm in the gradual process of replacing all the code for text/icon drawing, and italics are a part of that. If I can get this to work, there'll be a rich text editor instead of the page deciding for you whether this text should be bold but this other text shouldn't, etc. Legacy URLs will be converted to rich text. But that's not done yet, and I'm not going to retrofit italics into the old code in the meantime.

I'm not sure I understand the "clear text" ask. Is Ctrl+A, Backspace not sufficient?

Traveler arrow... I guess that could happen? Is this something you've wanted to be able to do?
Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #105 on: November 13, 2018, 07:14:17 pm »
0

Iíve made some travelers for my snowline expansion. Iíve added  ⬆️ Where it says action-traveler. But it would be nice if it had the same giant arrow under the text.

You currently have 3 differently shaped cards on the generator what if you made a forth just for travelers.
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #106 on: November 13, 2018, 07:42:52 pm »
0

Oh, I might understand what you're asking about? The official Dominion cards only ever use the spelling "traveller," so my generator reacts to that spelling by drawing the giant arrow. You're using the spelling "traveler" and therefore not getting the arrow. But now that you point it out, it should probably accept either spelling.
Logged

Fly-Eagles-Fly

  • Explorer
  • *****
  • Offline Offline
  • Posts: 300
  • Respect: +116
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #107 on: November 13, 2018, 09:47:35 pm »
+1

Another thing to fix would be when you have a card with four types, it would be nice to have it go to a second line.
Logged

King Leon

  • Duke
  • *****
  • Offline Offline
  • Posts: 399
  • Respect: +307
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #108 on: November 14, 2018, 02:14:21 am »
0

Can you fix the rendering of starred costs (like Peddler's $8*)?
It looks somewhat off.
Logged

Rabenkind

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +1
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #109 on: November 14, 2018, 07:44:45 pm »
0

I want to use it in German and it would be nice if I can get the arrow just with ticking a box so that I can write the German word.
Logged

Doom_Shark

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #110 on: November 14, 2018, 08:33:25 pm »
0

Can you fix the rendering of starred costs (like Peddler's $8*)?
It looks somewhat off.

I'm in the gradual process of replacing all the code for text/icon drawing
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.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #111 on: November 21, 2018, 12:34:38 pm »
0

I want to use it in German and it would be nice if I can get the arrow just with ticking a box so that I can write the German word.
Ah, other languages are a good point, thanks for reminding me.

Intuitively it seems like it should be possible to have this tool support mats with text as well, now that we have two different examples (Coffers and Villagers) and know what's constant and what's variable. Unfortunately, judging just by the images on the dominionstrategy wiki, one of the variable things appears to be the dimensions, which can't be right. Look at this:

That's the two mat images superimposed and resized to use the same dimensions. The banners line up perfectly, which is nice; the text isn't quite aligned or sized consistently, but that's not a big deal. What's bothering me is that the Coffers mat is significantly wider than the Villagers mat. Is this right? Does Renaissance include a double mat that just hasn't been scanned onto the wiki, and if so, is that one's Coffers side narrower than the Guilds mat? Somebody with a physical copy of the game help me out here, because these images are inconsistent and I don't know what to do with them.
Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #112 on: November 21, 2018, 01:59:43 pm »
0

A friend of mine just got his pre-ordered version 2 days ago. And in renaissance the 2 mats are combined. Into one mat.

The only problem I have with the mat is that if it gets bumped that you might lose track of how many coffers and villagers you have considering that you use the coin tokens for both.
« Last Edit: November 21, 2018, 02:02:04 pm by ClouduHieh »
Logged

MrHiTech

  • Salvager
  • ****
  • Offline Offline
  • Posts: 61
  • Shuffle iT Username: MrAbbaTech
  • Respect: +18
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #113 on: November 23, 2018, 09:38:16 am »
0

Can you make 3 or 4 colored banners?
Logged
A Caravan this turn is like a Lab next turn.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #114 on: November 23, 2018, 01:49:46 pm »
0

A friend of mine just got his pre-ordered version 2 days ago. And in renaissance the 2 mats are combined. Into one mat.
Okay. Are they the same size as one another? Are they narrower than the original Coffers mat? What are their actual dimensions compared to cards?
Logged

Commodore Chuckles

  • Jester
  • *****
  • Offline Offline
  • Posts: 868
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1182
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #115 on: November 23, 2018, 10:54:20 pm »
0

Can you make 3 or 4 colored banners?

No official card has more than 2 colors, so no.
Logged

ClouduHieh

  • Witch
  • *****
  • Offline Offline
  • Posts: 483
  • Shuffle iT Username: ClouduHieh
  • Respect: +83
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #116 on: November 24, 2018, 12:22:31 am »
0

They might be a little bigger than 2 cards combined. And I wouldnít know how big the original coffer mats are. I just have the original guilds/cornucopia
Logged

Kudasai

  • Explorer
  • *****
  • Offline Offline
  • Posts: 349
  • Respect: +146
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #117 on: November 24, 2018, 05:15:00 pm »
+2

I want to use it in German and it would be nice if I can get the arrow just with ticking a box so that I can write the German word.
Ah, other languages are a good point, thanks for reminding me.

Intuitively it seems like it should be possible to have this tool support mats with text as well, now that we have two different examples (Coffers and Villagers) and know what's constant and what's variable. Unfortunately, judging just by the images on the dominionstrategy wiki, one of the variable things appears to be the dimensions, which can't be right. Look at this:

That's the two mat images superimposed and resized to use the same dimensions. The banners line up perfectly, which is nice; the text isn't quite aligned or sized consistently, but that's not a big deal. What's bothering me is that the Coffers mat is significantly wider than the Villagers mat. Is this right? Does Renaissance include a double mat that just hasn't been scanned onto the wiki, and if so, is that one's Coffers side narrower than the Guilds mat? Somebody with a physical copy of the game help me out here, because these images are inconsistent and I don't know what to do with them.

I can confirm that the Coffers mat is clipped equally on both the left and right side to fit the size of the Villagers mat. In fact, for the overlay you have, if you clip the extra bits on the Coffers mat, you'll end up with exactly what is printed in Renaissance. So your ratios are spot on, but if you also need some measurements, here they are:

-Overall Coffers/Villagers Mat: Length: 12.79cm, Width: 8.33cm.

-Individual Coffers and Villagers Mats: Length: 7.86cm, Width: 5.79cm.

Measurement Notes: These were measured using inches with 1/32 precision and then converted to centimeters using a 2.54cm:1in ratio.

Layout: The Coffers and Villagers Mats are both essentially rotated 90 degrees and set one on top of the other to fit into the overall mat. So the lengths of both individual Coffers and Villagers Mats are slightly smaller than the overall width. The combined width of the Coffers and Villagers Mats is slightly smaller than the overall length.
« Last Edit: November 24, 2018, 05:20:21 pm by Kudasai »
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #118 on: November 24, 2018, 06:23:09 pm »
0

That's exactly the sizing information I was looking for, thanks. The discrepancy between lengths and widths was a little confusing, but I see here that there's some significant margin space between them to mark player color, so that makes sense.
Logged

Kudasai

  • Explorer
  • *****
  • Offline Offline
  • Posts: 349
  • Respect: +146
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #119 on: November 25, 2018, 03:08:58 pm »
0

That's exactly the sizing information I was looking for, thanks. The discrepancy between lengths and widths was a little confusing, but I see here that there's some significant margin space between them to mark player color, so that makes sense.

Correct! The length to width ratios will be slightly different for the overall mat versus the individual Coffers and Villagers sections.

I think if you're going to provide a mat option for people, I'd go with the individual Coffers or Villagers ratio, but at a size that is about as big as the overall mat size.
Logged

Jeebus

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1416
  • Shuffle iT Username: jeebus
  • Respect: +1017
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #120 on: December 01, 2018, 01:43:59 pm »
0

I'm noticing that when I download the image, some problem occurs in my browser (Vivaldi), so that from now on, every time I re-focus the browser, it freezes for a few fractions of a second. After downloading 10-15 cards yesterday, my browser took 5 seconds to unfreeze every time I re-focused from another window. That means it's unusable of course. I had to delete all settings, bookmarks etc and build it up again. I downloaded one card now, and it's starting to happen again. I have never had this problem with any other web application. I have no idea where the problem lies.

EDIT: I have finally isolated the problem. It's in the History. It doesn't help to clear the history in the browser, however. I have to delete the actualy History file (from C:\Users\<user>\AppData\Local\Vivaldi\User Data\Default) and let Vivaldi rebuild it.
« Last Edit: December 01, 2018, 02:00:05 pm by Jeebus »
Logged

LibraryAdventurer

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1248
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +953
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #121 on: December 02, 2018, 07:43:27 pm »
0

First, thanks again for this very cool card image generator!  Photoshop is a pain to use for making fan card mock-ups.

I wondered why the .png file to download from the generator is so big for a picture file. The .png file I just downloaded for the fan card is 2.5 Mb, compared the fan card images (also .png files) I made a while back with photoshop which are about 300 Kb.

Rabenkind

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +1
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #122 on: December 03, 2018, 08:26:00 am »
0

In the german forum I found Tamplates for Gimp. They are very easy to edit.
For vertical cards:
https://www.magentacloud.de/lnk/fwT4yTjF#file
For horizontal cards:
https://www.magentacloud.de/lnk/73gKj5C3#file
Of course they are not as easy, like the generator!
Oh, if you donít have Trajan Pro, you maybe need this font:
https://www.dafont.com/optimusprinceps.font
Logged

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #123 on: December 12, 2018, 02:36:51 pm »
0

A bit of feedback from recently printing my fan expansion, Antiquities:

For the official cards, there's a maximum size for rules text; the generator doesn't keep this in mind. For example, if you were to render your own version of Scholar, the text will be much larger than the official cards. Overall it's not terrible but they do stand out as "not official" when the text gets big. Additionally, I found myself trying to keep the text amounts short... a bit unnecessarily sometimes, because I didn't know what was normal.

Another thing, someone has asked me to make German translations of the cards, but the generator doesn't bold the German words. Could you possibly add a way to force text to be bold? This would also be good for people adding new keywords *puppy eyes*.

Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #124 on: December 12, 2018, 08:05:49 pm »
0

For the official cards, there's a maximum size for rules text; the generator doesn't keep this in mind. For example, if you were to render your own version of Scholar, the text will be much larger than the official cards.
This isn't true. The generator's maximum text size is admittedly slightly larger--not "much" larger--than certain scanned images, but it was based on other scanned images, so for those ones it's the right size. This just isn't something that's fully consistent across all cards/expansions/editions, and if I have to pick only one size to start from, out of the various possibilities offered by different cards, I'd rather a larger than a smaller.
Quote
Another thing, someone has asked me to make German translations of the cards, but the generator doesn't bold the German words. Could you possibly add a way to force text to be bold? This would also be good for people adding new keywords *puppy eyes*.
This is in the works, but obviously only every once in a while do I actually feel like writing code for this, so I have no time estimate for you.

ETA: other replies:
Quote
I'm noticing that when I download the image, some problem occurs in my browser (Vivaldi), so that from now on, every time I re-focus the browser, it freezes for a few fractions of a second
I'm sorry, I've never even heard of Vivaldi and have no desire to troubleshoot this right now. The images are <canvas> elements, and you're downloading them using whatever your browser's standard code for downloading <canvas> images is. The download process is 100% something your browser handles, not me.

Quote
I wondered why the .png file to download from the generator is so big for a picture file. The .png file I just downloaded for the fan card is 2.5 Mb, compared the fan card images (also .png files) I made a while back with photoshop which are about 300 Kb.
I'm going to guess the images you made with photoshop are much smaller in terms of pixel dimensions, which naturally translates to being smaller in terms of filesize. These are raster images, after all, not vectors.
« Last Edit: December 12, 2018, 08:11:08 pm by Violet CLM »
Logged

LibraryAdventurer

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1248
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +953
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #125 on: December 12, 2018, 10:24:23 pm »
0

These are raster images, after all, not vectors.
What does this mean? I don't know of these 'raster' or 'vectors' of which you speak.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #126 on: December 13, 2018, 12:23:04 am »
+3

Okay! Look at this triangle.

In a raster image, which most image formats qualify as--png, bmp, gif, jpeg, etc.--this is basically encoded as a long list of pixels specifying whether each one should be black or transparent (or something in-between, for the edges). The downside to this approach is that if you want to resize the image, you get something like this:

The program doing the resizing, in this case your web browser, has no idea what the image is actually supposed to depict. It just knows there are a bunch of pixels in different places, and when trying to draw the image larger, it grabs one of those pixels (or multiple of those pixels, if it's blurring) and uses that. So that's one downside to raster images: they have a finite amount of detail, and when you try to display them at a size larger than their detail, it looks wrong.

Because raster images are essentially just lists of pixels, their filesize is hugely affected by their dimensions. A 32x32 image has far fewer pixels than a 1024x1024 image, for example, so it'll almost always be smaller. Depending on the specific image file format you're using, the complexity of the image will also play a role, but the dimensions will always be a factor.

Vector images (most commonly svg files) don't do any of that. The vector equivalent of that triangle image is basically, instead of a long list of pixels, a statement "there is a shape and it's black and it has three points and they are located here, here, and here." That's it! And each of those point locations would be expressed as a percentage of the image's overall width and height. So when you resize a vector image, it looks like this instead:


Perfectly smooth at any size. Vector image file formats generally let you specify a size the image should be displayed as by default, but really, the images themselves don't exactly have dimensions, they're just lists of shapes. The filesize of a vector file will depend purely on the number and complexity of those shapes, but won't care in the slightest about dimensions.

So you might think, wow, vector images sound great, they have none of the downsides of raster images, let's use them for everything! Well, for triangles and stuff, sure. But look at this random picture:

It would take forever to reduce this to a list of shapes and their colors. The more textured the image, the more irregular the shapes, etc., the harder it gets to make a vector equivalent, and automatic software solutions remain fallible. So both rasters and vectors persist, because both do different jobs.
Logged

LibraryAdventurer

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1248
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +953
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #127 on: December 13, 2018, 01:59:30 am »
0

oh. ok. So, back to my original question, why are the images created by your generator so much bigger (dimentionally as well as file size) than a photoshop template for Dominion cards?

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #128 on: December 13, 2018, 03:15:03 am »
+1

So the DPI is higher in case you want to print anything.
Logged

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 333
  • Respect: +129
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #129 on: December 13, 2018, 12:31:07 pm »
+1

So the DPI is higher in case you want to print anything.

To chime in, when I printed the Antiquities physicals, the printer (www.ludocards.com) wouldn't accept any files under a certain DPI... which basically translated to "under a certain dimensions" if you're using normal windows images. So the fact that the generator produces such massive images was exactly what they/I wanted.

(The printer would reject those files because experience says the client will be upset by the low quality/blotchy/gross results)
Logged

NoMoreFun

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1456
  • Respect: +1043
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #130 on: January 12, 2019, 07:32:42 pm »
+6

Can someone please sticky this topic?
Logged

MattLee

  • Spy
  • ****
  • Offline Offline
  • Posts: 81
  • Respect: +87
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #131 on: January 13, 2019, 12:00:17 am »
0

Can someone please sticky this topic?

I can't believe it hasn't been yet. Seriously, if we want this part of the forum to be as active as possible this NEEDS to be stickied.
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5257
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #132 on: January 13, 2019, 06:59:51 am »
+2

I'm sure we talked about sticky-ing this thread before. I have my own template, and even then I love how simple to use this is. If you could upload your own expansion symbol and this didn't have some issues with certain costs (*, +), I'd use it for everything.

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #133 on: February 02, 2019, 08:58:30 pm »
+6

Hey folks,

I started to adjust this great dominion card image generator with a few additional features. At first, only locally for personal use, but I don't want to keep this from the community, so here it is:

https://shardofhonor.github.io/dominion-card-generator/

Dumb example to showcase some of the new features

I am sure, Violet CLM's next version is even better, but it might be useful for you in the meantime.
I hope nobody takes offense, if I hijack this. But if this is the case, I can delete my version again very quickly!
Please note, that the main effort and code is not made by me and these are only small adjustments to the original, including:

- Better display of overpay and variable costs
- Two lines for more than 3 types
- Options to move and zoom card images
- Custom boldable keywords (the german keywords are already hardcoded into it)
- Custom expansion icons
- Option to create italic text, by adding the code "[≠i]" to the specific line
- New right-justified line at the bottom to enter additional credit information
- More positions to split the background for two colored cards

(Tested on macOS with Chrome, Firefox and Safari)
Logged
You might want to check out my own fan-card creations, built with this.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #134 on: February 03, 2019, 01:36:55 am »
+1

Some great additions there, thanks for sharing! The Position X/Position Y/Zoom sliders in particular are exactly what I've always had in mind but never gotten around to implementing... something about their CSS may be a bit iffy, though, because the two form columns are wildly different widths for me, at least viewing in Chrome. I've also noticed that changing the Secondary Color doesn't work properly when Split Position is anything other than Half, and for that matter, Split Position probably shouldn't be an available field for card styles when it doesn't do anything.

ETA: also, you've got a problem where messing with the image's position/size can cause it to be drawn behind the transparent corners of the card
« Last Edit: February 03, 2019, 02:01:27 am by Violet CLM »
Logged

herw

  • Bishop
  • ****
  • Offline Offline
  • Posts: 122
  • Shuffle iT Username: Dominion-online: herw (basic account) and Herwig (Gold)
  • Respect: +47
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #135 on: February 03, 2019, 01:53:31 am »
+1

Hey folks,

I started to adjust this great dominion card image generator with a few additional features. At first, only locally for personal use, but I don't want to keep this from the community, so here it is:

https://shardofhonor.github.io/dominion-card-generator/

[...]
great additions; thanks
I still don't like the pictures of costs and debts. The numbers are too big (especially when using 12$ or 12 debt). The numbers should be a few pixel to bottom.
Long titles (more than 13 characters) have a conflict with costs on top (treasures).
« Last Edit: February 03, 2019, 02:11:14 am by herw »
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #136 on: February 03, 2019, 10:26:37 am »
+1

I fixed some of the issues, namely:

- the title conflict for treasures
- layout for sliders
- changing of secondary color for other split positions
- cut corners for zoomed picture

Still open issues are the number rendering and hiding the split position field, if it is not required. I'll do this, when I find some time for it.
Logged
You might want to check out my own fan-card creations, built with this.

mail-mi

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1133
  • Shuffle iT Username: mail-mi
  • Come play some Forum Mafia with us!
  • Respect: +1181
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #137 on: February 08, 2019, 01:01:05 pm »
0

This may seem like a dumb question, but how do I get the card from the creator onto the forum? I'm pretty illiterate in this field.
Logged
I currently imagine mail-mi wearing a dark trenchcoat and a bowler hat, hunched over a bit, toothpick in his mouth, holding a gun in his pocket.  One bead of sweat trickling down his nose.

'And what is it that ye shall hope for? Behold I say unto you that ye shall have hope through the atonement of Christ and the power of his resurrection, to be raised unto life eternal, and this because of your faith in him according to the promise." - Moroni 7:41, the Book of Mormon

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #138 on: February 08, 2019, 01:39:33 pm »
+1

This may seem like a dumb question, but how do I get the card from the creator onto the forum? I'm pretty illiterate in this field.
Despite the generator being a website, the image is only generated via javascript running locally in your browser, so there is no static image that can be referenced directly.
So you have to download the image from the generator to your computer via right-click option and then upload it somewhere at a image hosting service (for example imgur) to reference the image link from there using image bb code like this:
Code: [Select]
[img width=200]https://exampleimagehostingservice.com/link-to-image-file[/img]
Logged
You might want to check out my own fan-card creations, built with this.

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #139 on: February 08, 2019, 04:24:16 pm »
0

The numbers issue is not exactly solved but hopeful better and the split-position field now only shows, when needed.
And there are two new things: Base Cards and Pile Markers
« Last Edit: February 14, 2019, 03:04:43 am by Shard of Honor »
Logged
You might want to check out my own fan-card creations, built with this.

Commodore Chuckles

  • Jester
  • *****
  • Offline Offline
  • Posts: 868
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1182
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #140 on: February 08, 2019, 06:10:19 pm »
0

This may seem like a dumb question, but how do I get the card from the creator onto the forum? I'm pretty illiterate in this field.
Despite the generator being a website, the image is only generated via javascript running locally in your browser, so there is no static image that can be referenced directly.
So you have to download the image from the generator to your computer via right-click option and then upload it somewhere at a image hosting service (for example imgur) to reference the image link from there using image bb code like this:
Code: [Select]
[img width=200]https://exampleimagehostingservice.com/link-to-image-file[/img]

To be more precise, you have to take a screen shot. I don't think you can download the image just by right-clicking on it.
Logged

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #141 on: February 08, 2019, 06:12:46 pm »
+3

You can download the image just by right-clicking on it.
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #142 on: February 09, 2019, 05:48:24 pm »
+1

We all know Coffers and Villagers mats. How about a way to organize your VP and Debt tokens?
Ahh, yes. I've also implemented a (still rudimentary) option to create player mats  8)
Logged
You might want to check out my own fan-card creations, built with this.

Commodore Chuckles

  • Jester
  • *****
  • Offline Offline
  • Posts: 868
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1182
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #143 on: February 09, 2019, 06:04:00 pm »
0

You can download the image just by right-clicking on it.

On what browser? It doesn't work for me on Safari.
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #144 on: February 09, 2019, 06:21:20 pm »
+2

You can download the image just by right-clicking on it.

On what browser? It doesn't work for me on Safari.

Just tested it myself and you are right. Safari does not have the right click option. Firefox and Chrome have it. Never realized that before...
I've added a download button for the full sized image  ;)
« Last Edit: February 09, 2019, 08:04:11 pm by Shard of Honor »
Logged
You might want to check out my own fan-card creations, built with this.

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +49
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #145 on: February 28, 2019, 02:36:26 pm »
+1

Thanks for the updates.
I am having an issue with some images not displaying in the new version.
Should I post the image URL here or PM for you to review?
Thanks
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #146 on: February 28, 2019, 04:43:10 pm »
0

Thanks for the updates.
I am having an issue with some images not displaying in the new version.
Should I post the image URL here or PM for you to review?
Thanks

Just PM me. If I have time, I'll have a look into it  ;)
Logged
You might want to check out my own fan-card creations, built with this.

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #147 on: March 01, 2019, 01:42:23 pm »
+1

The Image bug was quite easy to fix. All kinds of image URLs should work again. (Technical Details here)
Logged
You might want to check out my own fan-card creations, built with this.

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +49
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #148 on: March 01, 2019, 11:34:27 pm »
0

The Image bug was quite easy to fix. All kinds of image URLs should work again. (Technical Details here)
Thanks works very well
Logged

King Leon

  • Duke
  • *****
  • Offline Offline
  • Posts: 399
  • Respect: +307
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #149 on: March 04, 2019, 08:39:18 am »
0

Hi Shard of Honor,

I see that you are using Trajan Bold Pro and Minion Std Black, both are copyright by Adobe. In the way you are using those fonts, the full font program is downloaded by the client. This is clearly a license violation. Therefore I tried to find some free and open source alternatives and found Cinzel and Crimson Text. What do you think?

Cinzel Bold
https://fonts.google.com/specimen/Cinzel

Crimson Text Bold
https://fonts.google.com/specimen/Crimson+Text
« Last Edit: March 04, 2019, 08:46:19 am by King Leon »
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #150 on: March 04, 2019, 10:20:03 am »
+2

Hi Shard of Honor,

I see that you are using Trajan Bold Pro and Minion Std Black, both are copyright by Adobe. In the way you are using those fonts, the full font program is downloaded by the client. This is clearly a license violation. Therefore I tried to find some free and open source alternatives and found Cinzel and Crimson Text. What do you think?

Cinzel Bold
https://fonts.google.com/specimen/Cinzel

Crimson Text Bold
https://fonts.google.com/specimen/Crimson+Text

You are right. Thanks. Not the best idea...
I copied that part from the original generator.

Now, the font files are not hosted any more inside the generator. Instead, it first tries to find these fonts on your local computer, and otherwise a cascading fallback is defined to load them or similar replacements externally. This might result in some visual differences.
Logged
You might want to check out my own fan-card creations, built with this.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 131
  • Respect: +318
    • View Profile
Re: Dominion Card Image Generator
« Reply #151 on: March 06, 2019, 10:21:30 pm »
+3

This thread has now been stickied, presumably in response to some feature or other added by Shard of Honor... italics, maybe? In response, I've edited the first post to include links to Shard's fork at its home page and also its announcement in this thread.
Logged

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +49
    • View Profile
Re: Dominion Card Image Generator
« Reply #152 on: March 11, 2019, 03:20:44 pm »
0

I have a few questions about the ShardofHonor card generator
1.  The Primary vs. Secondary option see to be 'flipped' - I have an Action - Duration - Reaction card (same type as Caravan Guard)
     But in order to get the correct color layout (to match Caravan Guard), I have to make the primary as 'Reaction', then secondary as 'Duration'.
     This seems counter-intuitive to me.  Sure I can adjust the sequence, but maybe it is just me that has noticed this?
2. I could not figure out how to use the 'Additional Bold Keywords' option
3. Is the split position options, in place for a reason? Are there Expansion option that have the coloring not using the 1/2 option?
4. VP Token option used in any of the current expansions?
Thanks
DooWopDJ
Logged

Doom_Shark

  • Explorer
  • *****
  • Offline Offline
  • Posts: 325
  • Shuffle iT Username: Doom_Shark
  • Respect: +281
    • View Profile
Re: Dominion Card Image Generator
« Reply #153 on: March 11, 2019, 04:16:37 pm »
+1

It took me a while to figure out "Additional Bold Keywords" as well. Basically, it only works if you want something like "+2 Mutineers." You type in "Mutineers;" in the box, and it will bold any type of "+[number] Mutineers"
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.

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #154 on: March 12, 2019, 07:43:29 am »
0

I have a few questions about the ShardofHonor card generator
1.  The Primary vs. Secondary option see to be 'flipped' - I have an Action - Duration - Reaction card (same type as Caravan Guard)
     But in order to get the correct color layout (to match Caravan Guard), I have to make the primary as 'Reaction', then secondary as 'Duration'.
     This seems counter-intuitive to me.  Sure I can adjust the sequence, but maybe it is just me that has noticed this?
2. I could not figure out how to use the 'Additional Bold Keywords' option
3. Is the split position options, in place for a reason? Are there Expansion option that have the coloring not using the 1/2 option?
4. VP Token option used in any of the current expansions?
Thanks
DooWopDJ

1. I agree with you, but if I change it now, all links will be broken...
2. For example VioletCLM's Sellsail
3. The split position could be used to achieve an effect as in Pasture or Distant Lands, where the green coloring is not perfectly in the middle.
4. VP Tokens are used in the German prints of Prosperty and Empires (by ASS Altenburger) instead of the normal VP symbol. A stupid decision of them, but I rather have all my cards consistent...
« Last Edit: March 12, 2019, 08:38:12 am by Shard of Honor »
Logged
You might want to check out my own fan-card creations, built with this.

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +49
    • View Profile
Re: Dominion Card Image Generator
« Reply #155 on: March 12, 2019, 09:08:28 am »
+1

I have a few questions about the ShardofHonor card generator
1.  The Primary vs. Secondary option see to be 'flipped' - I have an Action - Duration - Reaction card (same type as Caravan Guard)
     But in order to get the correct color layout (to match Caravan Guard), I have to make the primary as 'Reaction', then secondary as 'Duration'.
     This seems counter-intuitive to me.  Sure I can adjust the sequence, but maybe it is just me that has noticed this?
2. I could not figure out how to use the 'Additional Bold Keywords' option
3. Is the split position options, in place for a reason? Are there Expansion option that have the coloring not using the 1/2 option?
4. VP Token option used in any of the current expansions?
Thanks
DooWopDJ

1. I agree with you, but if I change it now, all links will be broken...
    ---- Good point.  Yeah I really would not like to have to fix them.  And I should NOT complain either.  These card generators are AWESOME.
My apologies for noticing (I test software for a living).
2. For example VioletCLM's Sellsail
-- I see, I could not figure out the 'use' format.  It required the +1 symbols (I just thought it would bold any word in the field.  Thanks.
3. The split position could be used to achieve an effect as in Pasture or Distant Lands, where the green coloring is not perfectly in the middle.
Still an awesome option, although I could not 'replicate' the DL effect.
4. VP Tokens are used in the German prints of Prosperty and Empires (by ASS Altenburger) instead of the normal VP symbol. A stupid decision of them, but I rather have all my cards consistent...
I like the VP Token option as a new option to use in my card text instead of typing "Victory Point token" I can type #"  Thanks for making the card designer so 'flexible'.
Logged

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +49
    • View Profile
Re: Dominion Card Image Generator
« Reply #156 on: March 21, 2019, 03:54:14 pm »
0

It could just be my eyesight, but there are two "+" symbols that do not seem to be 'bolded'
The + $1 Coin and the +1 %

https://shardofhonor.github.io/dominion-card-generator/index.html?
title=2%20Non%20Bolded%20Plus&description=%2B1%20Buy%0A%2B%202%25%0A%2B%20%241%0A%0A&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=-1&picture-y=-0.35&picture-zoom=1&picture=&expansion=&color0=0&color1=0&size=0

Note:
Also if you start off you remove the space in the +$1 it is really big

https://shardofhonor.github.io/dominion-card-generator/index.html?title=2%20Non%20Bolded%20Plus&description=%2B1%20Buy%0A%2B%202%25%0A%2B%241%0A%0A&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=-1&picture-y=-0.35&picture-zoom=1&picture=&expansion=&color0=0&color1=0&size=0
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #157 on: March 21, 2019, 04:30:43 pm »
+1

Yeah, there is a problem in the regular expressions, that for the rules of when to bold text...
I am not very good in regex, but I'll try to fix it and refine the rules to better handle these cases.

When removing the space between plus and coin or VP, it is correctly recognized as symbols, that should be bolded. But as these are now alone in a row, they are formatted differently than in the text. And Coins and VP symbols alone are much bigger... currently also if there are leading operators.

In the meantime, you can trick the generator into thinking, that there is other text in the line by using invisible special characters like the non-breaking-space:
https://shardofhonor.github.io/dominion-card-generator/index.html?title=Bolded%20Plus&description=%2B1%20Buy%0A%2B2%25%20%E2%80%89%0A%2B%241%20%E2%80%89&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=-1&picture-y=-0.35&picture-zoom=1&picture=&expansion=&color0=0&color1=0&size=0
Logged
You might want to check out my own fan-card creations, built with this.

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #158 on: April 22, 2019, 08:18:39 am »
0

Hello,

I'm french, and I work on some projects to translate fan expansions into my language for me and my friends.

This card image generator is wonderfull to do that ! Thanks so much for that tool.

There is my question.
In the fan expansion called salvation, a new token is used, like in this card :


How can I insert it by this generator ?
I think it needs a little improvement.
2 solutions : add this token or ... a way to add some special characters linked to some little image that we can use in description.

The second solution would be a great improvement ;-)
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #159 on: April 22, 2019, 05:53:30 pm »
+1

2 solutions : add this token or ... a way to add some special characters linked to some little image that we can use in description.

The second solution would be a great improvement ;-)

That was quite easy to add. I hope one custom token is enough. Making it variable would be a lot more work...
Here is your example: Indulgence Trade

I still couldn't solve the problem with icons in single lines, but at least it is possible to use the workaround mentioned above.
Logged
You might want to check out my own fan-card creations, built with this.

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #160 on: April 29, 2019, 10:48:45 am »
0

Hello !

I will try it.

Thanks you very much !
Logged

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #161 on: May 03, 2019, 08:56:16 am »
0

It works fine !

Logged

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #162 on: May 03, 2019, 08:57:06 am »
0

So ... now I have some woks to do  ;)

Thank you again !
Logged

LibraryAdventurer

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1248
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +953
    • View Profile
Re: Dominion Card Image Generator
« Reply #163 on: May 25, 2019, 11:40:23 pm »
0

The Victory token symbol doesn't seem to work. It shows up all grey. I don't think I'd recognize what it was if I didn't tell it to put a victory token symbol there.

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #164 on: May 26, 2019, 01:05:02 am »
0

The Victory token symbol doesn't seem to work. It shows up all grey. I don't think I'd recognize what it was if I didn't tell it to put a victory token symbol there.
It's the symbol used by the German prints by the publisher ASS Altenburger and should depict one of the physical tokens of empires or prosperity. Sad, that they decided to change that from the English originals, but at least with that option it is possible for me to keep all my German versions consistent within themselves.
So it works as intended but is only of limited use for you guys...
Logged
You might want to check out my own fan-card creations, built with this.

hhelibebcnofnena

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 273
  • Respect: +152
    • View Profile
Re: Dominion Card Image Generator
« Reply #165 on: May 26, 2019, 10:59:07 am »
0

I was able to download the card. But then I realized I don't actually know how to copy a downloaded image into the forum. How does one do this?
Logged
Hydrogen Helium Lithium Beryllium Boron Carbon Nitrogen Oxygen Fluorine Neon Sodium

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 67
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #166 on: May 26, 2019, 10:15:27 pm »
0

I was able to download the card. But then I realized I don't actually know how to copy a downloaded image into the forum. How does one do this?
You have to upload it at a image holster and use the file url to include it. For the correct syntax, just quote a post with pictures to see the code.
Logged
You might want to check out my own fan-card creations, built with this.

hhelibebcnofnena

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 273
  • Respect: +152
    • View Profile
Re: Dominion Card Image Generator
« Reply #167 on: May 26, 2019, 10:43:58 pm »
0

I was able to download the card. But then I realized I don't actually know how to copy a downloaded image into the forum. How does one do this?
You have to upload it at a image holster and use the file url to include it. For the correct syntax, just quote a post with pictures to see the code.

Thanks.
Logged
Hydrogen Helium Lithium Beryllium Boron Carbon Nitrogen Oxygen Fluorine Neon Sodium
Pages: 1 2 3 ... 7 [All]
 

Page created in 0.234 seconds with 21 queries.