You Might Not Need jQuery
Clipping JPEG Images Into Non-Rectangular Polygons Using polyClip.js This photo is not a PNG image with an alpha channel. There have been many times I have come across the need to take an image and cut an irregular shape out of it. Normally, when a developer comes across this requirement, the only thing to do is to open the image up with your favorite graphics editor, use the select tool to cut out the shape you want, and then save the result as a PNG, since it is the only image format used by all web browsers that support alpha channels.
The trip of a lifetime
Byte-saving Techniques - GitHub Byte-saving Techniques