Vincent Povirk : gdiplus: Only attempt to encode if the Encoder flag is set .