The Image::SaveAdd method adds a frame to a file or stream specified in a previous call to the Save method. The Image::Save method saves this image to a stream. The Image::Save method saves this image to a file. The Image::RotateFlip method rotates and flips this image. The Image::RemovePropertyItem method removes a property item (piece of metadata) from this Image object. For a complete class listing, see Image Class. This topic lists the constructors of the Image class. (overload 1/2)Ĭreates an Image::Image object based on a stream. (overload 2/2)Ĭreates an Image::Image object based on a file. The Image::GetWidth method gets the width, in pixels, of this image. The Image::GetVerticalResolution method gets the vertical resolution, in dots per inch, of this image. The Image::GetType method gets the type (bitmap or metafile) of this Image object. The Image::GetThumbnailImage method gets a thumbnail image from this Image object. GUIDs that identify various file formats are defined in Gdiplusimaging.h. The Image::GetRawFormat method gets a globally unique identifier ( GUID) that identifies the format of this Image object. The Image::GetPropertySize method also gets the number of property items stored in this Image object. The Image::GetPropertySize method gets the total size, in bytes, of all the property items stored in this Image object. The Image::GetPropertyItemSize method gets the size, in bytes, of a specified property item of this Image object. The Image::GetPropertyItem method gets a specified property item (piece of metadata) from this Image object. The Image::GetPropertyIdList method gets a list of the property identifiers used in the metadata of this Image object. The Image::GetPropert圜ount method gets the number of properties (pieces of metadata) stored in this Image object. The Image::GetPixelFormat method gets the pixel format of this Image object. The Image::GetPhysicalDimension method gets the width and height of this image. The Image::GetPaletteSize method gets the size, in bytes, of the color palette of this Image object. The Image::GetPalette method gets the ColorPalette of this Image object. The Image::GetLastStatus method returns a value that indicates the nature of this Image object's most recent method failure. The Image::GetItemData method gets one piece of metadata from this Image object. The Image::GetHorizontalResolution method gets the horizontal resolution, in dots per inch, of this image. The Image::GetHeight method gets the image height, in pixels, of this image. The Image::GetFrameDimensionsList method gets the identifiers for the frame dimensions of this Image object. The Image::GetFrameDimensionsCount method gets the number of frame dimensions in this Image object. The Image::GetFrameCount method gets the number of frames in a specified dimension of this Image object. The Image::GetFlags method gets a set of flags that indicate certain attributes of this Image object. The Image::GetEncoderParameterListSize method gets the size, in bytes, of the parameter list for a specified image encoder. The Image::GetEncoderParameterList method gets a list of the parameters supported by a specified image encoder. The Image::GetBounds method gets the bounding rectangle for this image. The Image::GetAllPropertyItems method gets all the property items (metadata) stored in this Image object. The Image::FromStream method creates a new Image object based on a stream. The Image::FromFile method creates an Image object based on a file. The Image::FindNextItem method is used along with the Image::FindFirstItem method to enumerate the metadata items stored in this Image object. The Image::FindFirstItem method retrieves the description and the data size of the first metadata item in this Image object. The Image::Clone method creates a new Image object and initializes it with the contents of this Image object. You can construct Image objects from a variety of file types including BMP, ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF. An Image object encapsulates a bitmap or a metafile and stores attributes that you can retrieve by calling various Get methods. The Image class provides methods for loading and saving raster images (bitmaps) and vector images (metafiles).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |