Hacker News new | ask | show | jobs
by bkyan 5234 days ago
Do these effects require two images to begin with, or does it work with only one image to begin with, and the script generates the 2nd image?
3 comments

The script duplicates the images inside of a <canvas> tag, which goes exactly on top of the current image. It then uses the canvas to provide the blend-mode functionalities.

Here is the source: http://dl.dropbox.com/u/45557606/Envato/CodeCanyon/jQuery-Bl...

Normally (in Photoshop or GIMP), you would start with a base image, and then apply a second image to the base image with one of these overlay modes; usually a specially-constructed image designed to apply the effect to different degrees in different parts of the base image.

This plugin seems to be using the same image as the base and as the overlay, which... seems to be missing the point a little.

Yes, this is the idea of this plugin, it doesn't use two different images, just one :)
Only one ..