vcap: JPEG compression module