In doing a new more artistic deck for the Euro Millions I discovered a nasty behaviour with regard to transparency.
The deck uses JUST the lettering of the numbers - no graphic at all. The rest is just transparency! (I don't think anyone has used transparency quite like this before?...)
On the first use the whole deck was being distorted, squeezed in to make it narrow and tall.
I quickly worked out that the program is assessing the size and shape of the cards (probably) by the first card, which happened to be "1", which is tall and narrow. The program forced everything else to be tall and narrow as well. It wasn't good.
Just as quick I worked out a quick fix. Add zeros before the first nine numbers ( 01, 02 etc). That works. It's just I would have prefered on this deck NOT to include the zeros...
Something for you to fix, if you can, and when you have time!
Regards Greg the Yeti
Transparent Fault
Moderators: Programmer, WebWeaver, WillowsHeart
- Programmer
- Major Contributor
- Posts: 1725
- Joined: Sat 01 Jan, 2005 12:00 am
- Location: Spain
- Contact:
Re: Transparent Fault
Hi Greg, it is right that the size of the first card is important, like you say, the program assumes that every card is going to be the same width and height as the 0 numbered card. That said, the important thing is the size of the card, not the size of the graphic. As long as all the cards are the same size, including the transparent parts of the card, then you should not get that distortion. So you could have the number one on its own as the first card, just that it would be surrounded by a bigger transparent area than the rest of the numbers.
-
- Major Contributor
- Posts: 196
- Joined: Tue 01 May, 2007 3:11 pm
Re: Transparent Fault
Yes, on these Euro Millions and Lotto decks "Ghostly Medium" there is no card background - coloured or transparent!! I exported from CorelDRAW just the numbers. So the number IS the card! This seems to be confirmed by the existence of the biazare sizing anomaly...
I'm kind of new to circular decks and transparency so I was following what I saw in other decks. Misunderstanding (as probably most people do) that I needed to use transparency in the file and therefore a format that supports transparency.
In my next project the I Ching Decks "Clear Advice" I followed some of your advice I saw elsewhere in a search of the forum. So I used png with a simple white background. I will comment on that in my other post about the white borders around the opaque area.
Regards Greg
I'm kind of new to circular decks and transparency so I was following what I saw in other decks. Misunderstanding (as probably most people do) that I needed to use transparency in the file and therefore a format that supports transparency.
In my next project the I Ching Decks "Clear Advice" I followed some of your advice I saw elsewhere in a search of the forum. So I used png with a simple white background. I will comment on that in my other post about the white borders around the opaque area.
Regards Greg