Thread: avatar question

  1. #1
    Seeking motivation... endo's Avatar
    Join Date
    May 2002
    Posts
    537

    avatar question

    How do I upload animated avatars? I keep getting invalid jpeg or gif messages when I upload from another webpage. And how do I save them and reduce their size, etc?
    Couldn't think of anything interesting, cool or funny - sorry.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Try saving the gif to your hard drive and then uploading it from there. To reduce the size you will need to edit the image with a graphics program such as Photoshop. Avatars for Cprogramming are limited to 50 pixels I believe.

    -Prelude
    My best code is written with the delete key.

  3. #3
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    At google, you can search for icon sized pictures, which are the perfect size for an avatar. Under advanced search options, click "icon-sized".
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    try here
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161
    several things you can do (if you want your avator to be valid):
    .gif file, right?

    compress the image and lose image quality.
    crop the picture a little bit.
    decrease color depth (and still lose image quality).
    take out a frame or two from the animated avator (also lose image quality).
    resize the image.
    about transparency, I think enabling transparency will reduce file size but not sure (too lazy to test it out).

    or maybe you can just upload it to some server and link it from there (just make sure the file stays in its directory or you won't see your image).

    I can't think of others... [gets a headache]

    or maybe your .gif file is corrupt? (I should try that out someday.)
    think only with code.
    write only with source.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  2. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  4. Question about linked lists.
    By cheeisme123 in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2003, 01:36 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM