You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tsuyoshi Ito (JIRA)" <ji...@apache.org> on 2010/06/10 09:28:13 UTC
[jira] Created: (CLEREZZA-232)
org.apache.clerezza.platform.content.representations imageprocessor:
AlternativeRepresentationGenerator/Imageprocessor should crop images if
width and height is defined
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.
[jira] Resolved: (CLEREZZA-232)
org.apache.clerezza.platform.content.representations imageprocessor:
AlternativeRepresentationGenerator/Imageprocessor should crop images if
width and height is defined
Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (CLEREZZA-232)
org.apache.clerezza.platform.content.representations imageprocessor:
AlternativeRepresentationGenerator/Imageprocessor should crop images if
width and height is defined
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (CLEREZZA-232)
org.apache.clerezza.platform.content.representations imageprocessor:
AlternativeRepresentationGenerator/Imageprocessor should crop images if
width and height is defined
Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manuel Innerhofer resolved CLEREZZA-232.
----------------------------------------
Resolution: Fixed
I added the javadoc. I also read your previous comment, but I don't see how it concerns this issue. As far as I understand you propose another functionality than described by the issue.
I think I am the wrong person to discuss your proposal, because I am not the one using the thumbnail service and I am not familiar with these kind of resizing and cropping strategies within browsers.
> 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.
[jira] Commented: (CLEREZZA-232)
org.apache.clerezza.platform.content.representations imageprocessor:
AlternativeRepresentationGenerator/Imageprocessor should crop images if
width and height is defined
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878539#action_12878539 ]
Reto Bachmann-Gmür commented on CLEREZZA-232:
---------------------------------------------
The current resizing makes the image fir into the specified boundaries. I think this is a useful feature, as depending on the image adding space in one dimension is better than cropping.
I've already been discussing that the service to retrieve a thumbnail must be changed to deliver the smallest representation that doesn't have to be scaled up (i.e. not scaled or scaled down) in a browser in order to be of the right size.
For AlternativeRepresentationGenerator I think that the current "fit-into-box" feature shall still be available, i.e. that proportional resizing shall not just happen when only one dimension is specified.
So I suggest we have an extended syntax for the format specification to allow to specified if, and on which sides images shall be cropped. An idea would be to use + and - signs before specifying a size to indicate crop left/right or top/bottom respectively.
> 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.
[jira] Assigned: (CLEREZZA-232)
org.apache.clerezza.platform.content.representations imageprocessor:
AlternativeRepresentationGenerator/Imageprocessor should crop images if
width and height is defined
Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manuel Innerhofer reassigned CLEREZZA-232:
------------------------------------------
Assignee: Manuel Innerhofer
> 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.
[jira] Reopened: (CLEREZZA-232)
org.apache.clerezza.platform.content.representations imageprocessor:
AlternativeRepresentationGenerator/Imageprocessor should crop images if
width and height is defined
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür reopened CLEREZZA-232:
-----------------------------------------
Please complete the javadoc for the public methods, some arguments are not specified.
Did you look at my previous comment? When displaying a thumbnail on a webpage it is usally better to have a bigger one (scaled down in the browser) than a smaller one.
> 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.