Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts

    PNG transparency

    Let's keep this to IE for arguments sake...

    When I set the transparency on my png's background and then save it as 24 bit, the transparency doesn't show...rather a solid color. When I save the transparency as palette-based (256 colors or less), the transparency holds and is ok.

    What's with that?

    Any good tutorials on png and transparency around? Nothing heavy duty (partial or alpha) as I'm just interested in simply setting my bmp's background to transparent.

    Thanks
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What graphics program are you using?
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Well, I'm using PSP but I heard PS does the same thing. You can't have a transparent background with more than 256 colors...There goes all my detail unless someone knows a remedy...
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Form a quick search, it seem as it the transparency depends on browser settings...?

    NOTE: All images with borders are alpha transparent PNGs. Internet Explorer and Netscape 4.x users will see different background colors in these images depending on their browser settings.

    Users of browsers that support alpha transprent PNGs will see the same background color as the text areas of this page.

    Are you doing "set and view palette transparency"? I know on my PSP7, if I 'set', but don't 'view' the transparency (when saving as .gif) it won't show up on the final image. I always have to view the transparency to save it as transparent...
    Last edited by Quiet Storm; 12-05-2002 at 11:02 PM.
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Well, high bit just isn't supported in IE yet...just low bit. There is a work around...and since I'm just using <input>, I suppose I could maybe use this in an external css class...dunno. Either that or adjust the backgrounds in high bit to match the page color. Thanks Mr Storm

    Workaround for IE
    Last edited by zoobie; 12-06-2002 at 05:29 AM.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I played around with PSP7 last night...

    I think it goes like this:

    File > Export > (something) PNG.

    There are a lot of controls to set up for PNG transparency... I didn't know exactly what I was doing, but there was an image that I got the transparency to stick (looked good, too!), but I'm not sure how I did it. There's 'Alpha' transparency - I think that was the one, but also 'Single Colour' transparency...

    I'll try it again tonight and see if I can do it again.



    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #8
    New to the CF scene
    Join Date
    Dec 2002
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What about PNG transparency in photoshop? Can you have 256 colors with that?
    "I was made in the image of God, but not enough to be mistaken for him...I believe that God created man because he was disappointed in the monkey." --Mark Twain, one badass writer to another

    Cordelia/Angel romantic
    Adam Sandler's Groupie#231
    Darla and Angelus, vicious forking brigade member#038

  • #9
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Yep...Using the alpha enables you to use high bit...The problem is, the major browser doesn't support the transparency yet.

    Yep...You can use low bit 256 colors and the transparency works...Problem is, it's just a tad smaller than a gif and most definition is lost kinda defeating the whole purpose of png's high bit resolution.

    Last edited by zoobie; 12-06-2002 at 11:59 PM.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">


  •  

    Posting Permissions

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