DPI, Pixelformat and other image info from GDI+ API. I needed DPI and pixel format info for a script, so I translated a few of the less exciting useable GDI functions. maybe someone else can use them, or not. _GDIPlus_ImageGetHorizontalResolution() DPI - pixels per inch _GDIPlus_ImageGetVerticalResolution() DPI - pixels per inch _GDIPlus_ImageGetType() Bitmap (BMP,PNG,GIF,JPEG,TIFF,ICO,EXIF), Metafile (EMF, WMF) or Unidentified _GDIPlus_ImageGetFlags() color space, alpha and other properties