Dominion Strategy Forum

Please login or register.

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

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

0 Members and 1 Guest are viewing this topic.

Violet CLM

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

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

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

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

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

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

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


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

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

ThetaSigma12

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

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

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

I have some nicer templates I could PM.

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

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

The preview coins are off kilter

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

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

AdrianHealey

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

THIS IS AMAZING FOR IDIOTS LIKE ME OMG
Logged

Chris is me

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

THIS IS AMAZING FOR IDIOTS LIKE ME OMG

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

bug me on discord

pm me if you wanna do stuff for the blog

they/them

Violet CLM

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

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

Doom_Shark

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

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

ThetaSigma12

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

A few more things:

The cost and types need to be centered a little better

Type font should be smaller

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

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


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

werothegreat

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

Testing:



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

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

Nflickner

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

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

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

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

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

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • 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

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

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

kru5h

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

Could you add a way to add italics?

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

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

Orange

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



Easy!  Thanks for this fun tool.
Logged

McGarnacle

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

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

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

AdrianHealey

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



Easy!  Thanks for this fun tool.

Splitpile potential imo
Logged

Doom_Shark

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



Easy!  Thanks for this fun tool.

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

LibraryAdventurer

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

Easy!  Thanks for this fun tool.

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

Doom_Shark

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

Easy!  Thanks for this fun tool.

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

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

LibraryAdventurer

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

Easy!  Thanks for this fun tool.

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

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

tristan

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



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

AdrianHealey

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



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

ThetaSigma12

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

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

AdrianHealey

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

Theta solving problems like no big deal.

Could probably cost $4 and be a village, I think. No?
Logged

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: +776
    • 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: 2745
  • Shuffle iT Username: Chris is me
  • What do you want me to say?
  • Respect: +3458
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: +641
    • 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: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +410
    • 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: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: +88
    • 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
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • 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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • 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 Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

Haddock

  • Minion
  • *****
  • Offline Offline
  • Posts: 725
  • Shuffle iT Username: Haddock
  • Doc Cod
  • Respect: +559
    • 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: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • 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
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • 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 Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • 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 Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 337
  • Respect: +134
    • 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: +641
    • 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: +5347
    • 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.
Logged

MattLee

  • Spy
  • ****
  • Offline Offline
  • Posts: 81
  • Respect: +88
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: +641
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: +348
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: +88
    • 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: +641
    • 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: 337
  • Respect: +134
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: 337
  • Respect: +134
    • 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: 337
  • Respect: +134
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: 337
  • Respect: +134
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: 337
  • Respect: +134
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2013
  • Respect: +2129
    • 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: 274
  • Respect: +453
    • 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

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Shuffle iT Username: Supernova888
  • Respect: +27
    • 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: +5347
    • 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.
Logged

ClouduHieh

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

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

Logged

ClouduHieh

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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: 337
  • Respect: +134
    • 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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1284
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1976
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator v1.4
« Reply #84 on: August 17, 2018, 09:31:43 pm »
+11

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: +5347
    • 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.
Logged

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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: 28
  • Respect: +19
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +410
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +410
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 422
  • Respect: +190
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 422
  • Respect: +190
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #96 on: October 11, 2018, 02:07:03 pm »
+4

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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 422
  • Respect: +190
    • 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

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2013
  • Respect: +2129
    • 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: +5347
    • 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.
Logged

Doom_Shark

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +410
    • 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

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2013
  • Respect: +2129
    • 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: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • 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: 6
  • Respect: +2
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 422
  • Respect: +190
    • 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

  • Witch
  • *****
  • Offline Offline
  • Posts: 478
  • Respect: +406
    • 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: 6
  • Respect: +2
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +410
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Bishop
  • ****
  • Offline Offline
  • Posts: 120
  • Shuffle iT Username: MrHiTech
  • Respect: +89
    • 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

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1284
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1976
    • 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

  • Minion
  • *****
  • Offline Offline
  • Posts: 527
  • Shuffle iT Username: ClouduHieh
  • Respect: +121
    • 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

  • Witch
  • *****
  • Offline Offline
  • Posts: 470
  • Respect: +289
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Witch
  • *****
  • Offline Offline
  • Posts: 470
  • Respect: +289
    • 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

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2529
  • Shuffle iT Username: jeebus
  • Respect: +1642
    • 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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1684
    • 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: 6
  • Respect: +2
    • 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: 337
  • Respect: +134
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1684
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1684
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #128 on: December 13, 2018, 03:15:03 am »
+2

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

Neirai the Forgiven

  • Explorer
  • *****
  • Offline Offline
  • Posts: 337
  • Respect: +134
    • 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

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2013
  • Respect: +2129
    • 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: +88
    • 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: +5347
    • 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.
Logged

Shard of Honor

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

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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator v1.5
« Reply #134 on: February 03, 2019, 01:36:55 am »
+2

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

  • Golem
  • ****
  • Offline Offline
  • Posts: 196
  • Respect: +88
    • 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

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

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: 1298
  • Shuffle iT Username: mail-mi
  • Come play some Forum Mafia with us!
  • Respect: +1364
    • 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

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

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

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

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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1284
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1976
    • 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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

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

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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1284
  • Shuffle iT Username: Commodore Chuckles
  • Respect: +1976
    • 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

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

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

  • Golem
  • ****
  • Offline Offline
  • Posts: 194
  • Respect: +62
    • 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

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #146 on: February 28, 2019, 04:43:10 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

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

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

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

  • Golem
  • ****
  • Offline Offline
  • Posts: 194
  • Respect: +62
    • 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

  • Witch
  • *****
  • Offline Offline
  • Posts: 478
  • Respect: +406
    • 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

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

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

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • 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

  • Golem
  • ****
  • Offline Offline
  • Posts: 194
  • Respect: +62
    • 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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +410
    • 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

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #154 on: March 12, 2019, 07:43:29 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...
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

  • Golem
  • ****
  • Offline Offline
  • Posts: 194
  • Respect: +62
    • 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

  • Golem
  • ****
  • Offline Offline
  • Posts: 194
  • Respect: +62
    • 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

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

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

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

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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1684
    • 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

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

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

  • Minion
  • *****
  • Offline Offline
  • Posts: 529
  • she/her
  • Respect: +409
    • 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

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

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

  • Minion
  • *****
  • Offline Offline
  • Posts: 529
  • she/her
  • Respect: +409
    • 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

Fly-Eagles-Fly

  • Tactician
  • *****
  • Offline Offline
  • Posts: 422
  • Respect: +190
    • View Profile
Re: Dominion Card Image Generator
« Reply #168 on: August 06, 2019, 08:58:04 pm »
0

Can someone help me get a custom expansion icon, every time I try there's always a white box in its background. I'm trying use something like these:
http://clipart-library.com/clip-art/philadelphia-eagles-logo-silhouette-1.htm
http://clipart-library.com/images_k/philadelphia-eagles-logo-silhouette/philadelphia-eagles-logo-silhouette-1.png
Logged

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #169 on: August 06, 2019, 10:04:44 pm »
+1

I think is related to the web page. I tried with other icons of that page, and they seem to not work. Try to download the icon and upload somewhere else, like imgur
Logged
Who trashes the trashers?

Fly-Eagles-Fly

  • Tactician
  • *****
  • Offline Offline
  • Posts: 422
  • Respect: +190
    • View Profile
Re: Dominion Card Image Generator
« Reply #170 on: August 18, 2019, 07:32:54 pm »
+2

How exactly does the favorite cards feature work?
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #171 on: August 19, 2019, 04:19:32 pm »
+2

I am happy somebody has already noticed it  :)

In general, the favorites function is not that different from bookmarks in your browser. As you maybe know, the card generator stores all parameters in the URL. The favorites are these URLs stored locally in the browser (similar to Cookies). An advantage is duplicate checking for new favorites (it does store the exact same parameter combination only once) and the search function. The title is generated out of the template type, the price, the card types and the card title. But be careful, if you delete your browser data, all sorted entries are gone again.
Or if I program a bug...
Real favorites or exported pictures are saver.

So what to do with it?
I wouldn't use it to store entire expansion sets because there is no export function yet and as said, it might get lost easily. But for a quick access for current work-in-process cards or own templates, it might be just right.

Why did I do it?
I was in the mood for programming and liked to explore the possibilities of the browsers local store a little bit more.

Additionally, I did also add a simple web app service worker, that caches all card source files. Hopefully, this increases the performance of the generator.

PS: as already said by Freddy10, the image issue is most likely related to how that webpage serves the files. But I haven't found the reason...
Logged
You might want to check out my own fan-card creations, built with this.

Fly-Eagles-Fly

  • Tactician
  • *****
  • Offline Offline
  • Posts: 422
  • Respect: +190
    • View Profile
Re: Dominion Card Image Generator
« Reply #172 on: August 19, 2019, 10:59:49 pm »
+1

Well thanks, it's great  :)
Logged

Chris Bockhahn

  • Pearl Diver
  • **
  • Offline Offline
  • Posts: 10
  • Respect: +3
    • View Profile
Re: Dominion Card Image Generator
« Reply #173 on: August 20, 2019, 08:37:47 am »
+1

Shard of Honor, I've been using the generator for a while now and have yet to express my appreciation. It's amazing! Thank you for putting in the time and effort to save us all time and effort.

I've run into a rare issue. If you want to add a cost and debt to a dual type card, the debt icon covers the beginning of the word "Action - ..."
Here's an example to see what I mean. I'll likely just photoshop this card myself but I thought I'd mention it anyway. Thanks again your Honor.
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #174 on: August 20, 2019, 11:05:13 am »
+1

