xtd - Reference Guide 0.2.0
xtd::drawing::imaging::image_format Class Referencefinal

#include <image_format.h>

Definition

Specifies the file format of the image. Not inheritable.

Namespace
xtd::drawing::imaging
Library
xtd.drawing

Constructors

 image_format (const guid &guid)
 Initializes a new instance of the image_format class by using the specified guid structure. More...
 

Properties

const xtd::guid guid () const
 Gets a guid structure that represents this image_format object. More...
 
static image_format bmp ()
 Gets the bitmap (BMP) image format. More...
 
static image_format emf ()
 Gets the enhanced metafile (EMF) image format. More...
 
static image_format exif ()
 Gets the Exchangeable Image File (Exif) format. More...
 
static image_format gif ()
 Gets the Graphics Interchange Format (GIF) image format. More...
 
static image_format ico ()
 Gets the windows icon (ico) image format. More...
 
static image_format jpeg ()
 Gets the Joint Photographic Experts Group (JPEG) image format. More...
 
static image_format memory_bmp ()
 Gets the format of a bitmap in memory. More...
 
static image_format png ()
 Gets the W3C Portable Network Graphics (PNG) image format. More...
 
static image_format tiff ()
 Gets the Tagged Image File Format (TIFF) image format. More...
 
static image_format wmf ()
 Gets the Windows metafile (WMF) image format. More...
 
static image_format memory_gif ()
 Gets the GIF memory format. More...
 
static image_format memory_ico ()
 Gets the ICO memory format. More...
 
static image_format memory_jpeg ()
 Gets the JPEG memory format. More...
 
static image_format memory_png ()
 Gets the PNG memory format. More...
 
static image_format memory_tiff ()
 Gets the TIFF memory. More...
 
static image_format cur ()
 Gets the cursor (CUR) image format. More...
 
static image_format memory_cur ()
 Gets the CUR memory. More...
 
static image_format xbm ()
 Gets the x bitmap (XBM) image format. More...
 
static image_format memory_xbm ()
 Gets the XMB memory. More...
 
static image_format xpm ()
 Gets the x pixmap (XPM) image format. More...
 
static image_format memory_xpm ()
 Gets the XPM memory. More...
 
static image_format pnm ()
 Gets the portable pixmap (PNM) image format. More...
 
static image_format memory_pnm ()
 Gets the PNM memory. More...
 
static image_format pcx ()
 Gets the pcx (PCX) image format. More...
 
static image_format memory_pcx ()
 Gets the PCX memory. More...
 
static image_format pict ()
 Gets the apple pict (PICT) image format. More...
 
static image_format memory_pict ()
 Gets the PICT memory. More...
 
static image_format icon ()
 Gets the apple icon (ICON) image format. More...
 
static image_format memory_icon ()
 Gets the ICON memory. More...
 
static image_format cursor ()
 Gets the apple cursor (CURSOR) image format. More...
 
static image_format memory_cursor ()
 Gets the CURSOR memory. More...
 
static image_format ani ()
 Gets the animated file cursor (ANI) image format. More...
 
static image_format iif ()
 Gets the iif (IIF) image format. More...
 
static image_format tga ()
 Gets the truevision targa (TGA) image format. More...
 

Methods

xtd::ustring to_string () const noexcept override
 Converts this image_format object to a human-readable string. More...
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object. More...
 
virtual bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object. More...
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type. More...
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const
 Gets the type of the current instance. More...
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal. More...
 
static bool reference_equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are the same instance. More...
 

Constructor & Destructor Documentation

◆ image_format()

xtd::drawing::imaging::image_format::image_format ( const guid guid)
inlineexplicit

Initializes a new instance of the image_format class by using the specified guid structure.

Parameters
guidThe guid structure that specifies a particular image format.
Remarks
Typically you use the static properties of the image_format class to specify a particular format such as Png or Jpeg, rather than constructing a new image_format.

Member Function Documentation

◆ ani()

static image_format xtd::drawing::imaging::image_format::ani ( )
inlinestatic

Gets the animated file cursor (ANI) image format.

Returns
An image_format object that indicates the ANI image format.

◆ bmp()

static image_format xtd::drawing::imaging::image_format::bmp ( )
inlinestatic

Gets the bitmap (BMP) image format.

Returns
An image_format object that indicates the bitmap image format.

◆ cur()

static image_format xtd::drawing::imaging::image_format::cur ( )
inlinestatic

Gets the cursor (CUR) image format.

Returns
An image_format object that indicates the cursor image format.

◆ cursor()

static image_format xtd::drawing::imaging::image_format::cursor ( )
inlinestatic

Gets the apple cursor (CURSOR) image format.

Returns
An image_format object that indicates the CURSOR format.

◆ emf()

static image_format xtd::drawing::imaging::image_format::emf ( )
inlinestatic

Gets the enhanced metafile (EMF) image format.

Returns
An image_format object that indicates the enhanced metafile image format.

◆ exif()

static image_format xtd::drawing::imaging::image_format::exif ( )
inlinestatic

Gets the Exchangeable Image File (Exif) format.

Returns
An image_format object that indicates the Exif format.

◆ gif()

static image_format xtd::drawing::imaging::image_format::gif ( )
inlinestatic

Gets the Graphics Interchange Format (GIF) image format.

Returns
An image_format object that indicates the GIF image format.

◆ guid()

const xtd::guid xtd::drawing::imaging::image_format::guid ( ) const
inline

Gets a guid structure that represents this image_format object.

Returns
A guid structure that represents this image_format object.

◆ ico()

static image_format xtd::drawing::imaging::image_format::ico ( )
inlinestatic

Gets the windows icon (ico) image format.

