pixie/fileformats/jpg

    Dark Mode
Search:
Group by:

Consts

jpgStartOfImage = [255'u, 216'u]
  Source Edit

Procs

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