Now supports making jpg sprites