Image.convertTo

Convert the image to the following format. This can destruct channels, loose precision, etc. You can also change the layout constraints at the same time.

struct Image
nothrow @nogc @safe public @trusted
bool
convertTo

Return Value

Type: bool

true on success. Tags: #type.

Meta