[jira] Updated: (COCOON-2048) ImageOp: overlay a transparent image on another one

2007-04-20 Thread JIRA

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

Jörg Heinicke updated COCOON-2048:
--

Component/s: (was: Blocks: (Undefined))
 Blocks: ImageOp

 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: ImageOp
Affects Versions: 2.2-dev (Current SVN)
Reporter: Alexander Klimetschek
 Attachments: delete.png, 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.



[jira] Updated: (COCOON-2048) ImageOp: overlay a transparent image on another one

2007-04-19 Thread Alexander Klimetschek (JIRA)

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



[jira] Updated: (COCOON-2048) ImageOp: overlay a transparent image on another one

2007-04-19 Thread Alexander Klimetschek (JIRA)

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



[jira] Updated: (COCOON-2048) ImageOp: overlay a transparent image on another one

2007-04-19 Thread Alexander Klimetschek (JIRA)

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

Alexander Klimetschek updated COCOON-2048:
--

Attachment: delete.png

Transparent image to be placed in 
cocoon-imageop-sample/src/main/resources/COB-INF. It is taken from the Tango 
Desktop project, so it seems that it is not compatible with the ASL... Can be 
replaced by another transparent image, but be sure to rename the link in the 
samples.xml file.

 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: delete.png, 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.