Sign in to follow this  
  • entries
    375
  • comments
    1136
  • views
    297395

Avatars fixed

Sign in to follow this  
superpig

71 views

I've finally updated the image component to support avatars in formats other than .GIF, so hopefully most quality issues should be gone.

In fact, unless your avatar is under 50x50, I'd probably actively recommend avoiding .GIF because it's a limited-color format and the algorithm the component uses for building an output palette seems to be pretty poor (the standard GDI+ algorithm). PNG and JPEG are, I believe, unpaletted, so they're not subject to the same problems.

Finally, note to self: If the code changes you've deployed seem to be mysteriously not working, check that the assembly you're updating is actually being used, and it's not being overlooked in favour of, say, a second copy of the assembly within the GAC. Doh.

EDIT: GDS Screenshot uploading is fixed as well now.
Sign in to follow this  


2 Comments


Recommended Comments

png can be paletted, but doesn't have to be. I'd guess the encoder will pick the best scheme for the number of distinct colours in the given image.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now