Oracle ordim is library that is bundled with oracle 11g database its purpose is to manage multimedia content in the database. How to add watermark using it? This is the function that is built in ".applyWatermark" but it just doesn't work with me. I have oracle 11g database installed so i use its ordim library. here is demo code.
imgProxy.applyWatermark(imgProxy, imgProxy, strings);
first attribute is source image, second is destination image and string should be the text of the watermark, note source and destination images are same in my case. How can i add simple TEXT or image watermark to it. Can anyone post a working example. I have searching for online documentation but official oracle documentation is not enought for me to get it to work. Please help guys
Edit:
This is the code that "compiles" without errors but i don't have any output at the end. What am i doing wrong here?
String []strings = new String[3];
strings[0]="test1";
strings[1]="test2";
strings[2]="test3";
imgProxy.applyWatermark(imgProxy, imgProxy, strings);
imgProxy.getDataInFile("C://Documents and Settings//Administrator//Desktop//slika.jpg");
Note when i compile it only with this line
imgProxy.getDataInFile("C://Documents and Settings//Administrator//Desktop//slika.jpg");
it will generate me image on desktop but without watermark. So problem is only in that watermark method.