Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot read image file in oracle 10g forms, getting error frm-47100

1055974Nov 21 2013

I'm unable to read the image from the file location. But If I do re-save via MS-Paint the same image then I'm able to load successfully. I want to load image directly instead of re-save.  Error getting like "frm-47100 Cannot read image file".

Need your co-operation to solve this issue.

Thanks in advance!

--------------------------------------------

declare

  tiff_image_dir varchar2(80):=('D:\IMAGE\');

  photo_filename varchar2(80);

begin

  photo_filename:=tiff_image_dir||:IMAGE_NO||'.JPG';

  if :image_no is null then

  :Image_no :=:UID_NO;

  end if;

  read_image_file(photo_filename,'JPG','image');

  WRITE_IMAGE_FILE('output.tif','TIFF','g_image_info.image',maximize_compression,original_depth)

end;

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2013
Added on Nov 21 2013
0 comments
2,860 views