Dmitry Timoshkov : gdiplus: Set actual resolution of an image being encoded .