You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Nikolas List (JIRA)" <ji...@apache.org> on 2009/08/26 12:11:59 UTC
[jira] Created: (COCOON-2266) Result of
RotateOperation/MirrorOperation is a black image
Result of RotateOperation/MirrorOperation is a black image
----------------------------------------------------------
Key: COCOON-2266
URL: https://issues.apache.org/jira/browse/COCOON-2266
Project: Cocoon
Issue Type: Bug
Components: Blocks: ImageOp
Affects Versions: 2.2, 2.2-dev (Current SVN)
Reporter: Nikolas List
Priority: Trivial
As already mentioned in the cocoon-imageop-samples the RotateOperation and MirrorOperation don't work satisfactorily.
The reason is that the resulting pixel have negative coordinates and are therefore not drawn.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COCOON-2266) Result of
RotateOperation/MirrorOperation is a black image
Posted by "Nikolas List (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COCOON-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikolas List updated COCOON-2266:
---------------------------------
Attachment: imageop.patch
The following patch (partially) solves the two problems.
Two drawbacks for the solution of RotateOperation:
1) Will enlarge image for all angles not in 0, 90, 180, 270 (should probably be controlled by allow-enlarge param ?)
2) Background is always black
> Result of RotateOperation/MirrorOperation is a black image
> ----------------------------------------------------------
>
> Key: COCOON-2266
> URL: https://issues.apache.org/jira/browse/COCOON-2266
> Project: Cocoon
> Issue Type: Bug
> Components: Blocks: ImageOp
> Affects Versions: 2.2, 2.2-dev (Current SVN)
> Reporter: Nikolas List
> Priority: Trivial
> Attachments: imageop.patch
>
>
> As already mentioned in the cocoon-imageop-samples the RotateOperation and MirrorOperation don't work satisfactorily.
> The reason is that the resulting pixel have negative coordinates and are therefore not drawn.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.