incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Innerhofer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CLEREZZA-232) org.apache.clerezza.platform.content.representations imageprocessor: AlternativeRepresentationGenerator/Imageprocessor should crop images if width and height is defined
Date Thu, 23 Sep 2010 15:30:33 GMT

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

Manuel Innerhofer resolved CLEREZZA-232.
----------------------------------------

    Resolution: Fixed

the thumbnail service has now an additional parameter "exact". With "exact=true" the image
will be cropped to fit exactly the specified resolution. It will be cropped equally left and
right (or top and bottom) to preserve the middle of the image.

> org.apache.clerezza.platform.content.representations imageprocessor: AlternativeRepresentationGenerator/Imageprocessor
should crop images if width and height is defined
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-232
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-232
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>            Priority: Critical
>
> the service property resolution is defined as: 
> Specifies the resolutions of alternative representations in the format [width]x[height].
Multiple resolutions are separated by comma (e.g. 100x100,30x30) (resolutions)
> What the service does right now is; the images are proportionally resized to a thumbnail
> It is necessary for image galleries that images have an exact size (e.g. 120x90) therefore
the images have to be cropped to generate a thumbnail.
> i suggest the following changes:
> format  [width]x[height], if  [width] or [height] is "0" than the images will be resized
proportionally otherwise cropped to the defined size (e.g. 300x0 := proportionally resized,
120x90 := resized and cropped image to size 120x90)

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