TJ Holowaychuk
a063907832
Added quick PDF support
need to clean things up, add async support, test images etc. I believe
some guys forked node-canvas to add some kind of image caching
for when an image appears several times within a PDF document, though
that may be out of scope
13 years ago
Philippe Plantier
550011e25e
Use libuv instead of EIO so that it builds on node.js >= 0.7.0
13 years ago
Tj Holowaychuk
a4ed9c5edd
tweak styling
13 years ago
Tj Holowaychuk
a50ffa1f27
wrap with HAVE_JPEG
13 years ago
Elijah Hamovitz
be9b2ee411
removed errant TODOs, reconsidered error handling
13 years ago
Elijah Hamovitz
b644873eab
added support for writing JPEGs
13 years ago
Nathan Rajlich
de520fcece
Try to detect when EIO_custom changed it's signature.
Should also be a part of #115 and #120 .
13 years ago
Tj Holowaychuk
15c558bdeb
Revert "Fix compilation on MacOSX gcc 4.2.1 environment."
This reverts commit 5c5db2972f
.
14 years ago
Syoyo Fujita
5c5db2972f
Fix compilation on MacOSX gcc 4.2.1 environment.
14 years ago
Tj Holowaychuk
1f5350ad69
ws
14 years ago
Tj Holowaychuk
bcc1b0c360
no need for ->handle_ here
14 years ago
Tj Holowaychuk
98c42b0a95
misc refactoring
14 years ago
Tj Holowaychuk
561938a6df
removed V8::AdjustAmountOfExternalAllocatedMemory() call from toBuffer()
our end result is a Buffer, which invokes this itself so we shouldnt need this
14 years ago
atomizer
6f08e9e6c8
proper memory adjust when resizing
14 years ago
atomizer
00120a885b
make v8 more aware of memory allocations
14 years ago
Tj Holowaychuk
b86c3cd321
move closure.h down. Closes #80
14 years ago
Tj Holowaychuk
2663ce0b74
refactored toBuffer()
14 years ago
Tj Holowaychuk
4981111190
added closure_init()
14 years ago
Tj Holowaychuk
3a74a43351
revert toBuffer() changes
14 years ago
Tj Holowaychuk
05708b7657
HandleScope fixes
14 years ago
Tj Holowaychuk
79361a5e4d
misc
14 years ago
Tj Holowaychuk
1c6cfd3c48
zero closure
14 years ago
Tj Holowaychuk
fde7404e08
Added closure_destroy(), and implemented some ToBuffer() fixes by Olaf
14 years ago
Tj Holowaychuk
b7c810f44e
Removed BUFFER_DATA macro
14 years ago
Tj Holowaychuk
804eeb673c
fixed segfault
14 years ago
Tj Holowaychuk
9221d3a403
Fixed canvas resizing. Closes #57
14 years ago
Tj Holowaychuk
bf7e04afbd
Unref() canvas
14 years ago
Tj Holowaychuk
cdfca98203
Misc refactoring
14 years ago
Tj Holowaychuk
228aafec7e
Fixed constructors
14 years ago
Tj Holowaychuk
513f2a1098
Added PixelArray::constructor
14 years ago
Tj Holowaychuk
644b77c311
Added Canvas::constructor
14 years ago
Tj Holowaychuk
9162f4554f
Added closure.h
14 years ago
Tj Holowaychuk
c2597935db
Namespaces
14 years ago
Tj Holowaychuk
620a83eeb6
Removed redundant "get" prefix for some methods
14 years ago
Tj Holowaychuk
444be2da49
Docs
14 years ago
Don Park
7abd4e17e4
replaced all node.js Buffer::data calls using new macro BUFFER_DATA
14 years ago
Tj Holowaychuk
a292869974
Misc
14 years ago
Tj Holowaychuk
2391844f23
return CAIRO_STATUS_NO_MEMORY on failed {re,m}alloc()
14 years ago
Tj Holowaychuk
6107a2ad89
free toBuffer closure data
14 years ago
Tj Holowaychuk
001247f1cb
Fixed some errors / warnings on fedora
14 years ago
Tj Holowaychuk
5858b47d66
locals
14 years ago
Tj Holowaychuk
e2df4d491e
More locals
14 years ago
Tj Holowaychuk
4c7788fd68
Use of Local<Value>
14 years ago
Tj Holowaychuk
37fc4a6398
Misc
14 years ago
Tj Holowaychuk
0025e5907c
Added async toBuffer()
14 years ago
Tj Holowaychuk
9a1484de3c
Prep for async toBuffer()
14 years ago
Tj Holowaychuk
51328138af
Implemented sync toBuffer()
14 years ago
Tj Holowaychuk
2955ae7bfa
Stubbed out Canvas::ToBuffer()
14 years ago
Don Park
21d0f2c727
node v0.3 support
14 years ago
Tj Holowaychuk
5bfeb7c1c2
Removed Canvas#savePNG()
use PNGStream
14 years ago