Also generating jpegs for codices to correct sha1sum error

For some reason, the sha1sums for pngs is different even when the
underlying jpeg is the same. Hence, using the jpegs only to send back
list of sha1sums