Matt,

On 28/09/05, Matt Benson <[EMAIL PROTECTED]> wrote:
> Jakob--the "don't know how to handle it" indicates a
> problem with your mapper.

ah, that's good to know!  I was wondering who was responsible for this message.

> Try changing your mapper to
>
> <mapper type="identity" />

Yes!!! it does work.  great.  thanks ever so much.

> If that doesn't work, try
>
> <mapper type="glob" from="*.png"
>         to="${out.dir}/*.png" />
>
> HTH,

oh, yes, you helped! :-)

> Matt

just for archival purposes, this is the build file I'm using now
(slightly shorted).  also: note that I have to specify options like
"-dissolve 40%" as two arguments.  otherwise the composite command
complained about an unknown option ...

<project default="watermark" name="watermark-files" basedir=".">
  <property name="in.dir" value="./in"/>
  <property name="out.dir" value="./out"/>
  <property name="wm.image" value="watermark.png"/>
  <target name="watermark" description="watermark all files">
    <apply executable="composite.exe" dest="${out.dir}">
      <arg value="-dissolve"/>
      <arg value="40%"/>
      <arg value="-tile"/>
      <arg value="${wm.image}"/>
      <srcfile/>
      <targetfile/>
      <fileset dir="${in.dir}" includes="*.png"/>
      <mapper type="identity"/>
    </apply>
  </target>
</project>

Thanks everybody for your useful input. I am very grateful.

--
cheers,
Jakob.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to