Changing data_content via read/write_image_file?
Hallo,
I use Forms 11G R2.
I store images in the database via
CLIENT_IMAGE.READ_IMAGE_FILE(vFile,'ANY','SD_DOCUMENT.DOCUMENT'); -- SD_DOCUMENT.DOCUMENT= Lob-Column
To show up the stored image I use
CLIENT_IMAGE.WRITE_IMAGE_FILE(vFile_Path, vTyp,'SD_DOCUMENT.DOCUMENT', NO_COMPRESSION, original_depth);
and
CLIENT_HOST ('eog ' || vFile_Path, NO_SCREEN); ( on Linux-Client)
This works for Tif-Files. By importing JPG the image-files will be transformed to tiff and the viewer isn't able to show it, because the name is stored with jpg.
Now, I don't know where the transformation take place: by importing, or in the databse lob-column or when reading the image.
What must I change to get a jpg-image stored and read as jpg?
thanks in advance.
best regards
Eveline Merches