Easier than photoshop is just to add a few spaces in front of your types.
But I've adjusted the generator. Your error should be solved.
« Last Edit: August 20, 2019, 02:04:26 pm by Shard of Honor »
Logged
You might want to check out my own fan-card creations, built with this.

Chris Bockhahn

  • Pearl Diver
  • **
  • Offline Offline
  • Posts: 10
  • Respect: +3
    • View Profile
Re: Dominion Card Image Generator
« Reply #175 on: August 21, 2019, 10:43:51 am »
0

Easier than photoshop is just to add a few spaces in front of your types.
But I've adjusted the generator. Your error should be solved.
I'm a dope for not thinking of that.  :P
Logged

popsofctown

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5477
  • Respect: +2860
    • View Profile
Re: Dominion Card Image Generator
« Reply #176 on: September 14, 2019, 05:54:57 am »
0



Disclaimer designed while drunk.
Logged

naitchman

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 242
  • Respect: +260
    • View Profile
Re: Dominion Card Image Generator
« Reply #177 on: September 22, 2019, 12:12:14 pm »
0

Hey, I have question about this tool (I understand basic computer stuff, but I'm not so tech savvy).

I've been making a bunch of fan cards and saving them by using the favorites button. Now that I have a new computer is there a way for my new computer to access those cards? (note I can't just copy the url's because many of the url's are too long and won't work in my browser because the image address is very long).
« Last Edit: September 22, 2019, 12:14:33 pm by naitchman »
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #178 on: September 22, 2019, 12:46:35 pm »
+1

Maybe this is possible by copying the local app data of your browser to your new PC. Or you could try accessing the data saved locally by the website via the browsers web development tools and copy it into a file.

Currently, I have no time to implement a real export function for the favorites, but it is on my to-do list.

Unfortunately, copying the URLs would have been my fist suggestion, as the favorites function actually does nothing different than just storing a list of URLs...
Logged
You might want to check out my own fan-card creations, built with this.

Qvist

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2400
  • Shuffle iT Username: Qvist
  • Respect: +4085
    • View Profile
Re: Dominion Card Image Generator
« Reply #179 on: September 22, 2019, 12:53:20 pm »
0

What browser are you using? It seems weird that you can't copy the URL. Also if you use for example Chrome you could just bookmark the URL and it would automatically sync to your new computer. I know that works for Chrome, not sure about other browsers.

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #180 on: September 22, 2019, 01:03:40 pm »
+1

You can try this:
- Open your browser on your old computer
- Go to the card generator page
- Open a console (F12 on firefox)
- write localStorage["favorites"] and press enter
- copy the message you got, save it somewhere and send it to your new computer
- open the card generator page in your new computer
- open the console
- write localStorage.setItem("favorites",  :) ); replacing :) with the value you copied from your old computer and then press enter

I'm not fully sure it works (I tested it on the same computer using two different browsers)
Logged
Who trashes the trashers?

naitchman

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 242
  • Respect: +260
    • View Profile
Re: Dominion Card Image Generator
« Reply #181 on: September 22, 2019, 04:34:24 pm »
0

Thanks for the ideas. I'll try them out and see if they work.
Logged

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #182 on: February 17, 2020, 02:45:37 pm »
0

hey ShardOfHonor
is there a max/min size for expansion icons? I'm trying to add one (the same way I add a card picture - link over from trello) and i'm not getting any outputted symbol on the card?
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #183 on: February 17, 2020, 04:16:41 pm »
+2

Hi spineflu,
the icon image is drawn with a height and width of 80 pixels, and resized if the original is larger or smaller.
So no, should be no problem. I just tried with some examples from google image search.
You could dm me the link and I can check your example.
Logged
You might want to check out my own fan-card creations, built with this.

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #184 on: February 17, 2020, 07:22:36 pm »
0

it's working now. who knows what the issue was v0v.
Logged

Sharur

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 21
  • Shuffle iT Username: Sharur
  • Respect: +8
    • View Profile
Re: Dominion Card Image Generator
« Reply #185 on: February 20, 2020, 12:04:03 am »
0

I'm trying to create some cards that already exist, so I can either make minor tweaks to them (like changing the art but keeping the contents the same), or because the online images aren't as high quality as this can produce. However, I just noticed that for Bard, the coin text is absolutely massive compared to the original, and I'm wondering if there's a way to adjust that.

Generator version

Original version
Logged

NoMoreFun

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2013
  • Respect: +2129
    • View Profile
Re: Dominion Card Image Generator
« Reply #186 on: February 20, 2020, 12:18:16 am »
0

I'm trying to create some cards that already exist, so I can either make minor tweaks to them (like changing the art but keeping the contents the same), or because the online images aren't as high quality as this can produce. However, I just noticed that for Bard, the coin text is absolutely massive compared to the original, and I'm wondering if there's a way to adjust that.

Generator version

Original version
Put a space between the + and the $ amount
Logged

Sharur

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 21
  • Shuffle iT Username: Sharur
  • Respect: +8
    • View Profile
Re: Dominion Card Image Generator
« Reply #187 on: February 20, 2020, 12:25:25 am »
0

Thanks!
Logged

scolapasta

  • Minion
  • *****
  • Offline Offline
  • Posts: 579
  • Respect: +738
    • View Profile
Re: Dominion Card Image Generator
« Reply #188 on: March 03, 2020, 11:40:53 am »
0

Is it possible to create a color scheme like Pasture? (header / footer full Treasure color, text block full Victory color)

When if I chose Victory as Primary and Action as Secondary (or vice versa) it does the two tone card.

(also, does anyone know the custom color codes for the official card types? When I recently was doing a custom type, I wanted to start with the Treasure colors and tweak that)
Logged
Feel free to join us at scolapasta's cards for discussion on any of my custom cards.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #189 on: March 03, 2020, 12:24:53 pm »
+1

Is it possible to create a color scheme like Pasture? (header / footer full Treasure color, text block full Victory color)

When if I chose Victory as Primary and Action as Secondary (or vice versa) it does the two tone card.

(also, does anyone know the custom color codes for the official card types? When I recently was doing a custom type, I wanted to start with the Treasure colors and tweak that)

Isn't Pasture a two tone card, too? Like this?

and here are the color codes:
var normalColorFactorLists = [
      ["Action/Event", [1, 1, 1]],
      ["Treasure", [1.1, 0.95, 0.55]],
      ["Victory", [0.75, 0.9, 0.65]],
      ["Reaction", [0.65, 0.8, 1.05]],
      ["Duration", [1.2, 0.8, 0.4]],
      ["Reserve", [0.9, 0.75, 0.5]],
      ["Curse", [0.85, 0.6, 1.1]],
      ["Shelter", [1.05, 0.65, 0.5]],
      ["Ruins", [0.75, 0.6, 0.35]],
      ["Landmark", [0.45, 1.25, 0.85]],
      ["Night", [0.3, 0.4, 0.45]],
      ["Boon", [1.4, 1.35, 0.55, 0, 0, 0, 1.7, 1.25, 0.65, 1.95, 1.6, 0.4]],
      ["Hex", [0.75, 0.6, 2.1, 0, 0, 0, 0.8, 0.8, 0.8, 1.0, 0.75, 2.1]],
      ["State", [1.1, 1.3, 1.3, 0.6, 0.15, 0, 1.55, 1.15, 1.05, 1.4, 0.65, 0.45]],
      ["Artifact", [1.15, 1, 0.75, 0.3, 0.15, 0.05]],
      ["Project", [1.15, 0.95, 0.9, 0.4, 0.2, 0.15]]
   ];
Logged
You might want to check out my own fan-card creations, built with this.

scolapasta

  • Minion
  • *****
  • Offline Offline
  • Posts: 579
  • Respect: +738
    • View Profile
Re: Dominion Card Image Generator
« Reply #190 on: March 03, 2020, 12:40:04 pm »
0

Is it possible to create a color scheme like Pasture? (header / footer full Treasure color, text block full Victory color)

When if I chose Victory as Primary and Action as Secondary (or vice versa) it does the two tone card.

(also, does anyone know the custom color codes for the official card types? When I recently was doing a custom type, I wanted to start with the Treasure colors and tweak that)

Isn't Pasture a two tone card, too? Like this?

This is what they look like in the wiki. I guess the header / footer is two tone - I didn't notice on the print version, because I am a little color blind - it's more clear on the digital. To me the text box does not look split):

Print / Digital:
Logged
Feel free to join us at scolapasta's cards for discussion on any of my custom cards.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #191 on: March 03, 2020, 01:53:44 pm »
+2

This is what they look like in the wiki. I guess the header / footer is two tone - I didn't notice on the print version, because I am a little color blind - it's more clear on the digital. To me the text box does not look split):

The color difference is definitely not that prominent in the text box, but the bottom half of the text box is greener and the top half more yellow in all three versions.

Print / Digital / Card Image Generator:

Logged
You might want to check out my own fan-card creations, built with this.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #192 on: March 05, 2020, 12:04:39 pm »
+3

Update: Added support for the color scheme of Ways. Example
(you might need to clear the website cache to get the changes)
Logged
You might want to check out my own fan-card creations, built with this.

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator
« Reply #193 on: March 05, 2020, 12:15:56 pm »
+1

That's a rough match for the printed images, but I generally prefer the digital colors, since people are more accustomed to seeing those on screens and they're often more legible. Try this.
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #194 on: March 05, 2020, 12:37:17 pm »
+1

That's a rough match for the printed images, but I generally prefer the digital colors, since people are more accustomed to seeing those on screens and they're often more legible. Try this.

Much better. Thanks!
Logged
You might want to check out my own fan-card creations, built with this.

LibraryAdventurer

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1684
    • View Profile
Re: Dominion Card Image Generator
« Reply #195 on: March 11, 2020, 01:12:26 am »
0

