This howto demonstrates how a developer can apply "fancy" crops with transparent background to images loaded to a canvas background, without use of extensions.
To get a full understanding of how this all works, it is recommended to review the 3 previous howtos in this series: