cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36326] New: - [PATCH] ImageReader handle dimensions as percentage and JPEG quality addition
Date Tue, 23 Aug 2005 16:53:19 GMT
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: eric@plauditdesign.com
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.

Mime
View raw message