When making images for treasures, the amount is always so huge that it makes any text on the card tiny.
Then if I put + to make the coin smaller so the text will be a reasonable size, the plus sign looks like a minus sign.
Can this be fixed?

X-tra

  • Witch
  • *****
  • Offline Offline
  • Posts: 464
  • Text under avatar
  • Respect: +1113
    • View Profile
    • a
Re: Dominion Card Image Generator
« Reply #196 on: March 19, 2020, 04:05:45 pm »
0

When making images for treasures, the amount is always so huge that it makes any text on the card tiny.
Then if I put + to make the coin smaller so the text will be a reasonable size, the plus sign looks like a minus sign.
Can this be fixed?

This has been bugging me too. It's not that big of a deal, but it does break the similarity between made-up cards and official ones. You need to put a space between the '+' and for it to appear small. If the space isn't present, then the will turn into its huge variant. But it shouldn't be that way, imo.

Another issue is how bolded words (such as "+1 Card") will automatically make following punctuation bold as well. This includes ',', '.', ';', ':' and other symbols. For instance, writing "Choose one: +1 Card; or +1 Action." will both put the semicolon and the period in bold font, as demonstrated here. It'd be great if they could be in normal font instead, just like official cards are.

Anyway, these small fixes would be greatly appreciated!
Logged
Bottom text

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #197 on: March 19, 2020, 06:28:57 pm »
+1

When making images for treasures, the amount is always so huge that it makes any text on the card tiny.
Then if I put + to make the coin smaller so the text will be a reasonable size, the plus sign looks like a minus sign.
Can this be fixed?

This has been bugging me too. It's not that big of a deal, but it does break the similarity between made-up cards and official ones. You need to put a space between the '+' and for it to appear small. If the space isn't present, then the will turn into its huge variant. But it shouldn't be that way, imo.

Another issue is how bolded words (such as "+1 Card") will automatically make following punctuation bold as well. This includes ',', '.', ';', ':' and other symbols. For instance, writing "Choose one: +1 Card; or +1 Action." will both put the semicolon and the period in bold font, as demonstrated here. It'd be great if they could be in normal font instead, just like official cards are.

Anyway, these small fixes would be greatly appreciated!

The issue about punctuation should now be solved.

The + is not that easy to fix, unfortunately. There is a little bit more complicated regex involved. I'll try again, when I've got more time...
Logged
You might want to check out my own fan-card creations, built with this.

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #198 on: March 19, 2020, 06:33:30 pm »
0

When making images for treasures, the amount is always so huge that it makes any text on the card tiny.
Then if I put + to make the coin smaller so the text will be a reasonable size, the plus sign looks like a minus sign.
Can this be fixed?

This has been bugging me too. It's not that big of a deal, but it does break the similarity between made-up cards and official ones. You need to put a space between the '+' and for it to appear small. If the space isn't present, then the will turn into its huge variant. But it shouldn't be that way, imo.

Another issue is how bolded words (such as "+1 Card") will automatically make following punctuation bold as well. This includes ',', '.', ';', ':' and other symbols. For instance, writing "Choose one: +1 Card; or +1 Action." will both put the semicolon and the period in bold font, as demonstrated here. It'd be great if they could be in normal font instead, just like official cards are.

Anyway, these small fixes would be greatly appreciated!

The issue about punctuation should now be solved.

The + is not that easy to fix, unfortunately. There is a little bit more complicated regex involved. I'll try again, when I've got more time...

could you change it so when there's a zero width space following the +$\d+ it does the small version? should be the easiest, most invisible version of this tweak.
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #199 on: March 20, 2020, 05:48:42 pm »
+2

When making images for treasures, the amount is always so huge that it makes any text on the card tiny.
Then if I put + to make the coin smaller so the text will be a reasonable size, the plus sign looks like a minus sign.
Can this be fixed?

This has been bugging me too. It's not that big of a deal, but it does break the similarity between made-up cards and official ones. You need to put a space between the '+' and for it to appear small. If the space isn't present, then the will turn into its huge variant. But it shouldn't be that way, imo.

Another issue is how bolded words (such as "+1 Card") will automatically make following punctuation bold as well. This includes ',', '.', ';', ':' and other symbols. For instance, writing "Choose one: +1 Card; or +1 Action." will both put the semicolon and the period in bold font, as demonstrated here. It'd be great if they could be in normal font instead, just like official cards are.

Anyway, these small fixes would be greatly appreciated!

The issue about punctuation should now be solved.

The + is not that easy to fix, unfortunately. There is a little bit more complicated regex involved. I'll try again, when I've got more time...

could you change it so when there's a zero width space following the +$\d+ it does the small version? should be the easiest, most invisible version of this tweak.

I hope I've fixed it now and haven't introduced any new bugs.
Programmed the rule +<icon><number> manually to not be drawn bigger. Spaces might still be needed to fix alignment.
Imitation of Market
Logged
You might want to check out my own fan-card creations, built with this.

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #200 on: March 24, 2020, 05:03:20 pm »
+4

With the precedent of Snowy Village and Capitalism, I think it would be nice to be able to bold text in our cards, or at least make it so that +bonus is bold instead of just +[amount] bonus.
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #201 on: March 25, 2020, 04:35:30 pm »
+4

With the precedent of Snowy Village and Capitalism, I think it would be nice to be able to bold text in our cards, or at least make it so that +bonus is bold instead of just +[amount] bonus.

Good addition. Missed that while checking for new things in Menagerie.
Snowy Village is now supported, too.
Logged
You might want to check out my own fan-card creations, built with this.

Ssolberg

  • Pawn
  • **
  • Offline Offline
  • Posts: 1
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #202 on: March 31, 2020, 08:48:44 am »
0

Great Card Generator !

Does anybody have any tips on how to get them printed ??
Any companies or how to make it on my own!!

And is there any templates for the backside.

Logged

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #203 on: March 31, 2020, 12:05:04 pm »
+1

Great Card Generator !

Does anybody have any tips on how to get them printed ??
Any companies or how to make it on my own!!

And is there any templates for the backside.

There's some tips on the wiki for this. I personally just print them on "standard" 20lb laser paper and sleeve them with sleeves from sleevedominion.com. As far as templates for the back side, there's a scan on the wiki.
Logged

MrHiTech

  • Bishop
  • ****
  • Offline Offline
  • Posts: 120
  • Shuffle iT Username: MrHiTech
  • Respect: +89
    • View Profile
Re: Dominion Card Image Generator
« Reply #204 on: April 17, 2020, 01:08:15 am »
0

I’m on mobile and can't read what to separate multiple keywords with in Shardofhonor's fork. What do I separate multiple keywords with?
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #205 on: April 17, 2020, 02:33:27 am »
+1

I’m on mobile and can't read what to separate multiple keywords with in Shardofhonor's fork. What do I separate multiple keywords with?

Yeah, sorry - adjusting the generator for mobile devices is still on my list...

The additional keywords are separated by semicolon ;
Logged
You might want to check out my own fan-card creations, built with this.

Amuzet

  • Pearl Diver
  • **
  • Offline Offline
  • Posts: 14
  • Respect: +6
    • View Profile
Re: Dominion Card Image Generator
« Reply #206 on: May 12, 2020, 03:39:50 pm »
0

I forget, did the second generator have Bold Names and Types? or was it only ever the original generator.

I do like the Bold text better!

EDIT: It was something weird with the session I had open. Is there a way to do both.
« Last Edit: May 12, 2020, 03:49:02 pm by Amuzet »
Logged

Amuzet

  • Pearl Diver
  • **
  • Offline Offline
  • Posts: 14
  • Respect: +6
    • View Profile
Re: Dominion Card Image Generator
« Reply #207 on: July 20, 2020, 08:00:43 am »
+3

Could you please add an option to the Second Color drop down split?
I really like how the Werewolf and Ghost Town looks on other type combinations.

Even if it isn't the convention its a simple addition to the drop-down from what i've seen.
Unfortunately even a fresh clone I get off Git wont fully load the card on my computer.
I don't get any Card output localy, but I can see the modified drop-down menu.
It should work, I don't see any reason in the .js why it wouldn't.

index.html   Line: 260
Code: [Select]
                            <option value="18">Smaller Top</option>
                            <option value="1" selected="selected">Half</option>
                            <option value="19">Smaller Bottom</option>
                            <option value="12">Blend Night</option>

Edit: Look at that! It looks amazing!
« Last Edit: July 20, 2020, 09:22:49 am by Amuzet »
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #208 on: July 20, 2020, 04:03:37 pm »
+2

Could you please add an option to the Second Color drop down split?
I really like how the Werewolf and Ghost Town looks on other type combinations.

Great idea! Also useful for custom types. I've added it right away  ;)
Logged
You might want to check out my own fan-card creations, built with this.

herw

  • Golem
  • ****
  • Offline Offline
  • Posts: 196
  • Respect: +88
    • View Profile
Re: Dominion Card Image Generator
« Reply #209 on: July 21, 2020, 11:09:08 am »
0

Great Card Generator !

Does anybody have any tips on how to get them printed ??
Any companies or how to make it on my own!!

And is there any templates for the backside.
http://forum.dominion-welt.de/viewtopic.php?f=7&t=207
ciao herw
Logged

Amuzet

  • Pearl Diver
  • **
  • Offline Offline
  • Posts: 14
  • Respect: +6
    • View Profile
Re: Dominion Card Image Generator
« Reply #210 on: July 22, 2020, 09:12:24 am »
+1

To show you I've used what i suggested and will be printing to put them in the sleeve for my cards along with the Witches made by u/colonel-o-popcorn on Reddit.

Obviously Action-Reserve and Action-Reaction are just full second color.

