pixie/fileformats/jpg

    Dark Mode
Search:
Group by:

Consts

jpgStartOfImage = [255'u, 216'u]

Procs

proc decodeJpg(data: seq[uint8]): Image {...}{.raises: [PixieError], tags: [].}
Decodes the JPEG into an Image.
proc decodeJpg(data: string): Image {...}{.inline, raises: [PixieError], tags: [].}
proc encodeJpg(image: Image): string {...}{.raises: [PixieError], tags: [].}