Digital Watermarking

hi,
Searching for help in Digital Watermarking. I hardly find java source code from the web. Hope can get some help here.
if anyone have java source code of digital watermarking, please send me a copy at: [email protected]
thanks a lot
Siang

I do not know of any java digital watermarking. There is alot of it being done in C. You would just have to write JNI to get this working. I would also be interested in finding out if there is java digital watermarking being done.
Another solution would be to port the C code to java. I am sure that the JAI libs would help.

Similar Messages

  • Anyone know how to do invisible digital watermarking?

    Does anyone know or have code to do invisible digital watermarking on TIFF, BMP or GIF images?
    Thank you!!

    Hello!
    i just begin to conduct a research on digital watermarking technology.
    i found some algorithm on the web but i meet difficulties in understanding part on the algorithm, i hope i can get some helps from here.
    can you provide me some sample java watermarking code so that i can understand how watermarking works.
    thank you!

  • Downloading e-pub with digital watermarking protection

    Hi all; I always bought e-books for my Nook and successfully downoaded them. The format was e-pub with DRM protection. Downoadings are addressed to 'bought books' directory in Adobe Digital Editions and then they're readable on 'my documents' in my Nook. The last one I bought, was an e-book e-pub with digital watermarking protection. I don't know if different protection is the cause, but this time the downloading is automatically addressed to 'reading now' in ADE. This time the e-book is not in the list of 'bought books' (in ADE). When I disconnect Nook, the book is in 'my documents' list (of Nook), but when I try to open it, I only see the cover for a couple of seconds, and the page is reverted again to 'my documents'.
    How to do? I can open it in ADE on my PC, but not on Nook. I'll appreciate any help!

    I moved your posting from the Workspaces forum to the Digital Editions forum.

  • Free invisible digital watermark?

    Does Lightroom or Photoshop has some form of invisible watermarking tools? I am looking for a free digital watermark app that doesn't involve visible text or images being placed on the image. I used to use Digimarc when it is free (years ago), but now there are subscription prices, although there is a free plug-in download for Photoshop.
    I only want to use it on 2 photos that I am emailing to someone. Does anyone know whether Lightroom can do it? Or know of any such apps?
    Thanks!

    If such a plug-in exists for Lr the developer is keeping very quiet about it.
    This is a link to a earlier thread asking the same question http://forums.adobe.com/message/1396376;jsessionid=FD45A6F5A4EC61B35FC14DFBA586C07B.node0 As you can see there wasn't much help back then either.

  • Custom Digital Watermark

    Is there a way to add a custom digital watermark to a labview front panel?  Thanks.

    There is a way, but it won't be easy...
    You can put a picture control (or a decoration) as top most object. Now,
    there is your watermark! Problem is that this watermark will block all mouse
    clicks, so everything behind it will be useless.
    You'll have to catch mouse clicks on the picture control, and make the
    controls behind it behave like they would if you'd clicked them directly.
    This will be very difficult, unless you only have one or two boolean buttons
    beneath it. For a numeric, you have to give it key focus when click in it,
    but also calculate the text position of the cursor, increment and decrement
    if that is where the user clicked, and don't forget about dragging the mouse
    to select text!
    Then you have the transparency problem... You can apply a mask to an image
    in the picture control, but it is either on or off. So you have to make it
    look transparent, by alpha blending everything behind the VI with the
    picture... A hole new set of problems...
    You might try to use GDI functions to draw a picture above the VI. In
    general, this works poorly, since the objects disappear when LV updates it's
    panel. But in this case, it could work. but if it doesn't, you're lost.
    I'm not shy about hacking stuff like this, but in this case, I'll pass.
    Perhaps if you explain more about your mmi, we could figure out another
    clever scheme. For instance, a watermark over a graph area is a lot
    easier...
    Regards,
    Wiebe.

  • Digital Watermarking on image 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.

    Also posted and crossposted:
    http://forums.sun.com/thread.jspa?threadID=5433169&messageID=10958328#10958328
    http://forums.sun.com/thread.jspa?threadID=5433180&messageID=10958329#10958329
    http://forums.sun.com/thread.jspa?threadID=5433412&messageID=10959648#10959648
    http://forums.sun.com/thread.jspa?threadID=5433693&messageID=10961065#10961065
    http://forums.sun.com/thread.jspa?threadID=5433694&messageID=10961066#10961066

  • Digital watermarking gif images

    I ve writed a program which watermarks png and non-animated gif images .But there is a problem because we started to use animated gif images. How can we watermark animated gif images without corrupting animation of the image?
    Regards
    Murat

    I haven't done much with gif animation, but here's an example that extracts the series of BufferedImages
    from a gif file. Good luck!
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import java.net.URL;
    import java.util.*;
    import javax.imageio.*;
    import javax.imageio.metadata.*;
    import javax.imageio.stream.*;
    import javax.swing.*;
    import org.w3c.dom.*;
    public class ViewGif extends JPanel {
        private BufferedImage[] images;
        private Point[] offsets;
        private BufferedImage composite;
        public static void main(String[] args) throws IOException {
            JPanel app = new ViewGif();
            app.setBackground(Color.RED);
            JFrame frame = new JFrame("ViewGif");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.getContentPane().add(new JScrollPane(app));
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        public ViewGif() throws IOException {
            URL url = new URL("http://members.aol.com/royalef/sunglass.gif");
            Iterator readers = ImageIO.getImageReadersBySuffix("gif");
            if (!readers.hasNext())
                throw new IOException("no gif readers");
            ImageReader reader = (ImageReader) readers.next();
            if (readers.hasNext())
                System.out.println("(there were oither readers)");
            ImageInputStream iis = ImageIO.createImageInputStream(url.openStream());
            reader.setInput(iis);
            final int numImages = reader.getNumImages(true);
            images = new BufferedImage[numImages];
            offsets = new Point[numImages];
            for(int i=0; i<numImages; ++i) {
                images[i] =  reader.read(i);
                offsets[i] = getPixelOffsets(reader, i);
            composite = new BufferedImage(images[0].getWidth(), images[0].getHeight(),
                BufferedImage.TYPE_INT_ARGB);
            final Graphics2D g2 = composite.createGraphics();
            g2.drawImage(images[0], offsets[0].x, offsets[0].y, null);
            new javax.swing.Timer(100, new ActionListener(){
                int j = 1;
                public void actionPerformed(ActionEvent evt) {
                    g2.drawImage(images[j], offsets[j].x, offsets[j].y, null);
                    j = (j+1) % numImages;
                    repaint();
            }).start();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Insets insets = getInsets();
            g.drawImage(composite, insets.left, insets.top, null);
        public Dimension getPreferredSize() {
            Insets insets = getInsets();
            int w = insets.left + insets.right + composite.getWidth();
            int h = insets.top + insets.bottom + composite.getHeight();
            return new Dimension(w,h);
        static Point getPixelOffsets(ImageReader reader, int num) throws IOException {
            IIOMetadata meta = reader.getImageMetadata(num);
            Point point = new Point(-1,-1);
            Node root = meta.getAsTree("javax_imageio_1.0");
            for (Node c = root.getFirstChild(); c != null; c = c.getNextSibling()) {
                String name = c.getNodeName();
                if ("Dimension".equals(name)) {
                    for (c = c.getFirstChild(); c != null; c = c.getNextSibling()) {
                        name = c.getNodeName();
                        if ("HorizontalPixelOffset".equals(name))
                            point.x = getValueAttribute(c);
                        else if ("VerticalPixelOffset".equals(name))
                            point.y = getValueAttribute(c);
                    return point;
            return point;
        static int getValueAttribute(Node node) {
            try {
                return Integer.parseInt(node.getAttributes().getNamedItem("value").getNodeValue());
            } catch (NumberFormatException e) {
                return -2;

  • Multiple logos or watermarks on a photo

    I am trying to figure out how to put multiple logos and or watermarks on multiple photos as a batch in CS6 or LR5.  I'm pretty sure that LR5 can only do one png at a time.  But I am doing shots of local bands and would like to be able to put their logo in one corner and mine in the other. I just don't know how to make it happen on both landscape and portrait style photos.  Any help would be nice.
    Thank you in advance.
    Jared

    Hello Jared,
    the problem "watermarks" was discussed very often in the Dreamweaver forum (see Dreamweaver support forum).
    In addition to Steve's hint, here is the LR forum: Photoshop Lightroom. The LR-"cookbook" finds there Lightroom Help | Using the Watermark Editor
    Should we really do that? Thereover there is a wonderful philosophical discussion:
    http://webhome.idirect.com/~bowers/copy/copy1.htm.
    If you really want to try it, I'll give you here the link to a German website (no problem to adapt the source code) where you can create an alert box:
    http://www.6webmaster.com/homepagetools/klicksperre/do.php
    And by the way there is the misconception that we can protect our graphics (or videos). With little effort interested people can get to their destination. Under some circumstances it simply is a question of browsers technique.
    You will see, that in the end it is still difficult to protect images from unauthorized copying. So you should use best (quote): "To discourage theft, use watermarks, lower quality images and/or digital watermarking like http://www.digimarc.com/digimarc-for-images."
    Hans-Günter

  • Digital image protection

    What are other togs doing to protect their images online?
    Obviously the baby stuff like adding a watermark layer in photoshop is useless and so is the "disabling right click in html" trick. I was wondering more about digital watermark solutions like digimarc provide
    Would love to hear everyone else's views
    (and apple, seriously you gonna fix the EXIF export bug in 1.1 or what?)

    You can spend a huge amount of time and money adding speed-bumps but there really isn't a way to get around the fact that anyone who can see something can copy it (anyone who claims otherwise is at best uninformed). Just think about how much effort the music industry has gone to, how many thousands of lawsuits and the enormous ill-will they've generated simply to get us to the point where original-quality bootlegs are reported to be in circulation within a few minutes of hitting one of the commercial stores.
    So - we're basically left with two options: figuring out how to make money without controlled distribution (probably by making it easy for honest people to stay that way by giving them faster and cheaper options) or simply not circulating anything valuable in digital format. It's going to be interesting to see how people combine the two approaches.

  • 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/]

  • Java watermarking write slow

    I am writing a Java Application to provide a digitally watermarked on-the-fly solution for a high voulme product......here are a few details of my logs after deployment(all times are in milliseconds) and each set conforms to a completed request,
    Set 1.
    INFO - ImageSource.setImage(51) | Time taken:121
    INFO - WatermarkEngine.doWatermarking(48) | Time taken:29
    INFO - ImageSource.writeStream(62) | Time taken write:775
    INFO - CarsalesAction.carsales(52) | Time taken:949
    Set 2.
    INFO - ImageSource.setImage(51) | Time taken:113
    INFO - WatermarkEngine.doWatermarking(48) | Time taken:15
    INFO - ImageSource.writeStream(62) | Time taken write:964
    INFO - CarsalesAction.carsales(52) | Time taken:1118
    Set 3.
    INFO - ImageSource.setImage(51) | Time taken:133
    INFO - WatermarkEngine.doWatermarking(48) | Time taken:15
    INFO - ImageSource.writeStream(62) | Time taken write:800
    INFO - CarsalesAction.carsales(52) | Time taken:972
    As is obvious the bottleneck to performace is the Image write to the servletouputstream which is handled by the ImageIO class from the 2D library. For testing, I started writing files by reading them as streams from the file-system and found that the write performance increases manifold by using code similar to,
    InputStream inFile = new FileInputStream(context.getFile().getAbsolutePath());
    InputStream in = new BufferedInputStream(inFile);
    while (true) {
    int data = in.read();
    if (data == -1) {
    break;
    os.write(data);
    Clearly when the input stream is buffered while reading from disk, the performance is good. However I am dealing with a BufferedImage(an in-memory object) and a standard library ImageIO for write.....any tips on how this can be optimised would be most welcome?
    Thanks

    are all your io-operations buffered?That is the question essentially.....
    ImageIO.write(context.getRequestedImage(),"jpeg",os);where os is a BufferedOutputStream......is this the best way of handling the situation....if it is I find it hard to understnad why a write on an in-memory object should be slower than a write from the file-system as I mentioned in the original post??.

  • Digimarc and workflow.

    Hello,
    I have a question about Digimarc and worflow.
    As I am beginning to post my work online in a recently created gallery I have chosen to place Digimarc digital watermarks on my images to add another layer of protection. I have some questions about workflow.
    Most of my work is being done in Lightroom 5. Some of the images are edited in Photoshop CS 6 for other effects not available in Lightroom. Here is where I have a question:
    After I do all the work I need to do in Lightroom (even when images are edited in Photoshop they are returned to Lightroom) I export the images as JPEG. I then have to open them in Photoshop CS 6 to embed the Digimarc digital watermark. In doing so I am forced to save the image again. In other words the image was compressed when I saved it as a JPEG the first time and is compressed yet again when I save it as a JPEG after I apply my Digimarc watermark. Can anyone think of a way to avoid this ? Is there a Digimarc plug-in for Lightroom that would allow me to avoid this last step ?
    Any ideas or suggestions ?
    Thank you in advance.

    Hi David,
    Workflow Task (Organizational object type WF) is Client dependant and the Workflow Template(Organizational object type WS) is Client independant.
    Whereas the customer task(Organizational object type T ) is Client dependant and
    Standard task (Organizational object type TS ) is Client independant.
    Note : Workflow Task and customer task are Obsolete
    Thank you
    Srinivas

  • Masking or Protecting an Image

    Hello,
    I am seeking instruction/s on how to mask or protect a photo
    (jpg) of original artwork that I want to post on a web site created
    with Dreamweaver. While the purpose of the web site is for the
    public to be able to view these images, I want to prevent the
    viewer/visitor from any opportunity for printing, copying, or
    saving them.
    I will appreciate any/all assistance, direct instruction, or
    referrals to appropriate instructions/guides/manuals. Direct
    communication may also be emailed to [email protected]
    Thank you.
    Be Well,
    Dan

    On Sat, 14 Jul 2007 18:57:45 +0000 (UTC), "danersen"
    <[email protected]> wrote:
    >Hello,
    >
    > I am seeking instruction/s on how to mask or protect a
    photo (jpg) of original
    >artwork that I want to post on a web site created with
    Dreamweaver. While the
    >purpose of the web site is for the public to be able to
    view these images, I
    >want to prevent the viewer/visitor from any opportunity
    for printing, copying,
    >or saving them.
    >
    > I will appreciate any/all assistance, direct
    instruction, or referrals to
    >appropriate instructions/guides/manuals. Direct
    communication may also be
    >emailed to [email protected]
    >
    > Thank you.
    >
    > Be Well,
    >
    > Dan
    It's physically impossible. There are scripts that prevent
    right-click, but in addition to being extremely annoying they
    are
    totally useless.
    If the image is visible on the page, it's already been
    downloaded to
    the visitor's computer. Plus they can always do a Print
    Screen.
    If you are concerned about protecting the copyright of your
    images,
    put a digital watermark in the image file.
    Win
    Win Day, Wild Rose Websites
    http://www.wildrosewebsites.com
    [email protected]
    Skype winifredday

  • Steganography implemented in Java with QIM Dither Modulation

    Hello wondering if anybody can advise me on how to get started with this ?
    I am starting a project where using Steganography as digital watermarking tool to insert text into an image.
    I am using the quantization index modulation method with the colt maths package to implement the equations required. Any help would be much appreciated.
    Thanks

    G'day
    I'm the author of the aforementioned steganography tool, the Digital Invisible Ink Toolkit. None of the techniques in the tool use QIM Dither Modulation, but they filter the image using edge detecting filters and use those filtered areas first - making it much much harder to tell where it is hidden.
    If you're planning on writing an algorithm for steganography, and are happy to use the StegoAlgorithm interface in the tool, I'd love to include it with the program. My contact details are on the website, http://diit.sourceforge.net

  • Steganography implemented in Java with QIM Dither

    Hello wondering if anybody can advise me on how to get started with this ?
    I am starting a project where using Steganography as digital watermarking tool to insert text into an image.
    I am using the quantization index modulation method with the colt maths package to implement the equations required. Any help would be much appreciated.
    Thanks
    Tom

    Hello wondering if anybody can advise me on how to
    get started with this ?
    I am starting a project where using Steganography as
    digital watermarking tool to insert text into an
    image.
    I am using the quantization index modulation method
    with the colt maths package to implement the
    equations required. Any help would be much
    appreciated.
    Thanks
    TomAlthough not quite understanding what you ask, does it really have to do with 3D? Isn't that rather closer to 2D imaging, or "algorithms" for the calc... part? -> You might get bether (more?) answer there?

Maybe you are looking for