My Take on the order of colors, second type denoting Textbox color.
Duration, Action, Treasure, Reserve, Victory, Curse, Reaction, Shelter, Night


I feel like Distant Lands might look better Victory over Reserve
Logged

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #211 on: July 22, 2020, 09:40:05 am »
+1

while we're tossing in feature requests, would it be possible to do a "swap colors" button? the number of times i've put the colors in in the wrong order has been... idk probably approaching triple digits now.
Logged

Dominionaer

  • Golem
  • ****
  • Offline Offline
  • Posts: 180
  • Respect: +66
    • View Profile
Re: Dominion Card Image Generator
« Reply #212 on: July 26, 2020, 02:00:40 pm »
0

Questions about line breaking:
1) How do i get equivalent of HTML's &nbsp; (non-breakable space) ?
2) Does a space gets counted to word length? Saw several times there is enough room in a line for a word appearing on next line. Replacing the trailing space = %20 with a RETURN = %2C%0A helps.
Logged

D782802859

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 292
  • Respect: +385
    • View Profile
Re: Dominion Card Image Generator
« Reply #213 on: August 19, 2020, 10:54:51 am »
0

I'm experiencing an issue where if you format a non-plus $ amount with a period at the end, it remains in the large coin size on the card. Here's an example.

Logged

spheremonk

  • Bishop
  • ****
  • Offline Offline
  • Posts: 103
  • Respect: +206
    • View Profile
Re: Dominion Card Image Generator
« Reply #214 on: September 01, 2020, 11:17:43 am »
+2

You just need to break the lines up differently so there is text (any text) on the same line as the $.





Or could add a non-breaking space (invisible text) to trick the program, but I'm not competent to explain how to do that.

(I guess you could copy it from here: https://shardofhonor.github.io/dominion-card-generator/?title=&description=Gain%20a%20card%20costing%20up%20to%20%245.%20%E2%80%89&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=0&picture-y=0&picture-zoom=1&picture=&expansion=&custom-icon=&color0=0&color1=0&size=0).






« Last Edit: September 01, 2020, 11:44:10 am by spheremonk »
Logged

grrgrrgrr

  • Explorer
  • *****
  • Offline Offline
  • Posts: 330
  • Respect: +422
    • View Profile
Re: Dominion Card Image Generator
« Reply #215 on: September 05, 2020, 06:52:28 am »
0

It would also be nice if there was a button that generates an URL of the generator with the changes you've made being preserved. This would be very useful for the Card Updating Contest that has began recently.
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #216 on: September 28, 2020, 08:57:08 am »
+3

It would also be nice if there was a button that generates an URL of the generator with the changes you've made being preserved. This would be very useful for the Card Updating Contest that has began recently.
Bookmarking the URL should do the trick. Or copy and pasting it.
All settings are just appended to the URL as additional parameters. So if you open the link again, they are still there.
Using the same method, you can also build your own templates  ;)
Logged
You might want to check out my own fan-card creations, built with this.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #217 on: September 28, 2020, 10:44:56 am »
+4

while we're tossing in feature requests, would it be possible to do a "swap colors" button? the number of times i've put the colors in in the wrong order has been... idk probably approaching triple digits now.

The button is there now  ;)
And sorry for the late reply. I'm currently not so active...
Logged
You might want to check out my own fan-card creations, built with this.

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #218 on: September 28, 2020, 11:34:48 am »
+1

while we're tossing in feature requests, would it be possible to do a "swap colors" button? the number of times i've put the colors in in the wrong order has been... idk probably approaching triple digits now.

The button is there now  ;)
And sorry for the late reply. I'm currently not so active...
Thank you so much!
Logged

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator; about images
« Reply #219 on: December 11, 2020, 01:50:25 pm »
0

Hi, I whant to know what is the conditions needed by an image so that it can be used.
I use an image from an image host and even if I can foud my iage with the URL, it don't work on the card image generator.
I also notice the same proble with the heavy images but it's probably not the same problem.
The URL of my image is https://www.zupimages.net/up/20/50/szyl.png.
I also want to know if the possibilites to import images dirrectly form our computer is an ongoing project.
Thank you for evrything you did on this website, it help me a lot for card-making.
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

Timinou

  • Witch
  • *****
  • Offline Offline
  • Posts: 486
  • Respect: +634
    • View Profile
Re: Dominion Card Image Generator
« Reply #220 on: December 11, 2020, 01:54:20 pm »
0

Are you using Shard of Honor's card image generator?

I tried using it today and there seems to be a bug.  I can't upload images and the fonts are off.  (EDIT: Seems to be working fine now)

You can try to use the original version: https://shemitz.net/static/dominion3/
« Last Edit: December 11, 2020, 04:26:55 pm by Timinou »
Logged

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator
« Reply #221 on: December 11, 2020, 03:57:53 pm »
+2

Shael: I tried your image URL with Shard's version and it works for me, but it does take several seconds to load that particular image. Maybe because I'm in the US and I'm guessing zupimages is in France or somewhere.

The main issue with allowing direct image upload from computers is that it makes it hard to distribute custom cards. Currently, once you've finished setting up all the properties of your custom card, all those properties are encoded directly in the current URL, so you can copy it or bookmark it or whatever. That doesn't work so well if the image came from your computer and doesn't have a permanent address on the internet. Here's shard's github issue about it, though.
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #222 on: December 11, 2020, 06:04:42 pm »
+3

Depending on the security settings, modern browsers prevent direct inclusion and use of external link resources in websites.
I am using https://cors-anywhere.herokuapp.com/ to overcome this and prevent a tainted canvas. Unfortunately, this service was unavailable today but does work again.

Additionally, I've now added buttons for direct image usage. This allows to use local files within the generator. These images are never uploaded to any server and stay on your local computer.
But because of that, the limitations mentioned by Violet CLM apply: Bookmarking and sharing does not work in these cases, as the images are not included.
Logged
You might want to check out my own fan-card creations, built with this.

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator
« Reply #223 on: December 12, 2020, 05:43:05 am »
0

Shael: I tried your image URL with Shard's version and it works for me, but it does take several seconds to load that particular image. Maybe because I'm in the US and I'm guessing zupimages is in France or somewhere.

The main issue with allowing direct image upload from computers is that it makes it hard to distribute custom cards. Currently, once you've finished setting up all the properties of your custom card, all those properties are encoded directly in the current URL, so you can copy it or bookmark it or whatever. That doesn't work so well if the image came from your computer and doesn't have a permanent address on the internet. Here's shard's github issue about it, though.

Thank you verry much for what you did.
You right, that's probably because of the image or my computer if I can't load it.
« Last Edit: January 30, 2021, 06:52:28 am by Shael »
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator
« Reply #224 on: January 30, 2021, 06:51:53 am »
0

Hi !
Since the last update, I've lost my favorites. Do you know if there is a way to regain them or if they are lost forever.
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #225 on: January 30, 2021, 11:08:34 am »
+1

Hi !
Since the last update, I've lost my favorites. Do you know if there is a way to regain them or if they are lost forever.

There is no account functionality behind it. Means if you delete your cookies an local browser storage, it is gone. Sorry.
Logged
You might want to check out my own fan-card creations, built with this.

Timinou

  • Witch
  • *****
  • Offline Offline
  • Posts: 486
  • Respect: +634
    • View Profile
Re: Dominion Card Image Generator
« Reply #226 on: January 30, 2021, 12:10:51 pm »
0

Hi !
Since the last update, I've lost my favorites. Do you know if there is a way to regain them or if they are lost forever.

There is no account functionality behind it. Means if you delete your cookies an local browser storage, it is gone. Sorry.

Where could one find the cookies to create a backup?
Logged

scolapasta

  • Minion
  • *****
  • Offline Offline
  • Posts: 579
  • Respect: +738
    • View Profile
Re: Dominion Card Image Generator
« Reply #227 on: January 30, 2021, 12:14:48 pm »
+3

Hi !
Since the last update, I've lost my favorites. Do you know if there is a way to regain them or if they are lost forever.

There is no account functionality behind it. Means if you delete your cookies an local browser storage, it is gone. Sorry.

In lieu of account functionality, what do you think about adding an import / export functionality* for favorites? People would still have to manually do this, but it would effectively be like an account for which the user themselves manage storage.

* export clearly being easier to save all links to a text file; import would likely want some sort of validation

And it would allow people to pass sets of cards, if they'd like, e.g. to allow other users to easily make tweaks to fan expansions.
« Last Edit: January 30, 2021, 03:53:47 pm by scolapasta »
Logged
Feel free to join us at scolapasta's cards for discussion on any of my custom cards.

silverspawn

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5322
  • Shuffle iT Username: sty.silver
  • Respect: +3227
    • View Profile
Re: Dominion Card Image Generator
« Reply #228 on: February 01, 2021, 03:51:27 pm »
+3

I just keep a txt file where I save the urls. Since all data is in the url, that is a complete record.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #229 on: February 05, 2021, 03:51:48 pm »
+3

In lieu of account functionality, what do you think about adding an import / export functionality* for favorites? People would still have to manually do this, but it would effectively be like an account for which the user themselves manage storage.

* export clearly being easier to save all links to a text file; import would likely want some sort of validation

I've added a simple export/import functionality. It just takes the favorite-urls as they are out of the browsers local storage and stores them in a file.
I've skipped the validation part during import for now, so if you want to mess with it: everything stays on your own computer  ;D
Logged
You might want to check out my own fan-card creations, built with this.

scolapasta

  • Minion
  • *****
  • Offline Offline
  • Posts: 579
  • Respect: +738
    • View Profile
Re: Dominion Card Image Generator
« Reply #230 on: February 05, 2021, 04:05:00 pm »
+2

