Connecting Tech Pros Worldwide Forums | Help | Site Map

png image data creation using javascript

Marek Mänd
Guest
 
Posts: n/a
#1: Jul 23 '05
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
Guest
 
Posts: n/a
#2: Jul 23 '05

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@mail.ee> wrote in message
news:37vobjF5ihgt0U1@individual.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]


gimme_this_gimme_that@yahoo.com
Guest
 
Posts: n/a
#3: Jul 23 '05

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.

michael elias
Guest
 
Posts: n/a
#4: Jul 23 '05

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 AlphaImageLoader 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:
http://www.libpng.org/pub/png/

The creation of a new file and writing to the file can be done using
the ADO Stream activexobject:
http://www.devguru.com/Technologies/...ef/stream.html

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

Martin Honnen
Guest
 
Posts: n/a
#5: Jul 23 '05

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
http://JavaScript.FAQTs.com/
Closed Thread


Similar JavaScript / Ajax / DHTML bytes