Dominion Strategy Forum

Please login or register.

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

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

0 Members and 1 Guest are viewing this topic.

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: 169
  • Respect: +444
    • 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: 169
  • Respect: +444
    • 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: 169
  • Respect: +444
    • 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: 169
  • Respect: +444
    • 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: 169
  • Respect: +444
    • 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: 169
  • Respect: +444
    • 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: 169
  • Respect: +444
    • 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: 169
  • Respect: +444
    • 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: +1809
    • 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: 169
  • Respect: +444
    • 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: 2005
  • Respect: +2109
    • 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: +5344
    • 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
Pages: 1 2 [3] 4 5 ... 12  All
 

Page created in 0.071 seconds with 21 queries.