Fix CMYK and grayscale, more robust dimension checking, tweak algorithm used for different scaling factors
Loop tweaks, error handling, change some 16-bit ints to 32 bit
bicubic for jpeg
Final tidy up, fixes for jpeg bicubic
Merge pull request #19 from Lithopsian/rc1

Fix jpeg CMYK and grayscale transparency, add jpeg bicubic