png image data creation using javascript

M

Marek Mänd

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

Tim Williams

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

Tim
 
G

gimme_this_gimme_that

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.
 
M

michael elias

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/ado/quickref/stream.html

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top