Namespaces

Functions

reads a JPEG image into a run-time instantiated image Opens the given JPEG file name, selects the first type in Images whose color space and channel are compatible to those of the image file and creates a new image of that type with the dimensions specified by the image file. Throws std::ios_base::failure if none of the types in Images are compatible with the type on disk.

Saves the currently instantiated view to a jpeg file specified by the given jpeg image file name. Throws std::ios_base::failure if the currently instantiated view type is not supported for writing by the I/O extension or if it fails to create the file.