In lieu of account functionality, what do you think about adding an import / export functionality* for favorites? People would still have to manually do this, but it would effectively be like an account for which the user themselves manage storage.

* export clearly being easier to save all links to a text file; import would likely want some sort of validation

I've added a simple export/import functionality. It just takes the favorite-urls as they are out of the browsers local storage and stores them in a file.
I've skipped the validation part during import for now, so if you want to mess with it: everything stays on your own computer  ;D

Perfect!
Logged
Feel free to join us at scolapasta's cards for discussion on any of my custom cards.

DunnoItAll

  • Thief
  • ****
  • Offline Offline
  • Posts: 97
  • Respect: +127
    • View Profile
Re: Dominion Card Image Generator
« Reply #231 on: February 07, 2021, 10:45:26 am »
+1

The fonts routinely get all messed up for me with this. It will work fine, and then the next time I need to use it, the fonts are all weird.  Here's one where the title, type, and the numerals are all in a strange, different font (maybe just non-bold version?). I've tried everything I know and this just keeps happening.  I just have to wait a few hours and then sometimes it will work again. Sometimes it will work if I refresh 10 times in a row, sometimes it doesn't matter how many times I refresh.

Is there something I can install locally? I've already tried installing some fonts that were recommended to install locally on discord.

Also, this happens to me on multiple computer in multiple browsers.

Logged

pewp3w

  • Pawn
  • **
  • Offline Offline
  • Posts: 1
  • Respect: +1
    • View Profile
Re: Dominion Card Image Generator
« Reply #232 on: February 09, 2021, 05:45:34 am »
+1

I have encountered the same problem as well today, I have no clue why it happens and found no way to fix it. Other browser don't help, refreshing helps...sometimes?

Logged

spheremonk

  • Bishop
  • ****
  • Offline Offline
  • Posts: 103
  • Respect: +206
    • View Profile
Re: Dominion Card Image Generator
« Reply #233 on: February 10, 2021, 01:52:45 pm »
0

For the last few days, across four different browsers (Chrome, Safari, Explorer, Firefox) on three devices, I am having the same font issues as the two posters above. In addition, no images will load (neither will the expansion icons).
Logged

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #234 on: February 11, 2021, 12:58:58 am »
0

I have joined the ranks of having this Font issue.
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

gambit05

  • Minion
  • *****
  • Offline Offline
  • Posts: 584
  • Respect: +495
    • View Profile
Re: Dominion Card Image Generator
« Reply #235 on: February 11, 2021, 01:54:40 am »
+3

I don't know if it is of any help (I am no expert), but I noticed a few things:

- When I open the Card Image Generator, and the correct Fonts are not displayed, in the legend (bottom left) some symbols are displayed in upper case (usually they are in lower case). This is easily visible for the @ Symbol for Debt, which is an encircled "A" instead of "a" when it doesn't work properly.

- In Windows with the Chrome Browser, when I right click inside the generator (outside any text fields) and then go to "Inspect", in the following window near the top right corner, there is a red circle (with a cross and a 3 next to it). When I click on it, I get the following information:

Failed to load resource: the server responded with a status of 403 (Forbidden) etc...

The three failures are all related to Font types. The problem appears to be to load the required sources.
Logged

DunnoItAll

  • Thief
  • ****
  • Offline Offline
  • Posts: 97
  • Respect: +127
    • View Profile
Re: Dominion Card Image Generator
« Reply #236 on: February 11, 2021, 11:29:13 am »
+4

I think I found a temporary fix?

Looking through the source file, it seemed to be font file located at this link that were causing the problem:

https://cors-anywhere.herokuapp.com/https://shemitz.net/static/dominion3/

I loaded that link in chrome and it had a button to click to give temporary access. Not sure what it means, but I clicked it, it granted temporary access, and now when I reload the generator, the right fonts show up.
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #237 on: February 18, 2021, 04:34:36 pm »
+4

Hi Folks, sorry for the issues.
The reason was indeed because of the cors-anywhere server I've used, which allows the generator to load and embed arbitrary resources from external websites, like the images and the fonts.
I have now set up my own server for this and it should run more reliably now.

Thanks to DunnoItAll for the temporary solution in the meantime!
Logged
You might want to check out my own fan-card creations, built with this.

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator
« Reply #238 on: February 19, 2021, 03:22:07 am »
+1

Oh, that's interesting. I know my web hosting is somewhere in the process of being transferred to another company... I wonder if that's involved somehow, if the remote access to the fonts on my site was suddenly messing up for people. Glad to hear the problem's been avoided now though.
Logged

NoMoreFun

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2013
  • Respect: +2129
    • View Profile
Re: Dominion Card Image Generator
« Reply #239 on: February 20, 2021, 03:13:13 am »
+1

I forgot whether Donald X. or LastFootnote said it, but they have set a rule that official cards won't have more than 7 lines of text with a certain font size, and landscapes won't have more than 3 lines of text with a certain font size. It may be worth putting that in as an optional limit.
Logged

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #240 on: February 24, 2021, 08:13:45 pm »
+1



If you try to have a card with multiple costs, even just and a , the type gets over-indented, as shown above.
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #241 on: February 25, 2021, 12:07:37 pm »
+1



If you try to have a card with multiple costs, even just and a , the type gets over-indented, as shown above.

so
it looks like it's centering the text on the bar where there isn't prices, set expansion symbols, etc;
A suggestion for fixing it is: when including a price, include a transparent spacer of equal width on the opposite side. It'll force font sizes a little smaller (boo) but will avoid the largely off-center issue (yay).

In the meantime, you can manually force centering by adding spaces to the card types.
Logged

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #242 on: March 31, 2021, 12:59:52 pm »
0

Hi Folks, sorry for the issues.
The reason was indeed because of the cors-anywhere server I've used, which allows the generator to load and embed arbitrary resources from external websites, like the images and the fonts.
I have now set up my own server for this and it should run more reliably now.

Thanks to DunnoItAll for the temporary solution in the meantime!

Font issues are back again, and since the cors-anywhere server is no longer being used, DunnoItAll's temporary solution no longer fixes it.
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #243 on: March 31, 2021, 04:06:18 pm »
+3

Hi Folks, sorry for the issues.
The reason was indeed because of the cors-anywhere server I've used, which allows the generator to load and embed arbitrary resources from external websites, like the images and the fonts.
I have now set up my own server for this and it should run more reliably now.

Thanks to DunnoItAll for the temporary solution in the meantime!

Font issues are back again, and since the cors-anywhere server is no longer being used, DunnoItAll's temporary solution no longer fixes it.

Got the mail today from heroku, that the monthly free server capacity is used up. Tomorrow it should work again.
For the next month, I try to implement some improvements to reduce web-request and save server capacity so it lasts the whole month...
Logged
You might want to check out my own fan-card creations, built with this.

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator
« Reply #244 on: April 22, 2021, 04:50:33 pm »
0

Howdy !
As you'll probably notice; I had fun with the generator (it's verry cool, I'll probably never create all of my card without you, for the best and the worst) and that's when I nocie somthing: I haven't made a lot of progarmation but it seem like there is probably a litle differenc between the size of the textbox in the generator and the one in the actual game. An example with Royal Seal (I let you guess witch one is fan made):

So, it's not a big deal as you see but it's just to report it.
Thank you for your job!
By the way, I see that you have you personnal list of fan card. That's nice, I'll check that, I promise!
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #245 on: April 23, 2021, 01:00:33 pm »
+2

Howdy !
As you'll probably notice; I had fun with the generator (it's verry cool, I'll probably never create all of my card without you, for the best and the worst) and that's when I nocie somthing: I haven't made a lot of progarmation but it seem like there is probably a litle differenc between the size of the textbox in the generator and the one in the actual game. An example with Royal Seal (I let you guess witch one is fan made)

Hi, thanks. Actually, the textbox is the same size, if you resize the images.
1st is remade with the generator, second the original from the wiki (only given a border), and last is yours - I like the seal  ;D
Arguably, there are some minor differences with coloring and font thickness, but it is quite similar.






If you try to have a card with multiple costs, even just and a , the type gets over-indented, as shown above.

so
it looks like it's centering the text on the bar where there isn't prices, set expansion symbols, etc;
A suggestion for fixing it is: when including a price, include a transparent spacer of equal width on the opposite side. It'll force font sizes a little smaller (boo) but will avoid the largely off-center issue (yay).

In the meantime, you can manually force centering by adding spaces to the card types.

Thanks. I've noted the issue. As long as it's not fixed, some spaces here and there always help to improve centering and spacing.  ;)
Logged
You might want to check out my own fan-card creations, built with this.

silverspawn

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5322
  • Shuffle iT Username: sty.silver
  • Respect: +3227
    • View Profile
Re: Dominion Card Image Generator
« Reply #246 on: April 29, 2021, 03:45:26 pm »
0

Has custom control over boldness ever been implemented? I've CTRL+F'd the thread and it has been suggested several times.

silverspawn

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5322
  • Shuffle iT Username: sty.silver
  • Respect: +3227
    • View Profile
Re: Dominion Card Image Generator
« Reply #247 on: April 29, 2021, 03:52:40 pm »
0

Relatedly, I have never been able to affect any change in my text with the 'additional bolded keywords' feature

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #248 on: April 29, 2021, 04:36:14 pm »
+2

Has custom control over boldness ever been implemented? I've CTRL+F'd the thread and it has been suggested several times.
No, I have not implemented it.

Relatedly, I have never been able to affect any change in my text with the 'additional bolded keywords' feature
You can look at the example here:
Dumb example to showcase some of the new features
Logged
You might want to check out my own fan-card creations, built with this.

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #249 on: April 30, 2021, 08:19:37 am »
+1

