Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Avatars fixed

Sign in to follow this  


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  


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
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!