Cause
This error occurs if your application code attempts to convert a non-standard picture type. Only bitmaps, TIFF (tagged image file format), PNG (portable network graphics), and JPEG (Joint Photographic Experts Group) type picture images can be converted to another picture type.
Action
Change your application code to ensure you have a picture of the required type before calling the