Article View: adobe.photoshop.scripting
Article #1872Re: Script to detect Digimarc watermark?
From: PaulMartin pmcrannog
Date: Tue, 20 Jul 2004 10:59
Date: Tue, 20 Jul 2004 10:59
13 lines
1473 bytes
1473 bytes
Okay, From the sounds of it there could be 2 possible solutions. 1) If the watermark is always on a particular layer then the script could just see if this layer existed 2)The script knows what the watermark looks like, so it looks through all the pixels of the image, one by one, to see if the watermark exists. It should be able to find it easily if looking on HSB scale, as only one of them would be changing. Basically the script would look to see if the pattern of the watermark existed and test it to ensure it is the same size. If it is then the match has been found. The problem with (2) is that looking at pixel details via scripts is very slow. So if this was the only option, it would be best to create a standalone application. Paul pmcrannog@hotmail.com <mailto:pmcrannog@hotmail.com>
Technical Details
Message-ID:
<3bb4dfa0.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb4dfa0.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,8cfa248bde429f06 X-Google-Attributes: gidf5839,public X-Google-Language: ENGLISH,ASCII-7-bit From: Paul_Martin_(pmcrannog)@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.photoshop.scripting Subject: Re: Script to detect Digimarc watermark? Message-ID: <3bb4dfa0.2@webx.la2eafNXanI> Date: Tue, 20 Jul 2004 03:59:59 -0700 References: <3bb4dfa0.-1@webx.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit