Avatar Shopping Community Knuffel Quests Donate My Account Help

Jump to:

   [ 13 posts ] 
 Post subject: Re: Showing off avatar system progress!
Posted: Apr 29th, '08, 00:04    


Radio

Joined: Apr 10th, '08, 13:28
Posts: 165
Hugs: 7121

You have hugged Radio!


Location: USA
I can't wait for it to be open for us. I also think transparent backgrounds are a good idea.

(0) (0)
Puppet Strings Lace Dress (Black)
Vampire Collar
Halloween Background (Cool Gray)

Prophyta Border (Black)
Lower Rose Garden (Lavender)
Upper Rose Garden (Lavender)
Blath Necklace (Coffee)
Darkness Gen 2 Hair (Lavender)
August Plush Bunny Ears (Lavender)
September Angry Bunny (Lilac)
Pisces Eyes (Violet)


    Top
 Post subject: Re: Showing off avatar system progress!
Posted: Apr 29th, '08, 02:41    


Administrator
starkad

Joined: Apr 13th, '07, 19:29
Posts: 506
Hugs: 39830
Mood: Buried in work.
Website: http://www.genkidelic.de
Location: Kingdom of Knuffel
Er. Transparent background, yeah. Just in case there's someone around interested, I'll explain what the problem is. T_T

The avatar generation script uses the GD engine for the graphics part. To have transparent background, either PNG or GIF would be the format for the output.

Problem with PNG is, a) the files would be rather big compared to other formats, and furthermore, b) InternetExplorer (older versions) can't handle transparent PNGs at all. As it is now, the output format is JPG, which keeps the files small (good for you since the page loads faster) and the server load low (good for us since it doesn't get us kicked out of the server) - but can't handle transparency. The load would increase because GD in the version installed on our server (not by us, so no, we can't change that easily) has a bug when it comes to PNG transparency, and I'd have to write some huge workaround code for that. :vein: You can imagine that the script has to do some calculating, and when we start up the service for everyone the server load will explode, even as it is - increasing traffic and load further is not a very good option.

Problem with GIF, on the other hand, is that the transparency in GIF is not really good (the layers are merged to an actual color before the transparency is set, which means the antialiasing produces artifacts of approximately the background color around the edges of the image :gonk:). On top of that, the script would have to determine a color which is not used in the whole image (which will get difficult since the avatars will have cloths and items in all colors on them :sweat:), and calculating this would increase the load (same problem as above).

I discussed the problem with Firn, and we agreed on putting a border around the avatar (which I'm already working on) and prepare different backgrounds (purikura style, yeah) you can choose from.

I hope that's a solution everyone can cope with. Maybe the background stuff is done tonight already, Just give me some time with the wardwobe page part... 8-)

(0) (0)


    Top
 Post subject: Re: Showing off avatar system progress!
Posted: Apr 29th, '08, 22:44    


Mouse

Joined: Apr 9th, '08, 17:50
Posts: 3459
Hugs: 30507
Mood: Wandering
Location: Seattle, WA
starkad wrote:Er. Transparent background, yeah. Just in case there's someone around interested, I'll explain what the problem is. T_T


I understand *feels ashamed of nerdy-ness*
but, when we make our avatars with the
"0.0448sec" thing show up in the corner?

(0) (0)
:qstar:
fake it til you make it
:qstar:


    Top
Display posts from previous:   Sort by  
   [ 13 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Username:

Password:


I forgot my password

Avatar





It is currently Nov 10th, '24, 21:46
All times are UTC+02:00