Results 1 to 5 of 5

Thread: PNG Help

  1. #1

    Thread Starter
    Hyperactive Member GamerMax5's Avatar
    Join Date
    Nov 2004
    Location
    United States
    Posts
    388

    Resolved PNG Help

    I'm using a PNG for some of my graphics for my web site. I want to use them because the quality of the image is awesome. But when I set the background color of the image to white or transparent in my image editor, even using CSS, the background image is like an alice blue or a very light teal. I don't want to change the background color of the page (I tried but I can't find a hex color to match it). Can someone help me with this or suggest another format that might work with the same image quality? Would TIFF's work?
    Last edited by GamerMax5; Aug 5th, 2005 at 02:01 PM.
    Only those who try will become.

    Find me on identi.ca

    Twitter @gfmartin05

    Linux Wrap

  2. #2
    Hyperactive Member ninjanutz's Avatar
    Join Date
    Jun 2005
    Location
    Bayside
    Posts
    256

    Re: PNG Help

    u cant make ur own colors with the r%,g%,b% this adds a percenteage of red green blue until u match ur backround

  3. #3
    Fanatic Member
    Join Date
    Jan 2005
    Location
    In front of this pc.
    Posts
    580

    Re: PNG Help

    "Image quality" and "website" don't mix very well - you can create a 300 DPI image (print quality) and use it on your website but all you'll accomplish is to greatly slow the page load time..a 72 DPI image will display just as well in a browser due to browser limitations. Also, there are color limitations associated with browsers. Your graphics program should have an option for "use web safe colors" - you'll have to use html color codes in order to get the page color to match the image color.

  4. #4
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Re: PNG Help

    Quote Originally Posted by GamerMax5
    I don't want to change the background color of the page (I tried but I can't find a hex color to match it).
    As far as this part, take a screen shot of your page. Get into any paint program with a color eye dropper thing and select your background color, then use that color as your background. This should make your background and image look the same always (as in if a broswer doesn't like the color in the background it won't like the color in the image and it will mess them both up), but some broswers will mess up only the image and you might still notice a difference.

    Let me know if you don't know what I mean by color eye dropper.
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

  5. #5

    Thread Starter
    Hyperactive Member GamerMax5's Avatar
    Join Date
    Nov 2004
    Location
    United States
    Posts
    388

    Re: PNG Help

    Thanks for all the help. I took the original layout of the image and tore it apart and used each part seperately. I still use the PNG format and I fixed the background color problem. Thanks!
    Only those who try will become.

    Find me on identi.ca

    Twitter @gfmartin05

    Linux Wrap

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width