kangax
a3d40878d6
Update JSCS to 1.6, fix errors, hook up travis
2014-08-30 13:18:43 +04:00
Marc Galang
7111e6f2cc
Merge remote-tracking branch 'upstream/master'
2014-08-20 15:58:28 +03:00
Marc Galang
b39ed5b9c6
Add darken, lighten, subtract modes to blend filter
2014-08-03 23:42:06 +03:00
kangax
818ab118b3
JSCS changes; Prepare for JSCS ignore support; down to 51 failures
2014-08-03 16:47:27 +02:00
Marc Galang
47d06c0cad
Use createCanvasElement instead of createElement. Fix indentations.
2014-07-30 20:04:57 +03:00
Marc Galang
541393b991
Add blend filter. Implements several image blend modes (can add more later)
2014-07-30 10:14:02 +03:00
kangax
492253e5ca
JSCS tweaks. Down to 114 failures.
2014-06-24 14:12:17 +02:00
Stefan Kienzle
e0ee99caa4
Initialize "Noise" and "Brightness" filter with 0 instead of 100.
...
Closes issue #1257
2014-05-12 16:44:12 +02:00
yuri
99a3a77267
Added Multiply filter
2014-05-12 00:39:02 +03:00
kangax
d2f6a9033e
Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000.
2014-02-16 16:36:14 -05:00
kangax
de7b92bda5
Some refactoring; move arc into a separate file
2013-11-16 15:20:41 +01:00
kangax
10c8a108d4
Unify image loading in few places
2013-10-27 13:12:48 +01:00
Kienz
3b0b9b7d80
Doc additions. Add examples to fabric.Image.filters
2013-10-13 18:46:51 +02:00
Kienz
fa2f18a77a
Add more docs.
...
Examples, tutorial and demo links.
2013-09-28 12:31:32 +02:00
kangax
bd2857e49a
Add link for mask filter
2013-09-27 22:22:28 +02:00
Stefan Kienzle
0a4bbfb4bb
Remove check for fabric.Color because only string values are allowed for color parameter. Otherwise initialization breaks if opacity is not defined.
2013-09-23 17:56:07 +02:00
Stefan Kienzle
60e9d0f144
[BACK_INCOMPAT] Initialization of fabric.Image.filters.Tint is now different - options.color: color string value, options.opacity: 0..1
...
Now you can define opacity of the tint filter (by rgba/hsla colors or with opacity attribute)
Doc additions
2013-09-20 19:51:55 +02:00
kangax
507dff705b
Fix tint filter. Thanks @mewdriller
2013-08-30 01:13:29 +02:00
Stefan Kienzle
901ee7f942
Update fabric.Image.filters.Mask - based on https://github.com/kangax/fabric.js/pull/667 (@aleph1)
...
[BACK_INCOMPAT] `fabric.Image._initFilters` is now async, add parameter callback
Add `fabric.util.resolveNamespace` - used to get correct klass in `fabric.util.enlivenObjects`
Doc additions
2013-08-14 18:07:56 +02:00
Stefan Kienzle
e151d297fc
Add filter root class fabric.Image.filters.BaseFilter from which all filter classes inherit from
2013-08-13 14:06:33 +02:00
Kienz
a61b384684
Add toJSON back to image filters
...
Add toJSON to unit tests
2013-08-09 20:37:56 +02:00
Stefan Kienzle
6599d393ac
Fix fabric.Image.setElement - now _element and _originalElement (until now _originalImage) are set. Closes #745
...
Add additional parameter callback (invoked after filters habe been applied).
Fix `fabric.Image.fromObject` - don't overwrite image width/height with object width/height.
`fabric.Image.applyFilters` only resets _originalElement - fixes issue if object's width/height are different to _originaElement's width/height
[BACK_INCOMPAT] Renamed `fabric.Image.filters` method `toJSON` -> `toObject`
Fix serializiation of fabric.Image filter objects
2013-08-09 14:18:27 +02:00
Kienz
86211daa9a
Fix indentation (2 whitespaces)
...
Add opaque to fabric.Image.filters.Convolute.toJSON
Update docs
2013-05-28 21:44:10 +02:00
Wouter Commandeur
d06b6e130e
Split image filters into separate files
2013-05-26 15:42:29 +02:00