You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2010/09/29 19:01:33 UTC

[jira] Closed: (CLEREZZA-232) org.apache.clerezza.platform.content.representations imageprocessor: AlternativeRepresentationGenerator/Imageprocessor should crop images if width and height is defined

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

Reto Bachmann-Gmür closed CLEREZZA-232.
---------------------------------------


thanks!

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