The OpenD Programming Language

encodeJpeg

Encodes an image as jpeg in memory.

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

Meta

History

Added January 22, 2021 (release version 9.2)