please I need help to Convert Oracle Blob with tiff file format to Blob with jpg or png file Format Oracle 19c
I tried oracle PLSQL function but the error below rise up
FUNCTION convert_JPG (IMAGE in BLOB)
    return blob
 as
   l_JPG_IMAGE  BLOB ;
 BEGIN
   ORDSYS.ORD_IMAGE.processCopy(IMAGE,'fileFormat=JFIF',l_JPG_IMAGE);
   return  l_JPG_IMAGE;
 End ; 
This is the error stack
ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at 
"ORDSYS.ORDIMAGE", line 456 ORA-06512: at "ORDSYS.ORD_IMAGE", line 330 ORA- 
06512: at "CONVERT_JPG", line 7