The OpenD Programming Language

Image.saveToFile

Saves an image to a file, detecting the format from the path extension.

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

Return Value

Type: bool

true if file successfully written. Tags: none.

Meta