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;