Commit graph

25 commits

Author SHA1 Message Date
Cedric Wienold
5fc960aa56 Add support for Buffers to utils.loadImage
If the user has preloaded image data in a Buffer, allow that user to use
that data to load into a Fabric.js image.

This is possible because node-canvas supports setting 'src' to a Buffer.
2013-06-19 04:11:06 -07:00
tka
85f18e36f5 when use nodejs load remote image with fullpath
sometime use server generate image, and passing parameter in url
so when send request should use full path, not only pathname
2013-05-03 15:24:18 +08:00
kangax
c16dcf88a4 Change inline docs to conform to jsdoc3 2013-04-24 12:58:04 -04:00
kangax
c22d9f0c18 req_handler -> reqHandler 2013-04-04 14:05:24 +02:00
shilo
2c2206b951 rendering canvas on node.js - fixed issue with segfault occuring when downloading an image that comes from https (secure) url 2013-04-03 13:40:48 +03:00
kangax
81e8f9c2e2 Fix node-based url request 2013-03-24 00:05:13 +01:00
kangax
40490dc7f3 Add support for loading local files in fabric.loadSVGFromURL 2013-03-24 00:04:50 +01:00
root
b6a178d8a1 Fix backgroundColor render on nodejs 2013-03-09 00:34:54 +01:00
root
246c45d57c Merge branch 'master' of github.com:xxorax/fabric.js
Conflicts:
	src/node.js
2013-03-09 00:32:11 +01:00
Martin Panel
dfb1e2a230 Fix backgroundColor render on nodejs 2013-03-07 22:14:30 +01:00
Martin Panel
f84a8628c3 Fix backgroundColor render on nodejs 2013-03-07 22:11:30 +01:00
kangax
7d9c91de70 res -> response and remove unnecessary semicolon 2013-02-22 17:24:22 +01:00
Juriy Zaytsev
4651d6ecd9 Merge pull request #413 from uruz/feature/fix-failing-test
Fix failing test: fabric.util.loadImage
2013-02-22 08:22:09 -08:00
kangax
a77cbfe2be Text fixes for node-canvas. Version 1.0.9 2013-02-15 14:11:58 +01:00
Alexey Boriskin
137aa0eaa5 Fixed failing test: fabric.util.loadImage 2013-02-05 20:51:01 +04:00
Cedric Wienold
958f37d8fb Add createJPEGStream support for fabric canvas
Node Canvas already has support for createJPEGStream. Create a route to
take advantage of that through fabric.js canvas.
2013-01-17 12:48:41 -08:00
kangax
a870e11a57 Fix fabric.util.loadImage in node 2013-01-04 19:15:18 +01:00
kangax
c8172be31d Final doc additions. Every public method is now documented! 2012-12-16 20:44:26 +01:00
kangax
2b33b7f570 Locking properties (lockMovementX, lockMovementY, lockRotation, etc.) are now respected in groups. Closes #152. 2012-12-07 15:39:47 +01:00
TimNZ
a119d39e85 Set img._src on loadImage for data url 2012-12-04 17:28:01 +13:00
TimNZ
e9fe12a6d0 Allow loadImage to support data:image url 2012-12-04 17:21:08 +13:00
kangax
c105212c9c Doc fixes. Version 0.9.26 2012-12-02 11:53:38 +01:00
kangax
f0b5329157 Doc additions, fixes. 2012-11-23 13:38:26 +01:00
kangax
84a956c4b6 Lint everything with JSHint. Version 0.9.14. 2012-10-14 02:53:12 +02:00
kangax
e85045d86a Rename fabric_node.js to node.js 2012-07-31 20:50:06 +02:00
Renamed from src/fabric_node.js (Browse further)