Hanterdro
|
b52d112d58
|
Add opacity option (#37)
|
7 years ago |
Luke Childs
|
1c4741bf23
|
node => Node.js
|
8 years ago |
Luke Childs
|
b8569c49ab
|
Fix incorrect comment
|
8 years ago |
Luke Childs
|
0169650750
|
Add build system
|
8 years ago |
Luke Childs
|
7edf41af0a
|
Explicitly set Canvas option to undefined by default
|
8 years ago |
Luke Childs
|
7c7ca02da0
|
Reject map Promise not main Promise
It may have already resolved via `resolve(Promise.all(images))` so we need to reject inside the resolved Promise
|
8 years ago |
Luke Childs
|
d5b7ce4872
|
Reject Promise if we get an error loading an image
|
8 years ago |
Luke Childs
|
36d578f1fb
|
Keep XO happy
|
8 years ago |
Luke Childs
|
363cdc0be2
|
Multiple quality setting for node-canvas
node-canvas uses 0-100 browsers use 0-1
|
8 years ago |
Luke Childs
|
472bc57876
|
Allow setting custom quality
|
8 years ago |
Luke Childs
|
b4f789d3e4
|
Explicitly set default options
|
8 years ago |
Luke Childs
|
09be41c7e0
|
Make sure default settings are merged with user settings not completely overwritten
|
8 years ago |
Luke Childs
|
e69759e7f8
|
Make sure errors aren't swallowed
|
8 years ago |
Luke Childs
|
8dff87ed93
|
Handle node-canvas jpeg errors
|
8 years ago |
Luke Childs
|
25eb602b92
|
node-canvas jpeg needs to be rendered async
|
8 years ago |
Luke Childs
|
2abb4d507a
|
Check if source isn't object instead of is string
We may wanna pass in different types like buffers for Node.js.
|
8 years ago |
Luke Childs
|
3be4dc3f10
|
Object spacing
|
8 years ago |
Luke Childs
|
18b376fd9f
|
imageMerge => mergeImages
|
8 years ago |
Luke Childs
|
b90f58be3f
|
Drop jsdom we only need node canvas
|
8 years ago |
Luke Childs
|
3306f43509
|
Allow window object to be passed in
For use with Node.js
|
8 years ago |
Luke Childs
|
fd074691d5
|
Improve code reuse
|
8 years ago |
Luke Childs
|
69a232f0fa
|
Add image format option
|
8 years ago |
Luke Childs
|
661648aefa
|
Add option object with width/height options
|
8 years ago |
Luke Childs
|
ee50f51a89
|
Allow array of src strings to be passed in
|
8 years ago |
Luke Childs
|
9ec6e322a7
|
Allow custom positions to be passed through
|
8 years ago |
Luke Childs
|
fca880fb2a
|
Set canvas size to width/height of widest/highest image
|
8 years ago |
Luke Childs
|
18c47482fd
|
Setup canvas while we're waiting for images to load
|
8 years ago |
Luke Childs
|
2edf7ff44c
|
Add basic logic
|
8 years ago |
Luke Childs
|
25e0a1386e
|
Initial commit
|
8 years ago |