Angular2 component to apply a duotone SVG filter to an image
As seen on Angularbeers http://www.meetup.com/AngularJS-Beers/events/234753624/
Based on http://codepen.io/jmperez/pen/LGqaxQ
ng2-kw-duotone-image is available via npm
npm install ng2-kw-duotone-image -S
Import DuotoneImageModule in your module
import { DuotoneImageModule } from 'ng2-kw-duotone-image';
<ng2-kw-duotone-image></ng2-kw-duotone-image>
- lightColor: string | color to be used for whites
- darkColor: string | color to be used fro blacks
- src: string | image src
- width: string | image width
- src: string | image height