encode jpegs with higher quality
switch consensus node-edge images to jpg