Image Watermarking

I have a requirement to deliver watermarked images from a database via a 9iAS infrastructure. The images are stored in an ORDImage/BLOB object and do not currently have watermarks so I need a method of either manipulating them in the database and storing them in a new column or preferably adding the watermark on the fly as they are delivered.
All help gratefully appreciated.

I have a requirement to deliver watermarked images from a database via a 9iAS infrastructure. The images are stored in an ORDImage/BLOB object and do not currently have watermarks so I need a method of either manipulating them in the database and storing them in a new column or preferably adding the watermark on the fly as they are delivered.
All help gratefully appreciated.

Similar Messages

  • Dynamic Image Watermarking

    Hi All,
    I have a requirement to dynamically insert the Image watermark depending on the Organization which i get from my XML output. For example
    IF
    <ORGANIZATION>Org1</ORGANIZATION>
    THEN insert Org1.jpg as image watermark
    IF
    <ORGANIZATION>Org2</ORGANIZATION>
    THEN insert Org2.jpg as image watermark
    I already tried using the dynamic imaging method according to the link below:
    http://blogs.oracle.com/xmlpublisher/2006/05/dynamic_images.html
    It's working fine if i use image *(url)* as part of my template but not as the watermark
    I also tried using the Subtemplate but this is calling only my template but not the image watermark
    Please let me know if i am missing some thing or if there is any other way to handle this.
    Thanks,
    Prasanth

    Presumably you mean this -
    http://mediaconsults.de/1test/steckertest.php
    And it's not clear what that is going to show me.  Looking at the code on the page -
    <html>
    <head>
    <title>Unbenanntes Dokument</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    MM_reloadPage(true);
    //-->
    </script>
    </head>
    <body background="test%20png.png">
    <div id="Layer1" style="position:absolute; left:1290px; top:246px; width:95px; height:112px; z-index:1"><img src="stecker_off.png" alt="no"height="101" width="71" /></div>
    </body>
    </html>
    I would advise you the following:
    1.  Put a valid and complete doctype on that page!
    2.  Get rid of the resize if NN4 javascript - it hasn't been needed for nearly a decade.
    3.  Fix your image code (note the missing space after "no"!
    4.  1290px is way too wide unless you want lots of people scrolling right to see things.

  • Image Watermark with a BC App?

    I know BC cannot apply a watermark automatically. However, I am wondering if this may be possible to create with a BC App?
    I have a client who will want to upload photos, have a watermark automatically applied, and go into the correct folder.
    My thought is with a BC app this may be possible. When an image is uploaded it is has a watermark applied then uploaded to BC.
    Any thoughts on this? Has anyone tried this? All guidance is welcome.

    Yes 100% possible, I've done something like this as a BC app. It's not something I could post as code it would be a few hours of work, drop a line if you are interested to develop your idea.

  • I want to add runtime Text or Image watermark on pdf using iText1.3 api

    Hi all,
    I want to add a watermark(text or image) at the runtime, I am creating pdf file with using iText 1.3 api.
    It created fine. I have following code for add watermark for an existining file.
    <code>
    try {
    PdfReader reader = new PdfReader("ConfirmBillPDF.pdf");
    int n = reader.getNumberOfPages();
    PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("NewPDFWithWatermarkImage.pdf"));
    int i = 0;
    PdfContentByte under;
    Image img = Image.getInstance("ValidityExpWaterMark.png");
    img.setAbsolutePosition(100, 400);
    while (i < n)
    i++;
    under = stamp.getUnderContent(i);
    under.addImage(img);
    stamp.close();
    catch (Exception de)
    de.printStackTrace();
    </code>
    But I want to add this with runtime.
    Plese help me..

    MODERATOR ACTION: moved this here from the Servlets forum 'for closer topic alignment'.

  • Image Watermarking in Frequency Domain

    I am working on a Project which aims at studying the digital watermarking on image, with both spatial domain and frequency domain.
    I have finished the spatial domain but is frustrated with the frequency domain right now. I have no idea on how I can possess the frequency domain of a image. Is there a built-in function which can help us to do so?
    Thank you for your help.

    i have no clue what a frequence domain is, but with logical thinking I can quickly rule out that such an API will exist in core Java. Java was not built to contain standard solutions for every exotic business requirement out there. It contains the basic functionality to work with images only, the rest is up to you.
    However, you could direct a google search towards a third party API that might deal with your problem domain. One possible search area is Java Advanced Imaging, which contains complex image processing functionality.
    [http://java.sun.com/javase/technologies/desktop/media/|http://java.sun.com/javase/technologies/desktop/media/]

  • Background Image/Watermark

    I've searched the API's and the sample code. I can't seem to find an easy way to set a background image. Seeing as how I am a newbie at this perhaps I just don't know how to work with the classes as well as I thought.
    Any suggestions, code samples or URL's to help with this problem?

    Check out this thread:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=316074
    Any suggestions, code samples or URL's to help with this problem? Yes, don't forget to search the forum before posting questions.

  • Thinkpad Yoga - ghosting / after-image / watermark issue

    Admin Note: This thread has been reorganized for escalation purpose -  using ajpot's info for escalation since he was the first to respond to my request of collecting information.
    I've got the ghosting issue on my yoga as well.  It was OK for the first few weeks (no noticeable ghosting at all) but now it only takes around a minute of having something on screen for ghosting to appear when switching to something else.
    I'm in the process of sending my yoga in for repair as I'm experiencing some other issues, so I've asked them to repair the screen as well.  From what I've read, it's likely they won't be able to fix it (in which case I'll be asking for a refund) but I'll see how it goes.
    Machine: ThinKPad Yoga
    Machine Type Model: 20CD-CT01WW
    Date manufactured: 3rd December 2013
     

    As amirvf mentioned this is a common issue and there is an active discussion about it over at http://forum.notebookreview.com/lenovo/731068-lenovo-thinkpad-yoga.html Here is a quick recap:TPY uses a 12.5" LG Philips panel that has really, REALLY bad case of image retention (ghosting)The ghosting is not permanent and is actually specific to the way LCD panels work and present on all panels, but usually it's so minor that it is not noticeable to the naked eye. In case of those LG Philips panels, however, the effect is VERY noticeable.Lenovo has a page explaining the general issue: http://support.lenovo.com/de_DE/detail.page?DocID=HT051485The easiest way to check for this is via http://www.marco.org/rmbp-irtest.html (this is a test that was made for MBPro that had ghosting issues, but it works great for testing TPY too)The same panel is used in Dell XPS 12 and there is a long thread on Dell forums complaining about the issue: http://en.community.dell.com/support-forums/laptop/f/3518/t/19497269.aspxThe problem is inherent to the process/chemistry used in the panels and cannot be solved via software/driver update. (Although some support representatives will direct you to partial solutions that flash different colors and can alleviate the issue but only marginally). To fix this issue panel manufacturer (LG Philips) would have to modify it's tech process and a replacement panel would have to be installed.The bad news are that currently there is no solution (AFAIK). They can swap your panels to your heart's delight, but currently there are not panels available that do not exhibit the issue (You should note, however, that the issue is usually less pronounced on a new panel and is gradually amplified over a course of first several weeks, so if you have on-site support and if you/Lenovo are willing, you could theoretically swap your panels every two weeks or so to approximate a real solution). Also note that the market for 12.5" panels is relatively small and there is no real competition, so there is no strong incentive for LG Philips to fix anything (XPS 12 has been suffering from this for over a year now, even through a model refresh)The good news are that Dell has finally acknowledged the issue and are saying that LG Philips has fixed the panels and new batch is coming around February, plus some people have reported that their newly bought XPS 12 does not exhibit ghosting. So, assuming this is indeed so, new panels should trickle down to TPY owners too sometimes. I'd love to see an official acknowledgement/response from Mark on this... 

  • PDF Watermark - logo image is not displayed in ibr converted pdf

    Hi
    I have enabled pdf watermark administration and configured image watermark with rule, if the content type is document then the image watermark is to be applied but it is not displayed to the converted word document to pdf by IBR.
    If i change image watermark layer to "over", then image watermark is displayed, but word are displayed under the logo image watermark, so it is difficult to study the document.
    If the native file is pdf, then its image watermark is working fine.
    Thanks
    Deepak

    Hi ,
    I think this could be caused by the following :
    Check the factor set for Transparency and if it is completely opaque (Transparency =0%) then the converted PDF's will not show watermarks which has Layer set to UNDER.
    To get the watermarks displayed PPT's will need to be set to Transparency = 100% .
    The intention of the UNDER watermarking layer is that it should appear"behind" whatever is in the content layer.If the content layer completely covers the page and is opaque, then nothing behind it will be visible,including watermarks.The only reasonable solution is to check the above mentioned value before submitting the PPT's for conversion so that users are aware of this behavior for PPT's
    The above description if for PPT's where in this was found to be caused by the transparency factor of native PPT . If it is a word document then check for the same setting and set to 100% , then test .
    Hope this helps .
    Thanks,
    Srinath

  • How to Watermark multiple images with different dimensions in Photoshop ?

    Is there any way that I can place a watermark on the right bottom of multiple images, no matter what dimension the images are? I have tried using Photoshop Scripts > image processor, but it works only for images of same dimension. I want to put watermark on multiple images of different dimensions. This is the output i got.
    For the first image the watermark got placed correctly, but for the second image watermark got distracted. As you can clearly see the dimensions are different. Please suggest me some solution.

    Open an image to watermark. We must have this open before we start recording an action or else it will keep opening this image and watermarking it over and over again.
    In Photoshop go to Windows >> Actions
    At the bottom of the Actions Palette you will see a little folder icon, click on it and create a new folder to hold you action in.
    Once you have a folder to hold your action we need to hit the Create New Action button (next to the new folder Icon we just used.)
    Give our new action a name and set a function key (if required.)
    If the record button is not already depressed which it should be by default, hit it now to start recording our action. (located near the folder icon again but this time to the left)
    Now that our action is recording go to File >> Place
    When the dialog box comes up navigate to your previously created watermark file.
    Hit the Place button
    Position the watermark as you would normally have it (default is dead center) and hit enter.
    Go to File >> Save as,navigate to where you want your watermarked images to finish up and hit save. DO NOT CHANGE THE FILE NAME if you do when you play the batch it will name all the files it saves the same over-writing each other.
    Close the image we just watermarked.
    when a save dialog comes up do not save the image.
    On the Actions Palette hit stop recording.
    Our Action is now recorded.
    To process an entire folder of images we go to File >> Automate >> Batch
    Select the folder in which your images are currently
    Select the folder you wish to save the watermarked copies too.
    Hit OK
    Photoshop is now watermarking all the Images in the selected folder for you.

  • GD Watermark of dynamically called images

    I am trying to get a watermark (png) placed on an image that is being called from a MySQL database.  The issue seems to be in naming the source of the image file.
    This is the code:
    $id = $row_WADAimages['file_id'];
    $query_wat = "SELECT image_file FROM images WHERE image_id = '$id' ";
    $result_wat = mysql_query($query_wat) or die();
    $row = mysql_fetch_array($result_wat);
    $file_name = $row_WADAimages['image_file'];
    $fileName = $file_name;
    $maxHeight = '450px';
    $maxWidth = '300px';
    $imageDir = "src=images/";
      //now add the watermark to the image.
      $watermark = imagecreatefrompng('images/watermark.png');
      $image = imagecreatefromjpeg('$file_name');
      //get the dimensions of the watermark
      list($width_orig, $height_orig) = getimagesize('images/watermark.png');
      // Water mark process
      imagecopymerge($image, $watermark, 0, imagesy($image)-$height_orig, 0, 0, $width_orig, $height_orig, 100);
      imagejpeg($image, $imageDir.$fileName, 90);
      imagedestroy($image);
      return $imageURL.$fileName;
    Warning:  imagecreatefromjpeg(image_file) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/content/a/l/i/alinde52/html/imagesDetail.php on line 262
    Warning:  imagesy(): supplied argument is not a valid Image resource in /home/content/a/l/i/alinde52/html/imagesDetail.php on line 268
    Warning:  imagecopymerge(): supplied argument is not a valid Image resource in /home/content/a/l/i/alinde52/html/imagesDetail.php on line 268
    Warning:  imagejpeg(): supplied argument is not a valid Image resource in /home/content/a/l/i/alinde52/html/imagesDetail.php on line 270
    Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/content/a/l/i/alinde52/html/imagesDetail.php on line 271
    Anyone see where this is going wrong?
    Gary

    David
    Unfortunately I have not had success.
    I tried hard coding it as you suggested, by-passing the DB, it shows the red x.  The path is correct, the image is in the folder.
    I created an entirely new page with only the query and the watermark.php, hard coded, and still only get the red x. When I changed the new page to
    <img src="images/bubbles" />
    by-passing the watermark.php, It worked.  I then noticed I forgot to put the extension on, but it had still worked.
    I do not recieve any errors, on the orignal page, all the other contents show as expected.
    This is the code to watermark.php
    <?php
    if (isset($_GET['image_id'])) {
        // get the image name from the database
        // and store it as $filename
    $filename = bubbles.jpg;//hard coded
    $image_dir = 'images/';
    $image =  $image_dir .  $filename;
    // make sure the image exists
    if (file_exists($image) && is_readable($image)) {
        // get its size
        list($orig_w, $orig_h) = getimagesize($image);
        // make sure the file has width and height
        // if either is 0, there's something wrong with the image
        if ($orig_w > 0 && $orig_h > 0) {
            list($mark_w, $mark_h) = getimagesize( $image_dir . 'watermark.png');
            $orig = imagecreatefromjpeg( $image_dir .  $filename);
            $mark = imagecreatefrompng( $image_dir . 'watermark.png');
            // Copy and merge
         imagecopymerge($orig, $mark, $orig_w-$mark_w-10, $orig_h-$mark_h-10, 0, 0, $mark_w, $mark_h, 60);
         // Output and free from memory
         header('Content-Type: image/jpeg');
         header('Content-Type: image/png');
         imagejpeg($orig);
         imagedestroy($orig);
         imagedestroy($mark);
    ?>
    This is the code to call the img
    <img src="watermark.php?image_id=1" />
    I have tried so many variations I cant begin to list them all.  I have read your tutorial on "Display an image stored in a database(PHP)", re-read several other board postings.
    There is already a query to the DB to recieved the data, but I also included it in the watermark.php, but still no success.
    This is the code to the page http://www.johnfinleyphotographer.com/dpowers.php
    What am I missing?
    Thank you for your patience.
    Gary

  • Background Image for BIP 'Certificate'

    Hey there,
    Im new to BIP, I ususally lurk over in the OBIEE side.
    Im trying to create a 'certificate' type of report in BIP, I've got it working to an extent, heres what I've done :
    pull in the certificate 'skeleton' image as the background image in MS Word, plot the BIP data fields in the name, date & manager locations on the certificate etc. Repeating Group is set for each row, i get a certificate per user - perfect !
    except....
    the background image looks fine in Word when viewing the page at 100% in 'Print Layout' but the resulting PDF has aligned the picture differently so the location of the text fields I plot in Word is not mirrored in the PDF.
    I should add the background image needs to cover 100% of the page.
    Is there an optimum size for an A4 background ? I know paper sizes are not measured in pixels, but does the PDF generation use a pre-set DPI that I can work from ? Anybody else have probs lining up a background image?
    Bit stuck , I thought this would be the easy bit :-)
    Thanks in advance,
    Alastair

    For those that are interested I've achieved my goal,
    I gave up trying to decipher why small changes to Background images & Watermarks where having a large effect on the PDF output, so I've embedded the picture in the Word template and through trial and error lined them up.
    Im still not happy that what I see in Word is not directly what I see in the PDF, I must have created 50+ previews using the left a bit, left a bit, down a bit , left a bit approach :-) But they now line up at least in the PDF output.
    I'd be interested if anybody knows workarounds, the problem seems to be when you use picture wrapping properties of behind text or in front of text. I guess RTF doesn't support all the Word options (ie text boxes etc) so we are left with the trial and error approach.
    Reminds me of the pain of working with Oracle reports trying to line things up :-) I think I'll stay over in OBIEE land

  • Image moves when printed from SAP queue versus Adobe Reader.

    I've got a form with a image embedded into it that serves as a background watermark.
    This document is usually printed from Adobe Reader, however some users have requested the ability to print directly to a SAP printer without using Adobe Reader to print using windows drivers.
    When the form is sent to a SAP printer the image watermark is for some reason moved about 3mm to the right which causes the watermark not to align with the Text Fields that also print on the form.  The text fields do not move, they print in exactly the same spot with either print method.  Only the image seems to be affected.
    Has anyone run into this?  The image is an embeded .png file that is set to Scale Image Poportionally in the sizing options.
    Thanks for any input!

    Thank you for your replies.
    I looked at the notes you suggested and it does seem related to the extra margin added to documents printed to PCL-5.
    If I use LiveCycle to set an image field .5mm from the left edge of the page, and then print it from SAP directly and then from Adobe Reader I see two different things.
    Adobe Reader (with page scaling option turned off) will simply omit anything that falls outside the printable range. 
    SAP  will move the omitted content into the printable area.  This is what is causing my image watermark not to align properly with the text in front of it.  The image field was too close to the left margin and so in the process of printing, SAP has moved it over to fit in the printable area.
    It seems I can fix this issue for my particular requirement by creating a new image field that has the extra white space removed so that I can keep the image field farther away from the left edge of the page.
    Not sure if there is some way to change the way the drivers for device type HPLJ4 are handling these margins, but it will likely just be easier to change the images to move them further from the edge which seems to fix it.
    Edited by: Clay Robinson on Feb 15, 2011 9:59 PM

  • JSF Properties File for Images

    I got a .war file where all my jsps are, including my JSF properties file that include a path(outside my .war file), for example:
    urlWatermark=file:///C:/SA/images/watermark.jpg
    Then in my JSP page:
    <f:loadBundle basename="jsfks.bundle.image" var="msgImage" />
    <c:set var="pageWater" scope="session">               <h:outputText value="#{msgImage.urlWatermark}" />
    </c:set>
    <img src="${pageWater}" />
    but it dont want to display my image, as when i view the source in the browser, it shows:
    <img src="file:///C:/wesbankSA/images/watermark.jpg" />
    how can i change this so that the image will display.
    thanks

    so I have to write 2000 lines of code just to reference images, outside my war
    file, using a JSP props file?No. Re-count the lines of the last given ImageServlet example (you may skip comments) and read the given examples how to use it.
    Isnt there a simpler way of doinig thisYes, copypaste the ImageServlet code, change it where needed (at least the base path, the rest can be kept default), define this servlet in your web.xml, change your <img> or <h:graphicImage> tags to make use of it and run it.

  • Can't get background images to display on page

    I've been trying to add a background image/watermark to a document. Following the instructions in "Help" I put the image where I want it, and select the command "Move objects to section master." Instantly the image becomes invisible. Even with the opacity slider set at 100% the image is just not to be seen. I can still select it move it back to the document, but of course that's not what I'm trying to accomplish.

    And what color is the background of the Table?
    I am guessing not None.
    Peter

  • Do I Need Photoshop to Make a Watermark

    All the posts I've seen about making a watermark for Aperture tell me to create it as a PSD file on Photoshop. Maybe I'm missing something, but I've been using Aperture instead of getting Photoshop. Do I really need to buy Photoshop just to be able to make a watermark that works on Aperture? Is there another simpler way to make a file that will work, like Powerpoint or Word (though I've tried both, with no luck)?
    Thanks.

    re Borderx, you still need to create an image (watermark) in another program like PS
    Not if you choose to use a text watermark. Not my personal choice but it's possible.
    also when using Borderfx Aperture will create another TIFF file so for every picture you want a watermark for you'll end up with a duplicate file
    Not if you use the export plugin (instead of the editor plugin). Both come with the install.
    That said I agree the watermark feature can be weird sometimes. I've created a few logos for certain image sizes I tend to use with watermarks. This helps a bit. Most of the problems arise when AP tries to scale things on its own.

Maybe you are looking for

  • Shipment cost calculation based on HU's allowed packaging weight

    Hi all, I need to calculate a shipment cost based on the Means of Transport's Allowed Packaging Weight (MARA-ERGEW). After condition record determination of cost per ton in each case, the system must multiply this value times the allowed packaging we

  • Export sale

    Hello,             I would like to know: 1. In domestic sale the excise duty will be shown in the net value column or the tax column in the billing doc? 2. In exports sale no excise duty will be charged from the customer? 3. While creating ARE1 doc i

  • Group policy preventing write access to hard drive for Windows Service

    I recently stood up several SharePoint Servers which use various domain user accounts as service accounts. Everything was going fine until the servers were moved from the staging OU to the production OU which has a server hardening GPO applied to it.

  • TEXT print

    Hi I am using Text field for the purpose of printing TERMS & Condition Here when i print the allingment is not coming proper, like in the right hand side the printing is not coming proper. Instead the text is getting wraped up after half the page. li

  • Transitions between A and B roll, iMovie 10/Mac

    Can you add transitions between a video and pictures added to an iMovie project as B roll? I dragged photos from iPhoto into the B roll location above my video, and it works as cut aways. Is it possible to have the transitions as dissolves instead of