Image.read
- void read(string filename)
- void read(string filename, Geometry size)
- void read(void[] blob)
- void read(void[] blob, Geometry size)
- void read(void[] blob, Geometry size, size_t depth)
- void read(void[] blob, Geometry size, size_t depth, string magick)
- void read(void[] blob, Geometry size, string magick)
- void read(size_t width, size_t height, string map, T[] pixels)
dmagickImageImage
aliasesconstructorsfunctionsstatic functionsvariables
Reads an image from an in-memory blob. The Blob size, depth and magick format may also be specified.
Some image formats require size to be specified, the default depth Imagemagick uses is the Quantum size it's compiled with. If it doesn't match the depth of the image it may need to be specified.
Imagemagick can usualy detect the image format, when the format can't be detected a magick format must be specified.