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

Reply via email to