switched to vips, seems to be working well so far