Relatedly, I have never been able to affect any change in my text with the 'additional bolded keywords' feature

it has to be of the +<number> <keyword> format, which took me a second too
Logged

silverspawn

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5322
  • Shuffle iT Username: sty.silver
  • Respect: +3227
    • View Profile
Re: Dominion Card Image Generator
« Reply #250 on: April 30, 2021, 12:59:05 pm »
+1

Relatedly, I have never been able to affect any change in my text with the 'additional bolded keywords' feature

it has to be of the +<number> <keyword> format, which took me a second too

Good to know. Unfortunately, that precludes my indended usage of bolding "Setup:"

emtzalex

  • Jester
  • *****
  • Offline Offline
  • Posts: 840
  • Respect: +1453
    • View Profile
Re: Dominion Card Image Generator
« Reply #251 on: April 30, 2021, 04:54:35 pm »
+1

Relatedly, I have never been able to affect any change in my text with the 'additional bolded keywords' feature

it has to be of the +<number> <keyword> format, which took me a second too

Good to know. Unfortunately, that precludes my indended usage of bolding "Setup:"

I believe that would be inconsistent with the official cards, which do not seem to bold "Setup:" when it is used (see, e.g., Trade Route).
Logged
he/him/his

Thanks to Shard of Honor for his Extended Version of the Dominion Card Image Generator, which I use to mock up my fan cards, and to Violet CLM, who made the original.

mxdata

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1199
  • Respect: +1351
    • View Profile
Re: Dominion Card Image Generator
« Reply #252 on: May 01, 2021, 01:40:48 am »
0

Relatedly, I have never been able to affect any change in my text with the 'additional bolded keywords' feature

it has to be of the +<number> <keyword> format, which took me a second too

Oh!  I'd started thinking that function must be broken.  Thanks!
Logged
They/them

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator
« Reply #253 on: May 15, 2021, 10:37:36 am »
0

Howdy !
As you'll probably notice; I had fun with the generator (it's verry cool, I'll probably never create all of my card without you, for the best and the worst) and that's when I nocie somthing: I haven't made a lot of progarmation but it seem like there is probably a litle differenc between the size of the textbox in the generator and the one in the actual game. An example with Royal Seal (I let you guess witch one is fan made)

Hi, thanks. Actually, the textbox is the same size, if you resize the images.
1st is remade with the generator, second the original from the wiki (only given a border), and last is yours - I like the seal  ;D
Arguably, there are some minor differences with coloring and font thickness, but it is quite similar.

OK, thank you for your job!
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator
« Reply #254 on: May 16, 2021, 07:15:49 am »
0

Hey, I have an issue with the Card generator but I always forget to report it:
On the cards, where you wright a +x% (the vanilla bonus) it apear at the same size of a normal x% (so the size of a victory card).
An example with a "normal" wording of salt the earth:

you can acces to the card with the link here if you want to try it on your side.
(I work on traduction so it's normal that the text on the card isn't in english)

And, btw, the previous problem of textbox's size also seem to exsit with landscape.
I don't have some obvious example for now but I'll make a reply when I have them.
« Last Edit: May 16, 2021, 10:48:17 am by Shael »
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #255 on: May 16, 2021, 01:55:26 pm »
+1

add a space between the number and the symbol
Logged

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator
« Reply #256 on: May 24, 2021, 05:06:03 pm »
0

add a space between the number and the symbol
well, we say that a picture worth thousand words right ?

so, indeed it's better and thank for the tips but it's obviously still a bug...
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

Gardoomalion

  • Herbalist
  • **
  • Offline Offline
  • Posts: 9
  • Respect: +14
    • View Profile
Re: Dominion Card Image Generator
« Reply #257 on: September 22, 2021, 05:09:11 pm »
0

Hi.
In Russia, only the base and Intrigue were published. I want to translate all expansions.

Please tell me how to change the Russian font in the name and types? Can I make the font bold?
Is there a way to put an arrow on the traveller if I indicate the type in Russian?
Russian Page


If you need to create a base card, the image is positioned incorrectly.
Russian Silver


It is necessary to extend the picture vertically so that it is displayed correctly in the generator.
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #258 on: September 23, 2021, 05:15:46 pm »
+3

add a space between the number and the symbol
so, indeed it's better and thank for the tips but it's obviously still a bug...

As said before, I suggest using invisible characters to trick the generator. It's a hack, but it's working.

... 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 ...



Please tell me how to change the Russian font in the name and types? Can I make the font bold?

Also only two hacky solutions for now:
You can either use your browsers developer tools (F12), navigate to the style.css and there to the @font-face rule for TrajanPro. It first tries to load that from your local computer, where it says src: local("Trajan Pro Bold"). You can change that to any font name that you have installed and the next time the image is redrawn your browser should fetch that font from your local computer. Such changes are lost, when you refresh the webpage.
Alternatively, you can install any font on your computer with the name "Trajan Pro Bold", so it is used instead.

Is there a way to put an arrow on the traveller if I indicate the type in Russian?
Russian Page

Currently, there is no option to tick to have the traveller arrow, but I've added all current translations from the wiki as well as your translation. Russian should work now, too.

If you need to create a base card, the image is positioned incorrectly.
It is necessary to extend the picture vertically so that it is displayed correctly in the generator.

You've got your solution there  ;)
« Last Edit: September 23, 2021, 05:17:28 pm by Shard of Honor »
Logged
You might want to check out my own fan-card creations, built with this.

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #259 on: September 23, 2021, 09:26:07 pm »
0

It is necessary to extend the picture vertically so that it is displayed correctly in the generator.

I had the same problem. I think the space assigned to the image is wider than needed. Another trick is to use F12 to change the minimum value of the zoom slider to allow smaller values
Logged
Who trashes the trashers?

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #260 on: October 04, 2021, 06:59:15 pm »
+1

add a space between the number and the symbol
well, we say that a picture worth thousand words right ?

so, indeed it's better and thank for the tips but it's obviously still a bug...
It's fixed now  :)
Logged
Who trashes the trashers?

faust

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3384
  • Shuffle iT Username: faust
  • Respect: +5161
    • View Profile
Re: Dominion Card Image Generator
« Reply #261 on: October 12, 2021, 02:13:24 am »
+1

Random complaint: The Potion symbol for cost doesn't mix well with the overpay +.

It's a very specific interaction of course.
Logged
You say the ocean's rising, like I give a shit
You say the whole world's ending, honey it already did

Amuzet

  • Pearl Diver
  • **
  • Offline Offline
  • Posts: 14
  • Respect: +6
    • View Profile
Re: Dominion Card Image Generator
« Reply #262 on: October 12, 2021, 03:43:22 am »
0

Am I CRAZY?

 ??? Is the Name and Type text on this Times New Roman, and not the official Dominion Font?
 :o Its not happening anymore, but I exported this yesterday without noticing.
 ??? :o Its happening sometimes, do I just have to reload the generator?
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #263 on: October 13, 2021, 12:16:21 pm »
+2

Am I CRAZY?

 ??? Is the Name and Type text on this Times New Roman, and not the official Dominion Font?
 :o Its not happening anymore, but I exported this yesterday without noticing.
 ??? :o Its happening sometimes, do I just have to reload the generator?

It looks like one of the slightly different fallback-fonts, when loading the original font fails.
Normally reloading does the trick.



Random complaint: The Potion symbol for cost doesn't mix well with the overpay +.
It's a very specific interaction of course.

Never tried that corner case myself. Yeah, white text is hard to read there, but actually numbers on the potion icon always look weird.
If you really need things like multiple potion costs and overpay for them, I'd suggest you do that in the picture editing software of your choice.
Logged
You might want to check out my own fan-card creations, built with this.

tsunemi_i

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +15
    • View Profile
Re: Dominion Card Image Generator
« Reply #264 on: October 22, 2021, 09:33:44 am »
+2

Hi. I'm very grateful for the awesome image create tool provided!

Now, for the first time in a few months, I have resumed making cards that I was considering by using this generator.
However, the font of cost or the numbers displayed on the icon are thinner than when I used it before. It seems that the fonts on the cards are loaded correctly, but only the weight of those letters is different. Repeated reloading and tried various things, but it was not going well.


For reference, I present images that can be compared. The left card image of Royal Seal was created as a example with the current generator, and the card image in the making with the pink frame on the right had been created and saved in the past.

The previous font is more similar to the original, so I would like to create using the bolder font. Is there a solution?
Logged

Fragasnap

  • Tactician
  • *****
  • Offline Offline
  • Posts: 440
  • Respect: +703
    • View Profile
Re: Dominion Card Image Generator
« Reply #265 on: October 25, 2021, 06:37:46 am »
0

Hi. I'm very grateful for the awesome image create tool provided!

Now, for the first time in a few months, I have resumed making cards that I was considering by using this generator.
However, the font of cost or the numbers displayed on the icon are thinner than when I used it before. It seems that the fonts on the cards are loaded correctly, but only the weight of those letters is different. Repeated reloading and tried various things, but it was not going well.

...

The previous font is more similar to the original, so I would like to create using the bolder font. Is there a solution?
I am also having this issue with incorrect coin font on my Windows machine, regardless of browser (Firefox, Chrome, Internet Explorer), where I was not previously.  I have the Minion Pro font that is used officially.
I believe my Android phone loads the coin font correctly (maybe it is simply cached), but it does not load "Times New Roman" for the body text.
Logged
Dominion: Avarice 1.1a, my fan expansion with "in-games-using-this" cards and Edicts (updated Oct 18, 2021)

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #266 on: October 25, 2021, 08:59:21 am »
+2

Hi. I'm very grateful for the awesome image create tool provided!

