png image data creation using javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marek Mänd

    png image data creation using javascript

    Is there any tutorials available how to create a png data totally on the
    client side using javascript and then show that image?
  • Tim Williams

    #2
    Re: png image data creation using javascript

    Create any image dymanically, or just a fixed one? Does it have to be
    png ?

    Tim


    "Marek Mänd" <cador.soft@mai l.ee> wrote in message
    news:37vobjF5ih gt0U1@individua l.net...[color=blue]
    > Is there any tutorials available how to create a png data totally on
    > the client side using javascript and then show that image?[/color]


    Comment

    • gimme_this_gimme_that@yahoo.com

      #3
      Re: png image data creation using javascript

      Isn't that an oxymoron?

      If you use javascript your MIME type must be html/text
      but if you want render an image your MIME type
      can't be html/text.

      Comment

      • michael elias

        #4
        Re: png image data creation using javascript

        If your using IE you can pull this off, but it's not easy. First of
        you'll have to create or edit a PNG file and save your changes to a
        ..png file. Then you can load it with the AlphaImageLoade r filter.

        You'll have to know what you're writing though, a PNG file has a
        certain file structure you must follow. Here's the official PNG site:


        The creation of a new file and writing to the file can be done using
        the ADO Stream activexobject:


        I've never tried it before, but check it out, maybe it can be done.
        good luck.

        Comment

        • Martin Honnen

          #5
          Re: png image data creation using javascript



          Marek Mänd wrote:
          [color=blue]
          > Is there any tutorials available how to create a png data totally on the
          > client side using javascript and then show that image?[/color]

          <http://www.elf.org/pnglets/>


          --

          Martin Honnen

          Comment

          Working...