Graphisoft®

GX ModuleVersion: 16

GetGraphicsPixelType

Returns the GS-style pixel format of a GdiPlus image.

    GSPixelType GetGraphicsPixelType (
      Gdiplus::Image*  image
    );

Parameters

image
Pointer to the source GdiPlus image.

Return Values

If the function succeeds, the return value is the pixel type of the source image. If the function fails, the return value is GSPT_Unknown.

Remarks

This function exists only on Windows platform.

Requirements

Version:
GX 10 or later
Header:
Graphics2DWin.h
Import Library:
GXImp.lib
Module:
GX.dll [WIN]

See Also

Graphics Windows-specific functions