Returns
An image_format object that indicates the icon image format.

◆ icon()

static image_format xtd::drawing::imaging::image_format::icon ( )
inlinestatic

Gets the apple icon (ICON) image format.

Returns
An image_format object that indicates the ICON image format.

◆ iif()

static image_format xtd::drawing::imaging::image_format::iif ( )
inlinestatic

Gets the iif (IIF) image format.

Returns
An image_format object that indicates the IIF image format.

◆ jpeg()

static image_format xtd::drawing::imaging::image_format::jpeg ( )
inlinestatic

Gets the Joint Photographic Experts Group (JPEG) image format.

Returns
An image_format object that indicates the JOEG image format.

◆ memory_bmp()

static image_format xtd::drawing::imaging::image_format::memory_bmp ( )
inlinestatic

Gets the format of a bitmap in memory.

Returns
An image_format object that indicates the bitmap memory image format.

◆ memory_cur()

static image_format xtd::drawing::imaging::image_format::memory_cur ( )
inlinestatic

Gets the CUR memory.

Returns
An image_format object that indicates the CUR memory image format.

◆ memory_cursor()

static image_format xtd::drawing::imaging::image_format::memory_cursor ( )
inlinestatic

Gets the CURSOR memory.

Returns
An image_format object that indicates the CURSOR memory image format.

◆ memory_gif()

static image_format xtd::drawing::imaging::image_format::memory_gif ( )
inlinestatic

Gets the GIF memory format.

Returns
An image_format object that indicates the GIF mempry image format.

◆ memory_ico()

static image_format xtd::drawing::imaging::image_format::memory_ico ( )
inlinestatic

Gets the ICO memory format.

Returns
An image_format object that indicates the icon memory image format.

◆ memory_icon()

static image_format xtd::drawing::imaging::image_format::memory_icon ( )
inlinestatic

Gets the ICON memory.

Returns
An image_format object that indicates the ICOM memory image format.

◆ memory_jpeg()

static image_format xtd::drawing::imaging::image_format::memory_jpeg ( )
inlinestatic

Gets the JPEG memory format.

Returns
An image_format object that indicates the JPEG memory image format.

◆ memory_pcx()

static image_format xtd::drawing::imaging::image_format::memory_pcx ( )
inlinestatic

Gets the PCX memory.

Returns
An image_format object that indicates the PCX memory image format.

◆ memory_pict()

static image_format xtd::drawing::imaging::image_format::memory_pict ( )
inlinestatic

Gets the PICT memory.

Returns
An image_format object that indicates the PICT memory image format.

◆ memory_png()

static image_format xtd::drawing::imaging::image_format::memory_png ( )
inlinestatic

Gets the PNG memory format.

Returns
An image_format object that indicates the PNG memory image format.

◆ memory_pnm()

static image_format xtd::drawing::imaging::image_format::memory_pnm ( )
inlinestatic

Gets the PNM memory.

Returns
An image_format object that indicates the PNM memory image format.

◆ memory_tiff()

static image_format xtd::drawing::imaging::image_format::memory_tiff ( )
inlinestatic

Gets the TIFF memory.

Returns
An image_format object that indicates the TIFF memory image format.

◆ memory_xbm()

static image_format xtd::drawing::imaging::image_format::memory_xbm ( )
inlinestatic

Gets the XMB memory.

Returns
An image_format object that indicates the XBM memory image format.

◆ memory_xpm()

static image_format xtd::drawing::imaging::image_format::memory_xpm ( )
inlinestatic

Gets the XPM memory.

Returns
An image_format object that indicates the XPM memory image format.

◆ pcx()

static image_format xtd::drawing::imaging::image_format::pcx ( )
inlinestatic

Gets the pcx (PCX) image format.

Returns
An image_format object that indicates the PCX image format.

◆ pict()

static image_format xtd::drawing::imaging::image_format::pict ( )
inlinestatic

Gets the apple pict (PICT) image format.

Returns
An image_format object that indicates the PICT image format.

◆ png()

static image_format xtd::drawing::imaging::image_format::png ( )
inlinestatic

Gets the W3C Portable Network Graphics (PNG) image format.

Returns
An image_format object that indicates the PNG image format.

◆ pnm()

static image_format xtd::drawing::imaging::image_format::pnm ( )
inlinestatic

Gets the portable pixmap (PNM) image format.

Returns
An image_format object that indicates the PNM image format.

◆ tga()

static image_format xtd::drawing::imaging::image_format::tga ( )
inlinestatic

Gets the truevision targa (TGA) image format.

Returns
An image_format object that indicates the TGA image format.

◆ tiff()

static image_format xtd::drawing::imaging::image_format::tiff ( )
inlinestatic

Gets the Tagged Image File Format (TIFF) image format.

Returns
An image_format object that indicates the TIFF image format.

◆ to_string()

xtd::ustring xtd::drawing::imaging::image_format::to_string ( ) const
inlineoverridevirtualnoexcept

Converts this image_format object to a human-readable string.

Returns
A string that represents this image_format object.

Reimplemented from xtd::object.

◆ wmf()

static image_format xtd::drawing::imaging::image_format::wmf ( )
inlinestatic

Gets the Windows metafile (WMF) image format.

Returns
An image_format object that indicates the WMF image format.

◆ xbm()

static image_format xtd::drawing::imaging::image_format::xbm ( )
inlinestatic

Gets the x bitmap (XBM) image format.

Returns
An image_format object that indicates the XBM image format.

◆ xpm()

static image_format xtd::drawing::imaging::image_format::xpm ( )
inlinestatic

Gets the x pixmap (XPM) image format.

Returns
An image_format object that indicates the XPM image format.

The documentation for this class was generated from the following file: