LackeyCCG

LackeyCCG Forum => Bug Report Forum => Topic started by: Tokimo on November 10, 2009, 04:14:43 PM

Title: Feature Request: PNG support
Post by: Tokimo on November 10, 2009, 04:14:43 PM
I'd really like to be able to use PNGs (with transparency) to get that nice corner rounding effect on card. Not sure how hard it is to do, but it'd be nice.
Title: Re: Feature Request: PNG support
Post by: Alastair on November 10, 2009, 04:36:47 PM
Agreed. I think it'd also help on table images.
Title: Re: Feature Request: PNG support
Post by: legend zero on January 08, 2010, 09:01:09 PM
Thirded. Maybe we could make animated PNG's even for a sort of "Holo" card.
Title: Re: Feature Request: PNG support
Post by: aardvark on January 08, 2010, 09:26:27 PM
I fourth that just for the holo effect. :D
Title: Re: Feature Request: PNG support
Post by: legend zero on January 08, 2010, 10:23:09 PM
That would be probably the single coolest card effect ever.

aardvark, that reminds me, we need to get a Hax game sometimes soon! We just released the fourth set, so now's a good time. Try to catch me on the LZ chat box sometime later today or tomorrow.
Title: Re: Feature Request: PNG support
Post by: briggs on January 15, 2010, 12:13:35 AM
Quote from: Legend Zero on January 08, 2010, 09:01:09 PM
Thirded. Maybe we could make animated PNG's even for a sort of "Holo" card.

You can't animate png image files, only gif :)
Title: Re: Feature Request: PNG support
Post by: aardvark on January 15, 2010, 07:00:16 PM
Oh cruel cruel fate! Why must you make it so?! I'd rather have holo fx than transparency. I can live with a white/etc. background. But a life without holo is a sad life indeed.  :'(
Title: Re: Feature Request: PNG support
Post by: legend zero on January 16, 2010, 05:48:38 AM
Quote from: briggs on January 15, 2010, 12:13:35 AM
Quote from: Legend Zero on January 08, 2010, 09:01:09 PM
Thirded. Maybe we could make animated PNG's even for a sort of "Holo" card.
You can't animate png image files, only gif :)

Nope. There is such a thing as Apng.
It's rarer, I'll give you that, but I am 1000000% sure it exists, I use it on my website :)
Title: Re: Feature Request: PNG support
Post by: Tokimo on January 16, 2010, 03:24:59 PM
http://en.wikipedia.org/wiki/APNG

Thankfully, my browser doesn't recognize the abomination.
Title: Re: Feature Request: PNG support
Post by: legend zero on January 16, 2010, 04:07:03 PM
They come in handy for when you want higher resolution and color range than a GIF, but still need animation.

I'm not saying they are perfect, but they DO exist.
Title: Re: Feature Request: PNG support
Post by: briggs on January 16, 2010, 05:13:25 PM
Quote from: Legend Zero on January 16, 2010, 05:48:38 AM
Quote from: briggs on January 15, 2010, 12:13:35 AM
Quote from: Legend Zero on January 08, 2010, 09:01:09 PM
Thirded. Maybe we could make animated PNG's even for a sort of "Holo" card.
You can't animate png image files, only gif :)

Nope. There is such a thing as Apng.
It's rarer, I'll give you that, but I am 1000000% sure it exists, I use it on my website :)

Hmm, I've never heard of that before! But thank you for correcting me!
Title: Re: Feature Request: PNG support
Post by: Alucard on April 22, 2010, 09:03:18 AM
I line myself in for png as useable format to make invisible effects tokens ect.
Title: Re: Feature Request: PNG support
Post by: Alucard on February 27, 2011, 06:35:34 PM
Are their now other image formats supported? (asking now 3 time in 2 years i think that cant be that hard)


Greetings Alucard
Title: Re: Feature Request: PNG support
Post by: Trevor on March 02, 2011, 10:28:55 PM
I will add support for other types, and transparency, but I'm working on some other things first. No ETA to let you know.
Title: Re: Feature Request: PNG support
Post by: Alucard on August 10, 2011, 06:06:56 PM
hello everyone, is their now a update for other image formats so i could use transparency for my round playchips?

