The code :
https://gist.github.com/anonymous/dfc5685a2b2a49762660
digit 9 in black - drawn with image()
Digit 9 in red - drawn using image_quad()
I'd like to clip the digit using image_quad() , but it seems to me that the image inserted via image_quad() is larger than its image() equivalent (by factor of ca. 1.5).
What am I doing wrong?

