jpgStartOfImage = [255'u, 216'u]
proc decodeJpg(data: seq[uint8]): Image {...}{.raises: [PixieError], tags: [].}
proc decodeJpg(data: string): Image {...}{.inline, raises: [PixieError], tags: [].}
proc encodeJpg(image: Image): string {...}{.raises: [PixieError], tags: [].}