greets Alucard
Title: Re: Feature Request: PNG support
Post by: Trevor on August 10, 2011, 06:29:20 PM
Quote from: Alucard on August 10, 2011, 06:06:56 PM
hello everyone, is their now a update for other image formats so i could use transparency for my round playchips?

greets Alucard
You can use transparent PNGs.
Title: Re: Feature Request: PNG support
Post by: Alucard on August 10, 2011, 06:31:50 PM
hmm i tried png images but lackey isnt showing em so do i do something wrong or do i have to change something?
Title: Re: Feature Request: PNG support
Post by: Trevor on August 10, 2011, 06:52:27 PM
Quote from: Alucard on August 10, 2011, 06:31:50 PM
hmm i tried png images but lackey isnt showing em so do i do something wrong or do i have to change something?
Post the image file.
Title: Re: Feature Request: PNG support
Post by: Alucard on August 10, 2011, 06:56:58 PM
for example

[attachment deleted by admin due to age]
Title: Re: Feature Request: PNG support
Post by: Trevor on August 10, 2011, 07:10:20 PM
Quote from: Alucard on August 10, 2011, 06:56:58 PM
for example
Oh, the card back has to be a jpg. In retrospect, I will make it so any image format will work. But a png should work for any other card image file, aside from cardback.jpg and spawned.jpg now.
Title: Re: Feature Request: PNG support
Post by: Alucard on August 10, 2011, 07:14:21 PM
but normal card images that i save in png dont show too only the cardback + the text so what do i do wron?!
Title: Re: Feature Request: PNG support
Post by: Trevor on August 10, 2011, 08:52:30 PM
Quote from: Alucard on August 10, 2011, 07:14:21 PM
but normal card images that i save in png dont show too only the cardback + the text so what do i do wron?!
You included the image suffix in the ImageFile column, right?

If that isn't the problem, send me your plugin and I will take a look.
Title: Re: Feature Request: PNG support
Post by: Alucard on August 10, 2011, 09:05:48 PM
"image suffix in the ImageFile column" could you explain that a little sometimes my english isnt enogh^^
Title: Re: Feature Request: PNG support
Post by: Trevor on August 10, 2011, 09:23:18 PM
Quote from: Alucard on August 10, 2011, 09:05:48 PM
"image suffix in the ImageFile column" could you explain that a little sometimes my english isnt enogh^^
The third column of a card data file is the ImageFile column. It lists the names of the image files. If the image file is a jpg, you can omit the ".jpg" suffix as that is the default image format. If it is not a .jpg file, you need to include the image file suffix. If you have an image file named test.png for a card, you need to put "test.png" in the ImageFile column for that card.
Title: Re: Feature Request: PNG support
Post by: Alucard on August 10, 2011, 09:25:42 PM
here is the old plugin

http://www.file-upload.net/download-3653263/Behind.zip.html
Title: Re: Feature Request: PNG support
Post by: Trevor on August 10, 2011, 09:34:37 PM
You are using the oldest plugin format. The new plugin format is at http://lackeyccg.com/tutorialplugin.html
You should use the new plugin format. It more gracefully handles many of the errors you have, and it has more utility.

Your card data file is messed up in several ways.
You have spaces in the set column, and that will cause errors.
You don't have the .png suffix in your ImageFile column that I recently mentioned.
You have a bunch of extra entries in your set column, from row 63 to 91.

I looked at the image files. I don't see why you aren't using jpg format for those. It would be a lot smaller file size with the same image quality.
Title: Re: Feature Request: PNG support
Post by: Alucard on August 10, 2011, 10:11:22 PM
they are just samples but i also have chips for these character cards that are round and black borders would such their or? hmm i tried it now with 1.png instead of only 1 but same result
Title: Re: Feature Request: PNG support
Post by: Trevor on August 10, 2011, 10:24:58 PM
Quote from: Alucard on August 10, 2011, 10:11:22 PM
they are just samples but i also have chips for these character cards that are round and black borders would such their or? hmm i tried it now with 1.png instead of only 1 but same result
I don't really support the old plugin format. It was written before .png was added, and .png files may not be supported with the old format. The tutorial I linked explains the new plugin format and I think you will find that it's a lot easier to work with.