Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problem with image transparent background

Problem with image transparent background

Scheduled Pinned Locked Moved ASP.NET
helpcsstutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    StuffyEst
    wrote on last edited by
    #1

    So I've searched for hours for a good fix or a workaround on this problem. What is needed : Draw a background canvas(white), and on top of it I have to draw - Grid(with transparent background), Graph1(with transparent background), Graph2(with transparent background) and whatever else. What is done : I have all the functions which all work, but only when they aren't ontop of each other. Problem : Everything I draw with a seperate function has a white background (NOTE: Something.Clear(Color.Transparent); doesn't work, makes the background black.. which really won't help) So I've found some workarounds how to do completely transparent pictures and I even found some .dll that would suit me BUT it has some nice licence things that won't work for me unfortunately, so I'm back to square one. [PS. I hope people won't start to flame to look harder on Google or whatever, so all I can say is.. I have and I was unsuccsessful]

    C 1 Reply Last reply
    0
    • S StuffyEst

      So I've searched for hours for a good fix or a workaround on this problem. What is needed : Draw a background canvas(white), and on top of it I have to draw - Grid(with transparent background), Graph1(with transparent background), Graph2(with transparent background) and whatever else. What is done : I have all the functions which all work, but only when they aren't ontop of each other. Problem : Everything I draw with a seperate function has a white background (NOTE: Something.Clear(Color.Transparent); doesn't work, makes the background black.. which really won't help) So I've found some workarounds how to do completely transparent pictures and I even found some .dll that would suit me BUT it has some nice licence things that won't work for me unfortunately, so I'm back to square one. [PS. I hope people won't start to flame to look harder on Google or whatever, so all I can say is.. I have and I was unsuccsessful]

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Your browser will display pngs with transparency, I thought. This all sounds a little too difficult to me tho, have you considered using silverlight instead ?

      Christian Graus Driven to the arms of OSX by Vista.

      S 1 Reply Last reply
      0
      • C Christian Graus

        Your browser will display pngs with transparency, I thought. This all sounds a little too difficult to me tho, have you considered using silverlight instead ?

        Christian Graus Driven to the arms of OSX by Vista.

        S Offline
        S Offline
        StuffyEst
        wrote on last edited by
        #3

        No I haven't.. Guess I'll take a look into it right away :) (about the Png, for some reason it didn't even let me save to png.. but I had no problem saving to Gif.. so I'll take a look into that aswell)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups