This content has been marked as final. Show 3 replies
Version and platform please?
Does this problem happen with every image or just some image? What is the size (width, height) of the problem images? Do you get a trace file?
Are you aware that you are modifying the original image? You perform a process on either the photograph or modified_photo blob. The process meothd is an in place operator. The processCopy method will read from a source image and write to a separate destination. The original source image is not modified. It does not seem that you want this behavior.
To use processCopy, you would select the thumbnail blob as well and use ordimage.processCopy(). If you are using just blobs, and not ordimage objects, then there is no need for the final update statement.
Having the same / similar problem as stated above. It only started recently, perhaps due to some newer format or perhaps the default size of the image when it it downloaded from the camera or phone to the PC (before it is uploaded to the database).
We're storing content inside the 11g database on Solaris using Intermedia objects (ORDSYS.ORDImage for all photos) and processing each photo using processCopy method to make thumbnails.
The error message is this:
Oracle.DataAccess.Client.OracleException ORA-29400: data cartridge error
IMG-00002: unrecoverable error
ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 75
ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 65
ORA-06512: at "ORDSYS.ORDIMG_PKG", line 155
ORA-06512: at "ORDSYS.ORDIMG_PKG", line 765
ORA-06512: at "ORDSYS.ORDIMAGE", line 63
The error is only happening with some images.
Size of problem images is: 275 x 81
I then took the image and resized it to 494 x 259 (same format), and it continued to fail to upload with the same error message.
However, I took another photo with the same dimensions and format which was also failing to upload, and resized it to 529 x 280 and it uploaded just fine.
I then went to the first image that was failing, opened it in Paint and then saved it as a GIF instead of a JPG. It uploaded fine after that.
Not sure if the dimensions of the original file are causing the error during the processCopy stage, or if it is the Format of the image that is causing the problem. Or both ...
Any insight or suggestions are much appreciated.