Now, for the first time in a few months, I have resumed making cards that I was considering by using this generator.
However, the font of cost or the numbers displayed on the icon are thinner than when I used it before. It seems that the fonts on the cards are loaded correctly, but only the weight of those letters is different. Repeated reloading and tried various things, but it was not going well.

...

The previous font is more similar to the original, so I would like to create using the bolder font. Is there a solution?
I am also having this issue with incorrect coin font on my Windows machine, regardless of browser (Firefox, Chrome, Internet Explorer), where I was not previously.  I have the Minion Pro font that is used officially.
I believe my Android phone loads the coin font correctly (maybe it is simply cached), but it does not load "Times New Roman" for the body text.

The problem with the first one is that currently the generator is using Minion Pro instead of Minion Std Black. Regarding the Times New Roman problem, that font is also a proprietary font, so in android is using another Sans Serif font 
Logged
Who trashes the trashers?

tsunemi_i

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +15
    • View Profile
Re: Dominion Card Image Generator
« Reply #267 on: October 29, 2021, 08:50:43 am »
0

Hi. I'm very grateful for the awesome image create tool provided!

Now, for the first time in a few months, I have resumed making cards that I was considering by using this generator.
However, the font of cost or the numbers displayed on the icon are thinner than when I used it before. It seems that the fonts on the cards are loaded correctly, but only the weight of those letters is different. Repeated reloading and tried various things, but it was not going well.

...

The previous font is more similar to the original, so I would like to create using the bolder font. Is there a solution?
I am also having this issue with incorrect coin font on my Windows machine, regardless of browser (Firefox, Chrome, Internet Explorer), where I was not previously.  I have the Minion Pro font that is used officially.
I believe my Android phone loads the coin font correctly (maybe it is simply cached), but it does not load "Times New Roman" for the body text.

The problem with the first one is that currently the generator is using Minion Pro instead of Minion Std Black. Regarding the Times New Roman problem, that font is also a proprietary font, so in android is using another Sans Serif font

>> Fragasnap, Freddy10
Thanks for responses! I found that the coin font difference issue wasn't caused by the browser(bing, firefox, Chrome) that be using.
I wait quietly, hoping the generator will be fixed about it!
Logged

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #268 on: December 12, 2021, 04:11:33 am »
0

Recently, the generator has not been bolding the numbers in symbols. Here's an image with what the cost currently looks like:

And here's an image with what the cost should look like:
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

exfret

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +112
    • View Profile
Re: Dominion Card Image Generator
« Reply #269 on: January 22, 2022, 04:37:36 pm »
0

Does the card image generator start to fail to load when you have too many cards saved or something? I have around 30-40 saved I think and it's not loading for me. However, I used a different browser with no cards saved and it loaded fine.
Logged

Violet CLM

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 170
  • Respect: +448
    • View Profile
Re: Dominion Card Image Generator
« Reply #270 on: February 28, 2022, 06:38:10 pm »
+6

Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #271 on: March 02, 2022, 01:50:07 am »
+2

Best I've been able to get so far at mimicking the Ally color.
Thank you very much! I've added the color directly to the dropdowns and also added support for the Favor keyword.
For example Plateau Shepherds do now work in the generator.
Logged
You might want to check out my own fan-card creations, built with this.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #272 on: March 02, 2022, 01:54:30 am »
+1

Does the card image generator start to fail to load when you have too many cards saved or something? I have around 30-40 saved I think and it's not loading for me. However, I used a different browser with no cards saved and it loaded fine.
You can try exporting your saved cards and then clearing all website data and cookies for the site.
Logged
You might want to check out my own fan-card creations, built with this.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #273 on: March 09, 2022, 12:38:45 pm »
+5

[...]
However, the font of cost or the numbers displayed on the icon are thinner than when I used it before. It seems that the fonts on the cards are loaded correctly, but only the weight of those letters is different. Repeated reloading and tried various things, but it was not going well.
[...]
The previous font is more similar to the original, so I would like to create using the bolder font. Is there a solution?
I am also having this issue with incorrect coin font on my Windows machine, regardless of browser (Firefox, Chrome, Internet Explorer), where I was not previously.  I have the Minion Pro font that is used officially.
I believe my Android phone loads the coin font correctly (maybe it is simply cached), but it does not load "Times New Roman" for the body text.
The problem with the first one is that currently the generator is using Minion Pro instead of Minion Std Black. Regarding the Times New Roman problem, that font is also a proprietary font, so in android is using another Sans Serif font

To tackle the ongoing font issues, I've added a feature today that allows changing the fonts used in the card.

Open the new font settings menu on the bottom left, type in the font name and the generator should prefer this font over the default font selection chain. Your font settings are remembered on your device. The entered font name has to be installed on your device locally with the exact same name.
On a computer, you can check available fonts in a text editor like Word or in the system settings. Android has system settings for fonts, too.
Logged
You might want to check out my own fan-card creations, built with this.

MrFrog

  • Baron
  • ****
  • Offline Offline
  • Posts: 55
  • Shuffle iT Username: MrFrog
  • Respect: +101
    • View Profile
Re: Dominion Card Image Generator
« Reply #274 on: March 15, 2022, 02:07:51 pm »
0



Does anybody have a clue how to fix the position of the coin text?
I use Firefox and the font is set to Minion Pro.
Logged

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #275 on: March 17, 2022, 08:01:30 am »
+1



Does anybody have a clue how to fix the position of the coin text?
I use Firefox and the font is set to Minion Pro.
The font for the coins should be minion std black. That should have the right alignment
Logged
Who trashes the trashers?

Shael

  • Bishop
  • ****
  • Offline Offline
  • Posts: 100
  • Respect: +57
    • View Profile
Re: Dominion Card Image Generator
« Reply #276 on: June 22, 2022, 03:07:08 pm »
0

Hello, I have an issue with an image I want to have as an expansion icon
I've tried to put it from my computer and from internet too but none of them worked; here is the link: https://imgur.com/iddoQGH
Do you have any idea about why this in't working?
maybe the image is too wide...
Logged
¤ Post here your favorite fan-cards ¤ The Archive ¤ Witchcraft, a Potion & Exile themed Expansion ¤ Not so Soon ¤                                          

spineflu

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1365
  • Shuffle iT Username: spineflu
  • Head Empty, Heart Worms, Can't Lose
  • Respect: +1353
    • View Profile
    • my instagram, where i paint things
Re: Dominion Card Image Generator
« Reply #277 on: June 23, 2022, 06:43:41 pm »
+1

Hello, I have an issue with an image I want to have as an expansion icon
I've tried to put it from my computer and from internet too but none of them worked; here is the link: https://imgur.com/iddoQGH
Do you have any idea about why this in't working?
maybe the image is too wide...

worked for me: https://shardofhonor.github.io/dominion-card-generator/?title=&description=&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=0&picture-y=0&picture-zoom=1&picture=&expansion=https%3A%2F%2Fi.imgur.com%2FiddoQGH.png&custom-icon=&color0=0&color1=0&size=0
Logged

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #278 on: November 23, 2022, 07:23:18 pm »
0

The Shard of Honor fork seems to have broken for me. It's hard to describe what's going on, but all of the buttons, text fields, etc. are spaced super far apart and don't work, and no images are being loaded. I've tried deleting Cache and Cookies, but that didn't work.

New info edit: It works in other browsers besides Firefox. When I right-click and select "Inspect" on Firefox, I see a JS error that says
Quote
Uncaught ReferenceError: initCardImageGenerator is not defined
    initialize https://shardofhonor.github.io/dominion-card-generator/index.html:38
    <anonymous> https://shardofhonor.github.io/dominion-card-generator/index.html:45

    initialize https://shardofhonor.github.io/dominion-card-generator/index.html:38
    <anonymous> https://shardofhonor.github.io/dominion-card-generator/index.html:45
« Last Edit: November 23, 2022, 11:35:10 pm by Gubump »
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #279 on: December 12, 2022, 01:16:09 pm »
+1

The Shard of Honor fork seems to have broken for me. It's hard to describe what's going on, but all of the buttons, text fields, etc. are spaced super far apart and don't work, and no images are being loaded. I've tried deleting Cache and Cookies, but that didn't work.

New info edit: It works in other browsers besides Firefox. When I right-click and select "Inspect" on Firefox, I see a JS error that says
Quote
Uncaught ReferenceError: initCardImageGenerator is not defined
    initialize https://shardofhonor.github.io/dominion-card-generator/index.html:38
    <anonymous> https://shardofhonor.github.io/dominion-card-generator/index.html:45

    initialize https://shardofhonor.github.io/dominion-card-generator/index.html:38
    <anonymous> https://shardofhonor.github.io/dominion-card-generator/index.html:45

I just retried it in Firefox 107.0.1 and it did work fine.
You may want to delete not only the Cookies but also the Local Storage files of the site (attention: this also clears the favorites and any other stored settings).
Logged
You might want to check out my own fan-card creations, built with this.

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #280 on: December 12, 2022, 04:17:42 pm »
+1

The Shard of Honor fork seems to have broken for me. It's hard to describe what's going on, but all of the buttons, text fields, etc. are spaced super far apart and don't work, and no images are being loaded. I've tried deleting Cache and Cookies, but that didn't work.

New info edit: It works in other browsers besides Firefox. When I right-click and select "Inspect" on Firefox, I see a JS error that says
Quote
Uncaught ReferenceError: initCardImageGenerator is not defined
    initialize https://shardofhonor.github.io/dominion-card-generator/index.html:38
    <anonymous> https://shardofhonor.github.io/dominion-card-generator/index.html:45

    initialize https://shardofhonor.github.io/dominion-card-generator/index.html:38
    <anonymous> https://shardofhonor.github.io/dominion-card-generator/index.html:45

