DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36326>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36326

           Summary: [PATCH] ImageReader handle dimensions as percentage and
                    JPEG quality addition
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: [EMAIL PROTECTED]
OtherBugsDependingO 35576
             nThis:


This patch entends the width and height parameters to be handled as a
percentage, on top of the existing static values.
(e.g. ImageReader can be passed <map:parameter name="width" value="25%"/>, and
an image of width 200px will be translated into an image of width 50px.)

Also, quality parameter can be passed to change output quality and accepts
floats from 0.0 to 1.0, as per the JPEGEncodeParam's API.
(e.g. <map:parameter name="quality" value="0.5"/> would return a jpeg of medium
quality.)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to