Jake Gordon
7522aca2ea
with_pango to true and use fontconfig to load fonts
10 years ago
Matthieu Dehaussy
372fb699f0
Update Image.cc
fix fopen mode for non-POSIX platform
10 years ago
Thaddee Tyl
79f1d42fb5
Offer SVG output.
11 years ago
svandecappelle
5212a52da7
Glib version test into giflib exists test
Include test of glib version into the have gif lib test
11 years ago
svandecappelle
c383d11412
Giflib 5.1
11 years ago
svandecappelle
86e77b5bcc
Update Image.h
11 years ago
svandecappelle
9fa62ba875
Update Image.cc
11 years ago
svandecappelle
0eefc23ee5
Giflib 5.1
update to compile with giflib >= 5.1
11 years ago
Milan Gardian
13049aced3
Remove unneeded #include <nan.h>
- Already included by "Canvas.h"
11 years ago
Milan Gardian
ba4038b496
Use float constants to prevent double->float conversion warning
11 years ago
King Koopa
9ffde8ebb3
Add algorithm include to CanvasRenderingContext2d.cc for std::min
11 years ago
King Koopa
c18d777f57
Updated NAN to 1.2.0
11 years ago
Vincent Weevers
f42a018a8d
Add shims so Windows Visual C++ can use C99's isnan() and isinf().
11 years ago
David Caldwell
87abe5a85e
Use std::vector instead of C99 variable length arrays because of Visual C++.
Addresses Issue #420
11 years ago
David Caldwell
31dd7d6d21
Add support for the lineDash API.
Described here:
http://www.w3.org/TR/2dcontext/#dom-context-2d-setlinedash
The test images match on Chrome, but not on Firefox. It looks like
Firefox resets the lineDash to [] when given invalid parameters. My
reading of the spec agrees with Chrome.
11 years ago
Rod Vagg
8158158abf
NanNew() the NanNull()s
11 years ago
Rod Vagg
4ab32bccb1
NanNew<Value>() -> NanNew()
11 years ago
Rod Vagg
9b62e5f64e
beginning nan@1.0.0 conversion
11 years ago
nulltask
844294efd1
change operator lighter to lighten
11 years ago
King Koopa
b0d70c5baa
Restore Uintiness
11 years ago
King Koopa
8dbdd009b5
Runs on new v8.
11 years ago
Mitar
76bbe247fa
Correctly limit bounds in PutImageData to prevent segment fault.
11 years ago
Seth Fitzsimmons
fb9e576bfb
Distinguish between 'add' and 'lighter'
When CAIRO_OPERATOR_ADD and CAIRO_OPERATOR_LIGHTEN are both available,
make CAIRO_OPERATOR_ADD available as 'add'.
11 years ago
William Riancho
1256ce44d7
fix segfault when onload and onerror are not function
11 years ago
tiagoalves
d920c12b08
Readjusting the amount of allocated memory. Fixes #367
11 years ago
King Koopa
7831d74f57
Update for 0.11.9
11 years ago
Robert Coup
c1180d1f3d
Add CAIRO_FORMAT_INVALID
Fixes https://github.com/LearnBoost/node-canvas/issues/342
11 years ago
Stefan Lau
bc6df356f5
fix argument index for filter parameter
11 years ago
Rod Vagg
738f12d17b
NAN dep upgrade, full node@<=0.11.8 compatibility
11 years ago
Sascha Gehlich
d30145b70b
Use node::MakeCallback() instead of v8::Function::Call()
11 years ago
King Koopa
0bc1aaf38b
Added scopes.
12 years ago
King Koopa
1219a151bc
Testing...
12 years ago
King Koopa
c6c9eeac9a
Updated NAN to 0.3.0.
12 years ago
Jason Rose
9ce2d8ebec
Freeing custom buffer created during canvas jpeg streaming.
12 years ago
Jason Rose
50b904edd7
Deallocating both onload and onerror handlers.
12 years ago
King Koopa
d96183f0d7
Made CAIRO_FORMAT_RGB30 optional to support old versions of Cairo.
12 years ago
Akita Noek
a0632275c5
Fixed build error with giflib 5.0
Newer giflib versions have a new ErrorCode parameter in several
functions, DGifOpen being one of them.
12 years ago
Akita Noek
e8a58f7c75
Added #include <string.h> to PNG.h for inlined memcpy usage
12 years ago
King Koopa
14d9f587b6
Added another optional argument for setting row filters.
12 years ago
King Koopa
81bc5d79a9
More cleanup.
12 years ago
King Koopa
e2a5ed2b05
Cleaned up code and added the same fix to Canvas::StreamPngSync
12 years ago
King Koopa
50d0c5c55f
Added compression level argument to Canvas::toBuffer
12 years ago
King Koopa
c3ed7faca1
Initial commit of extracted PNG creation.
12 years ago
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
mscdex
9f5ce29777
Fix immediate variable reassignment
12 years ago
mscdex
fd56f06e87
Fix resource leaks on read errors
12 years ago
Rod Vagg
2354d9bb8c
0.11.4+ compatibility using NAN
See https://github.com/rvagg/nan
12 years ago
TJ Holowaychuk
4686fa3b97
Revert "Fixed Error that prevented NPM install on mac."
This reverts commit 92d8e84a6d
.
incorrect
12 years ago
Infinite Whiteboard
13b8f41141
Added backwards compatibility through conditional compilation.
12 years ago
Infinite Whiteboard
14a19421d2
Patch for Node 0.11.3
12 years ago