cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-2048) ImageOp: overlay a transparent image on another one
Date Thu, 19 Apr 2007 11:59:15 GMT

     [ 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.patch

Patch for the cocoon-imageop-impl block. Needed to refactor the ImageOperation interface to
handle the new case with 2 images as input and the fact that the OverlayOperation needs full
BufferedImages to work, not only Raster/WritableRaster (because of the ColorModel stored in
the BufferedImage and the usage with Graphics2D - doing this with Raster only is too difficult
as one has to make the image types and color models compatible before the compositing operation;
with Graphics2D all this is done for you).

> 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.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.


Mime
View raw message