Up until now, if a developer needed to clip an image in a non-rectangular shape, it was necessary to save the image as a PNG with an alpha channel. If the image is a photograph, the file-size balloons up to unacceptable levels. My new library, polyClip.js, allows developers to clip these images using photograph friendly JPEGs instead. This article guides you step by step on how to use it yourself.
Entries Tagged as 'XML'
Clipping JPEG Images Into Non-Rectangular Polygons Using polyClip.js
October 29th, 2011 by zoltan · 8 Comments
Tags: canvas · HTML5 · Images · JavaScript · jQuery · Uncategorized · VML
Configuring JavaScript Applications With XML
October 27th, 2009 by admin · No Comments
I have been hacking JavaScript for close to 12 years now, and love it. But just like anyone you have been enamored with for a long time, there are bound to be things that drive you crazy about the object of your affection. Sure, your feelings are stronger than when you first met, but sometimes, [...]
Tags: JavaScript · XML
More @font-face fun
October 9th, 2009 by zoltan · 10 Comments
My first post @font-face in Depth got a huge amount of unexpected attention. Thank you all for your comments and criticism. Since the post, there have been quite a bit of information I have read about and thought I should share. SVG fonts for Opera and Chrome Jonathan Snook wrote a great article regarding Opera [...]
Tags: @font-face · CSS · Fonts · SVG

