[ 
https://issues.apache.org/jira/browse/COCOON-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Klimetschek updated COCOON-2048:
------------------------------------------

    Attachment: imageop-overlay-operation-sample.patch

Adding a sample for the OverlayOperation. Needs the binary file delete.png (not 
part of the patch, will add it separately) which contains transparency to show 
the typical usage of the overlay operation.

> ImageOp: overlay a transparent image on another one
> ---------------------------------------------------
>
>                 Key: COCOON-2048
>                 URL: https://issues.apache.org/jira/browse/COCOON-2048
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: Blocks: (Undefined)
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Alexander Klimetschek
>         Attachments: imageop-overlay-operation-sample.patch, 
> imageop-overlay-operation.patch
>
>
> New OverlayOperation that puts another image on top of the image used by the 
> ImageOpReader. Useful to overcome problems with browsers like IE that cannot 
> put a transparent <img> on top of a background image.
> Example usage:
>      <map:read type="image-op-overlay" src="background-image.jpg" >
>           <map:parameter name="overlay-offset-x" value="10" />
>           <map:parameter name="overlay-offset-y" value="20" />
>           <map:parameter name="overlay-source" value="overlay-image.png"/>
>      </map:read>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to