Difference between revisions of "Error Messages/41132"
AManandhar (talk | contribs) (Created page with '= Message Text = The function ReadImageFile could not read an image from the file: C:\Temp\junk.xps The most likely cause the file may not be of a recognized image file …') |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
− | The function | + | == Message text == |
+ | |||
+ | <pre style="background:white; border:white; margin-left: 1em; font-style:italic"> | ||
+ | The function ReadImageFile could not read an image from the file: | ||
C:\Temp\junk.xps | C:\Temp\junk.xps | ||
The most likely cause the file may not be of a recognized image file format. | The most likely cause the file may not be of a recognized image file format. | ||
+ | </pre> | ||
− | = Cause = | + | == Cause == |
The indicated file does not contain an image format that is recognized by the GDI+ libraries. It may be an unsupported image file format, or it is possible the file itself has been corrupted. | The indicated file does not contain an image format that is recognized by the GDI+ libraries. It may be an unsupported image file format, or it is possible the file itself has been corrupted. | ||
[[ReadImageFile]] should usually be able to support at least JPG, PNG, TIF, BMP, GIF and EXIF formats. Some computers may have additional image codecs for GDI+ installed, and thus may support additional formats. | [[ReadImageFile]] should usually be able to support at least JPG, PNG, TIF, BMP, GIF and EXIF formats. Some computers may have additional image codecs for GDI+ installed, and thus may support additional formats. | ||
+ | |||
+ | ==Remedy== | ||
+ | Provide a different image file as an input parameter for [[ReadImageFile]]. | ||
+ | |||
+ | ==See Also== | ||
+ | * [[ReadImageFile]] | ||
+ | * [[ReadFromUrl#Obtaining_an_image_from_a_web_page|Obtaining an image from a web page]] |
Latest revision as of 19:45, 11 April 2016
Message text
The function ReadImageFile could not read an image from the file: C:\Temp\junk.xps The most likely cause the file may not be of a recognized image file format.
Cause
The indicated file does not contain an image format that is recognized by the GDI+ libraries. It may be an unsupported image file format, or it is possible the file itself has been corrupted.
ReadImageFile should usually be able to support at least JPG, PNG, TIF, BMP, GIF and EXIF formats. Some computers may have additional image codecs for GDI+ installed, and thus may support additional formats.
Remedy
Provide a different image file as an input parameter for ReadImageFile.
See Also
Comments
Enable comment auto-refresher