The OpenD Programming Language

Image.saveToFile

Save the image into a file, with a given file format.

  1. bool saveToFile(const(char)[] path, int flags)
  2. bool saveToFile(ImageFormat fif, const(char)[] path, int flags)
    struct Image
    nothrow @nogc @safe const @trusted
    bool
    saveToFile
    (,
    const(char)[] path
    ,
    int flags = 0
    )

Return Value

Type: bool

true if file successfully written. Tags: none.

Meta