Daniel Beardsley
d72c1bbf02
JPEGStream: add progressive mode option
Progressive jpegs have several very useful advantages over baseline
jpegs:
* Slightly smaller for the same quality (3-7%)
* Load much faster in most browsers.
This adds the `options.progressive` option to the
canvas.jpegCreateStream() function.
12 years ago
Tj Holowaychuk
ec87f5ae85
tweak png/jpeg stream examples in source
13 years ago
Elijah Hamovitz
b644873eab
added support for writing JPEGs
13 years ago
Marcello Bastea-Forte
cb6c4483e9
make PNGStream a real Stream (so stream.pipe(dest) works)
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
14 years ago
Tj Holowaychuk
d5f8b08c6d
text example using streaming api
14 years ago
Tj Holowaychuk
feafe2b999
Throw since async png streaming is not yet implemented
14 years ago
Tj Holowaychuk
3e6b1cc882
Added sync PNGStream support
14 years ago
Tj Holowaychuk
6e4a4fc1b2
streamPNG sig is now (err, buf, len)
14 years ago
Tj Holowaychuk
08e04449aa
Docs for PNGStream
14 years ago
Tj Holowaychuk
c24ac15d4c
Fixed copyright
14 years ago
Tj Holowaychuk
e967a5e39e
Forgot to include pngstream.js :)
14 years ago