There are two constructors for VDisplay
:
VDisplay( const char *name ); VDisplay();
The first form initialises the display from one of the standard VIPS display types. For example:
VDisplay fred( "sRGB" ); VDisplay jim( "ultra2-20/2/98" );
Makes fred
a profile for making images in sRGB format, and jim
a
profile representing my workstation display, as of 20/2/98. The second form
of constructor makes an uninitialised display.
For another convenient way to make display profiles, see also the
VImage
member function ICC2display()
in §4.3.