Friday 14 November 2014

Oracle Forms FRM-47100 Cannot Read Image File Error

CAUSE

The failing image contains Exif (Exchangeable image file format) information. Forms cannot read jpg's which have this format.
From the following bug,

Bug 5135787 - FRM-92101 ERROR WHEN OPENING A PICTURES IN AN ITEM TYPE ''IMAGE'' IN FORMS

development have commented the following:
Please note: "Progressive JPEG" format is not supported in Forms. Only "BaseLine JPEG" format is supported (JFIF in the header). Most of the Image formats which have Exif info (Digital Cameras' additional info) are not properly recognized by Forms.
The problem is not just related to JPEG/JPG images that contain EXIF information, but also TIFF files as well. See (not a bug) Bug 8571482.

SOLUTION

Since forms cannot read Exif format you will need to remove the exif information from the jpg file for forms to work. This can be done using any 3rd party tools that has this functionality. IrfanView (http://www.irfanview.com/) is one such tool and can be downloaded as freeware.

Of course, removing Exif information for one file is fine, but if hundred's of jpg files need to be converted, then this is very time consuming. InfraView has functionality which will convert all images in a certain directory in batch. See InfraView online help for more information.

The following internal enhancement request has been logged with development:

Bug:1197043- ENH PROVIDE SUPPORT FOR READ_IMAGE_FILE READING IMAGE With EXTENSION .EXIF
The enhancement request as of date (Dec-2010), is with the Oracle review board to consider if this will be implemented or not.



Tags: Oracle, Forms, Error, FRM-47100, Image, Cannot Read Image File Error

No comments:

Post a Comment