Michaël Zasso
2884267de4
make ImageData constructor more spec-compliant
9 years ago
Michaël Zasso
f69171da9a
expose ImageData constructor
10 years ago
Linus Unnebäck
2fc1316da7
Merge pull request #652 from targos/travis
simplify travis config
9 years ago
Michaël Zasso
580521dbe2
simplify travis config
Currently, CI takes a long time because it has to compile all dependencies before running the test.
Use Ubuntu packages instead of building them from source.
9 years ago
Linus Unnebäck
7a8e6de568
1.2.11
9 years ago
Linus Unnebäck
600b01b5e9
history: 1.2.11
9 years ago
Linus Unnebäck
f10e236ef0
Merge pull request #648 from inssein/patch-2
implement blur on images (drawImage)
9 years ago
Hussein Jafferjee
85aff9e5e4
improve comment on why the offset is there
9 years ago
Linus Unnebäck
5a79f7d7fa
Merge pull request #643 from LinusU/drop-make
drop make
9 years ago
Linus Unnebäck
8d81eded2b
Merge pull request #646 from inssein/patch-1
add helper function to execute test and only fire callback once
9 years ago
Hussein Jafferjee
f8368996b8
Change to 1.4 to match chrome
9 years ago
Hussein Jafferjee
4f722ffa53
forgot to destroy context and surface
9 years ago
Hussein Jafferjee
4e9269cc34
implement blur on images (drawImage)
9 years ago
Hussein Jafferjee
abee0947e5
add helper function to execute test and only fire callback once
Fixes https://github.com/Automattic/node-canvas/issues/645
9 years ago
Linus Unnebäck
d4fab578c9
drop make
9 years ago
Linus Unnebäck
9d91527fe7
Merge pull request #640 from LinusU/mocha-std-ui
tests: use standard mocha ui
9 years ago
Linus Unnebäck
145ae05f6a
tests: use standard mocha ui
9 years ago
Linus Unnebäck
0265773fd3
version: 1.2.10
9 years ago
Linus Unnebäck
14cc0b9701
history: 1.2.10
9 years ago
Linus Unnebäck
d8f560dc80
Merge pull request #635 from zbjornson/master
Fix segfault in Canvas#jpegStream. Fix #629
9 years ago
Zach Bjornson
9ad6c41f2b
jpegStream: bugfix, tests, simplification with LinusU. Fix #629
Remove the undocumented 3rd argument of the emitters (bytes left in buffer).
Add a column to the browser tests that displays JPEGs.
Revise how buffers are allocated.
9 years ago
Linus Unnebäck
eb97ef8386
version: 1.2.9
9 years ago
Linus Unnebäck
0f61134b01
history: 1.2.9
9 years ago
Linus Unnebäck
5405e73d29
Merge pull request #622 from zbjornson/nan2
Update to nan2 and node 3+ APIs
9 years ago
Zach Bjornson
d4d3b9c724
Update to NAN 2 and node 3+ APIs
9 years ago
Linus Unnebäck
c70eadc5d0
history: 1.2.8
9 years ago
Linus Unnebäck
bb4e192b51
version: 1.2.8
9 years ago
Linus Unnebäck
607becb266
Merge pull request #612 from LinusU/test-small-fixes
test: fix up some small issues
9 years ago
Linus Unnebäck
858d79bb4c
test: fix up some small issues
10 years ago
Linus Unnebäck
6633300144
Merge pull request #604 from zbjornson/master
Replace CanvasPixelArray with Uint8ClampedArray; optimizations; bugfixes
9 years ago
Zach Bjornson
7d9286638f
Support node <0.12 using kExternalPixelArray.
10 years ago
Zach Bjornson
43c94e43bf
Pixels with a=0 should have 0 for RGB; pixels with a=255 should have rgb for RGB.
10 years ago
Zach Bjornson
677587bd15
Remove stray logging.
10 years ago
Zach Bjornson
11f0709ec6
Fix tests "putImageData() 8" and "putImageData() 9".
Negative arguments were causing source image data to be painted wrapped-around the other side of the canvas.
10 years ago
Zach Bjornson
c3123efe55
Update test infrasturcture.
10 years ago
Zach Bjornson
76580a8199
Optimize Context2d::PutImageData. Benchmarked 53% faster.
Benchmark:
var canvas = new Canvas(300, 600);
var ctx = canvas.getContext("2d");
// any manipulation of canvas/ctx here.
var data = ctx.getImageData(0,0,300,600);
// time 1000x:
ctx.putImageData(data, 0, 0);
10 years ago
Zach Bjornson
b4a05d7892
Replace CanvasPixelArray with Uint8ClampedArray to meet spec.
Added some argument testing/manipulation to match WebKit/Moz behaviors.
Additionally benchmarked:
* branching on `if (a == 0 || a == 255)`, as it is
* not branching (always doing the alpha calculation)
* Mozilla's implementation found here: https://dxr.mozilla.org/mozilla-central/source/dom/canvas/CanvasRenderingContext2D.cpp#5083
Mozilla's is insignificantly faster (p=0.17) :) so left it as-is.
10 years ago
Linus Unnebäck
27bfef4a41
Merge pull request #611 from LinusU/travis-iojs
travis: specify iojs versions
10 years ago
Linus Unnebäck
f051025903
travis: limit number of iojs versions
10 years ago
Linus Unnebäck
54f731b727
travis: specify iojs versions
10 years ago
Linus Unnebäck
46a26de488
Version 1.2.7
10 years ago
Linus Unnebäck
2dded9eee8
Merge pull request #592 from miguelmota/package-reserved-word
rename package variable to packageJson
10 years ago
Linus Unnebäck
c54bac47b4
Release 1.2.6
10 years ago
Linus Unnebäck
60b1fbceb6
Merge pull request #589 from Agamnentzar/master
Fixed include error in Visual Studio
10 years ago
Nathan Rajlich
7ffc7f3168
History: fix Markdown link
10 years ago
Nathan Rajlich
e84f70fd75
Release 1.2.5
10 years ago
Miguel Mota
b085da2267
package => packageJson
10 years ago
Radosław Eichler
8aa52be645
Fixed include error in Visual Studio
10 years ago
Juriy Zaytsev
21383b990e
Merge pull request #586 from garthk/bump124
Bump version to 1.2.4
10 years ago
Garth Kidd
e1a1df28d8
Release 1.2.4
10 years ago