An improvement on JpegProcessor - can resize jpeg (and optionally optimize), png and gif.