PlayersCouncil / LotR-TCG_card_generator

nanDECK script for generating Lord of the Rings TCG cards from CSV.
6 stars 0 forks source link

Using full cards as portraits #7

Closed morvael closed 4 years ago

morvael commented 4 years ago

It would be great if full cards could be used as portraits. Their size should simply match full template size, and they should be drawn first, with template rendered on top. That way the "window" of the template should show portrait from the original card, without the need to cut it and resize.

ketura commented 4 years ago

I have added the full_portrait tag. When included in the tags column, it will alter the behavior of character, modifier, or site portraits to fill the entire card background instead of the normal portrait area (sites are also autorotated 270 degrees as normal).

This should work for most card images, but keep in mind that a lot of them are off by a pixel or so, and the jagged card portrait areas are likely to be problematic.