I just retried it in Firefox 107.0.1 and it did work fine.
You may want to delete not only the Cookies but also the Local Storage files of the site (attention: this also clears the favorites and any other stored settings).

Thanks, but it fixed itself pretty shortly after I posted that comment.
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #281 on: December 13, 2022, 03:53:10 pm »
+6

Basic Support for Traits is here. For example "Shy".

I'm not yet happy with the card resource images and the color, but at least it is working.
This is implemented using a new checkbox above the types, to switch on the Traits layout for landscape cards.
I did the same for the traveller arrow - so no need to include the actual type any more. But I kept that logic for backwards compatibility.
Logged
You might want to check out my own fan-card creations, built with this.

MinuteLake

  • Pawn
  • **
  • Offline Offline
  • Posts: 1
  • Respect: +2
    • View Profile
Re: Dominion Card Image Generator
« Reply #282 on: December 17, 2022, 11:56:26 pm »
+2

I think a bug was introduced in the most recent update. I noticed that the Traveller arrow is added whether or not traveller=true or false in the URL. Example:

https://shardofhonor.github.io/dominion-card-generator/index.html?title=Example%20Card&description=This%20should%20not%20be%20a%20traveller.%20(traveller%3Dfalse%20in%20the%20URL)&type=Action&credit=&creator=&price=%242&preview=&type2=&color2split=1&boldkeys=&picture-x=-0.17&picture-y=-0.08&picture-zoom=1&traveller=false&trait=true&picture=&expansion=&custom-icon=&color0=0&color1=0&size=0

Notice that traveller=false in the URL yet the traveller renders. This happens every time you save a URL (so even if you uncheck it, which updates it to traveller=false, it will be true next time you load the same URL.) I suspect it's because the code checks for the existence of traveller query param but not whether it is true/false: https://github.com/shardofhonor/dominion-card-generator/commit/947d1ef24cf43dc47822861b605686309b8ada1d#diff-471eee65442e7559b8238612ee2d63fccce7757d0f9c4165ff6222ed82134ef5R1225
Logged

Shard of Honor

  • Thief
  • ****
  • Offline Offline
  • Posts: 98
  • Shuffle iT Username: Shard of Honor
  • Respect: +199
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #283 on: December 20, 2022, 03:56:14 am »
+2

I think a bug was introduced in the most recent update. I noticed that the Traveller arrow is added whether or not traveller=true or false in the URL.
[...]
Notice that traveller=false in the URL yet the traveller renders. This happens every time you save a URL (so even if you uncheck it, which updates it to traveller=false, it will be true next time you load the same URL.) I suspect it's because the code checks for the existence of traveller query param but not whether it is true/false: https://github.com/shardofhonor/dominion-card-generator/commit/947d1ef24cf43dc47822861b605686309b8ada1d#diff-471eee65442e7559b8238612ee2d63fccce7757d0f9c4165ff6222ed82134ef5R1225

Thanks! Yes, that was the case. Fixed the issue.
Logged
You might want to check out my own fan-card creations, built with this.

BioRules

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +3
    • View Profile
Re: Dominion Card Image Generator
« Reply #284 on: February 13, 2023, 11:07:56 pm »
0

I've been working with the generator and have been having an issue where sometimes adding a $X amount into the text when there isn't a lot of extra text causes the coin icon to be very large. I have read elsewhere in the thread that adding a non-breaking space can help with that, but I'm struggling to get it to work. Putting one in between the $ and X causes the number to be outside the coin icon, and putting it after causes the coin icon to not show up at all. Putting it before the $ does not appear to do anything.



An example of what I'm seeing.
Logged

Gubump

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1538
  • Shuffle iT Username: Gubump
  • Respect: +1683
    • View Profile
Re: Dominion Card Image Generator
« Reply #285 on: February 13, 2023, 11:29:35 pm »
0

I've been working with the generator and have been having an issue where sometimes adding a $X amount into the text when there isn't a lot of extra text causes the coin icon to be very large. I have read elsewhere in the thread that adding a non-breaking space can help with that, but I'm struggling to get it to work. Putting one in between the $ and X causes the number to be outside the coin icon, and putting it after causes the coin icon to not show up at all. Putting it before the $ does not appear to do anything.



An example of what I'm seeing.

The non-breaking space goes after the period.
Logged
All of my fan card mockups are credited to Shard of Honor and his Dominion Card Image Generator (the new fork).
If you're having font issues with the generator, click this link and click on the button to request temporary access to the demo server that loads the font.

BioRules

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +3
    • View Profile
Re: Dominion Card Image Generator
« Reply #286 on: February 14, 2023, 12:02:01 am »
0

I've been working with the generator and have been having an issue where sometimes adding a $X amount into the text when there isn't a lot of extra text causes the coin icon to be very large. I have read elsewhere in the thread that adding a non-breaking space can help with that, but I'm struggling to get it to work. Putting one in between the $ and X causes the number to be outside the coin icon, and putting it after causes the coin icon to not show up at all. Putting it before the $ does not appear to do anything.



An example of what I'm seeing.

The non-breaking space goes after the period.

When I try that the coin icon disappears. The method I have been using for this is to use unicode U+00A0 in a word document, and copy the resulting space character into the generator. Is there a better method for this?

Logged

emtzalex

  • Jester
  • *****
  • Offline Offline
  • Posts: 840
  • Respect: +1453
    • View Profile
Re: Dominion Card Image Generator
« Reply #287 on: February 14, 2023, 12:34:11 pm »
+1

I've been working with the generator and have been having an issue where sometimes adding a $X amount into the text when there isn't a lot of extra text causes the coin icon to be very large. I have read elsewhere in the thread that adding a non-breaking space can help with that, but I'm struggling to get it to work. Putting one in between the $ and X causes the number to be outside the coin icon, and putting it after causes the coin icon to not show up at all. Putting it before the $ does not appear to do anything.



An example of what I'm seeing.

When this happens, you can just manually add a paragraph break before "to" so the Coin isn't on its own line:

https://shardofhonor.github.io/dominion-card-generator/index.html?title=&description=Gain%20a%20card%20costing%20up%0Ato%20%243.&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=0&picture-y=0&picture-zoom=1&traveller=false&trait=false&picture=&expansion=&custom-icon=&color0=0&color1=0&size=0

It's may not be exactly how it should look (although I think it's fine), but it's way better than the giant Coin. Just remember to take the paragraph break out if you change the card up (and put it back in as necessary).
Logged
he/him/his

Thanks to Shard of Honor for his Extended Version of the Dominion Card Image Generator, which I use to mock up my fan cards, and to Violet CLM, who made the original.

BioRules

  • Herbalist
  • **
  • Offline Offline
  • Posts: 5
  • Respect: +3
    • View Profile
Re: Dominion Card Image Generator
« Reply #288 on: February 14, 2023, 10:14:58 pm »
0

When this happens, you can just manually add a paragraph break before "to" so the Coin isn't on its own line:

https://shardofhonor.github.io/dominion-card-generator/index.html?title=&description=Gain%20a%20card%20costing%20up%0Ato%20%243.&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=0&picture-y=0&picture-zoom=1&traveller=false&trait=false&picture=&expansion=&custom-icon=&color0=0&color1=0&size=0

It's may not be exactly how it should look (although I think it's fine), but it's way better than the giant Coin. Just remember to take the paragraph break out if you change the card up (and put it back in as necessary).

Ah, so its the coin being on it's own line that causes this. Perfect, thanks for the info.
Logged

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #289 on: February 15, 2023, 11:41:28 am »
0

Another alternative is forcing to reduce the font size by adding some empty lines above and below the description, so the $3 fits on the same line.
« Last Edit: February 15, 2023, 11:42:37 am by Freddy10 »
Logged
Who trashes the trashers?

Alki

  • Swindler
  • ***
  • Offline Offline
  • Posts: 15
  • Respect: +8
    • View Profile
Re: Dominion Card Image Generator
« Reply #290 on: November 09, 2023, 06:50:48 pm »
0

I guess I'm not the only one who gets the wrong font for keywords like '+1 Action' for a few weeks right now?
Logged

Freddy10

  • Thief
  • ****
  • Offline Offline
  • Posts: 92
  • Respect: +153
    • View Profile
Re: Dominion Card Image Generator
« Reply #291 on: November 12, 2023, 05:15:30 pm »
0

If you have New Times Roman on your computer I think you can fix using this
[...]
However, the font of cost or the numbers displayed on the icon are thinner than when I used it before. It seems that the fonts on the cards are loaded correctly, but only the weight of those letters is different. Repeated reloading and tried various things, but it was not going well.
[...]
The previous font is more similar to the original, so I would like to create using the bolder font. Is there a solution?
I am also having this issue with incorrect coin font on my Windows machine, regardless of browser (Firefox, Chrome, Internet Explorer), where I was not previously.  I have the Minion Pro font that is used officially.
I believe my Android phone loads the coin font correctly (maybe it is simply cached), but it does not load "Times New Roman" for the body text.
The problem with the first one is that currently the generator is using Minion Pro instead of Minion Std Black. Regarding the Times New Roman problem, that font is also a proprietary font, so in android is using another Sans Serif font

To tackle the ongoing font issues, I've added a feature today that allows changing the fonts used in the card.

Open the new font settings menu on the bottom left, type in the font name and the generator should prefer this font over the default font selection chain. Your font settings are remembered on your device. The entered font name has to be installed on your device locally with the exact same name.
On a computer, you can check available fonts in a text editor like Word or in the system settings. Android has system settings for fonts, too.
Logged
Who trashes the trashers?
Pages: 1 2 3 ... 12 [All]
 

Page created in 0.241 seconds with 21 queries.