phoboslab / WebGLImageFilter

Fast image filters for Browsers with WebGL support
MIT License
332 stars 62 forks source link

Image Overlay ? #13

Closed MentalGear closed 4 years ago

MentalGear commented 9 years ago

Hey, great (and fast!) Library! I found this as most modern js image processing libraries are quite outdated, yours could be one of the best around if you gave it an update. :) Also, using .png images as an overlay would be great as a new feature.

phoboslab commented 9 years ago

What sort of update? As far as I know, the library still works in all current browsers.

Adding "stickers" on top of images is way out of scope for this library - and easily solved without a library anyway. Just render the filtered image into a 2d canvas and draw the image on top.

SunboX commented 9 years ago

Would be nice to have this rendered in WebGL, too. With the possibility to use some Photoshop Layer Blend modes.

See: https://www.shadertoy.com/view/XdS3RW

phoboslab commented 9 years ago

Most(?) of these blend modes are now supported in Canvas2D as well.

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation

mreinstein commented 4 years ago

I think this issue can be closed? Sounds like the library author has marked this out scope.