encodeJpeg

Encodes an image as jpeg in memory.

  1. ubyte[] encodeJpeg(TrueColorImage img, JpegParams params)
    @system
    static if(JpegHasArsd)
    ubyte[]
    encodeJpeg
  2. void encodeJpeg(bool delegate(const scope ubyte[]) dg, TrueColorImage img, JpegParams params)

Meta

History

Added January 22, 2021 (release version 9.2)