You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Eric DE MAULDE (JIRA)" <ji...@apache.org> on 2009/05/30 11:46:07 UTC
[jira] Created: (OFBIZ-2552) Image scaling quality
Image scaling quality
---------------------
Key: OFBIZ-2552
URL: https://issues.apache.org/jira/browse/OFBIZ-2552
Project: OFBiz
Issue Type: Improvement
Components: framework, product
Affects Versions: SVN trunk
Environment: linux Debian, trunk revision 779985
Reporter: Eric DE MAULDE
Priority: Minor
Fix For: SVN trunk
We can improve image scaling quality with an other JAVA algorithm
Comparison of different JAVA image algorithms
http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OFBIZ-2552) Image scaling quality
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-2552.
----------------------------------
Resolution: Fixed
Assignee: Jacques Le Roux
Thanks Eric,
Your patch is in trunk at r811707
> Image scaling quality
> ---------------------
>
> Key: OFBIZ-2552
> URL: https://issues.apache.org/jira/browse/OFBIZ-2552
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, product
> Affects Versions: SVN trunk
> Environment: linux Debian, trunk revision 811440
> Reporter: Eric DE MAULDE
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: OFBIZ-2552_Image_scaling_quality.patch
>
>
> We can improve image scaling quality with an other JAVA algorithm
> Comparison of different JAVA image algorithms
> http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
> the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-2552) Image scaling quality
Posted by "Eric DE MAULDE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric DE MAULDE updated OFBIZ-2552:
----------------------------------
Attachment: OFBIZ-2552_Image_scaling_quality.patch
this patch use the AWT SCALE_SMOOTH algoritm to scale an original image
the code example of the comparison author uses JAI Api (2nd page) :
http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
But OFBiz doesn't implement JAI ?
So I haven't used his example
This patch modifies too info about image scalling at the bottom of Product Content page
> Image scaling quality
> ---------------------
>
> Key: OFBIZ-2552
> URL: https://issues.apache.org/jira/browse/OFBIZ-2552
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, product
> Affects Versions: SVN trunk
> Environment: linux Debian, trunk revision 779985
> Reporter: Eric DE MAULDE
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: OFBIZ-2552_Image_scaling_quality.patch
>
>
> We can improve image scaling quality with an other JAVA algorithm
> Comparison of different JAVA image algorithms
> http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
> the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-2552) Image scaling quality
Posted by "Eric DE MAULDE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric DE MAULDE updated OFBIZ-2552:
----------------------------------
Environment: linux Debian, trunk revision 811440 (was: linux Debian, trunk revision 779985)
> Image scaling quality
> ---------------------
>
> Key: OFBIZ-2552
> URL: https://issues.apache.org/jira/browse/OFBIZ-2552
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, product
> Affects Versions: SVN trunk
> Environment: linux Debian, trunk revision 811440
> Reporter: Eric DE MAULDE
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: OFBIZ-2552_Image_scaling_quality.patch
>
>
> We can improve image scaling quality with an other JAVA algorithm
> Comparison of different JAVA image algorithms
> http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
> the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-2552) Image scaling quality
Posted by "Eric DE MAULDE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric DE MAULDE updated OFBIZ-2552:
----------------------------------
Attachment: scaleImage.patch
this patch use the AWT SCALE_SMOOTH algoritm to scale an original image
the code example of the comparison author uses JAI Api (2nd page).
But OFBiz doesn't implement JAI ?
So I haven't used his example
Now into the file ScaleImage.java
I don't use anymore interpolation code (from the line 165 "Double scaleFactorDb" to the line 193 "return result;}"
if it's better, I can delete the interpolation code into the patch
> Image scaling quality
> ---------------------
>
> Key: OFBIZ-2552
> URL: https://issues.apache.org/jira/browse/OFBIZ-2552
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, product
> Affects Versions: SVN trunk
> Environment: linux Debian, trunk revision 779985
> Reporter: Eric DE MAULDE
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: scaleImage.patch
>
>
> We can improve image scaling quality with an other JAVA algorithm
> Comparison of different JAVA image algorithms
> http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
> the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-2552) Image scaling quality
Posted by "Eric DE MAULDE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751604#action_12751604 ]
Eric DE MAULDE commented on OFBIZ-2552:
---------------------------------------
Jacques,
Sorry my explanations weren't understandable
Into a new patch I go to delete lines about interpolation,
because this class doesn't use any more this code.
> Image scaling quality
> ---------------------
>
> Key: OFBIZ-2552
> URL: https://issues.apache.org/jira/browse/OFBIZ-2552
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, product
> Affects Versions: SVN trunk
> Environment: linux Debian, trunk revision 779985
> Reporter: Eric DE MAULDE
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: scaleImage.patch
>
>
> We can improve image scaling quality with an other JAVA algorithm
> Comparison of different JAVA image algorithms
> http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
> the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-2552) Image scaling quality
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751468#action_12751468 ]
Jacques Le Roux commented on OFBIZ-2552:
----------------------------------------
Eric,
You have still an interrogation ("If it's better"), or do you think it's better ?
> Image scaling quality
> ---------------------
>
> Key: OFBIZ-2552
> URL: https://issues.apache.org/jira/browse/OFBIZ-2552
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, product
> Affects Versions: SVN trunk
> Environment: linux Debian, trunk revision 779985
> Reporter: Eric DE MAULDE
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: scaleImage.patch
>
>
> We can improve image scaling quality with an other JAVA algorithm
> Comparison of different JAVA image algorithms
> http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
> the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-2552) Image scaling quality
Posted by "Eric DE MAULDE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric DE MAULDE updated OFBIZ-2552:
----------------------------------
Attachment: (was: scaleImage.patch)
> Image scaling quality
> ---------------------
>
> Key: OFBIZ-2552
> URL: https://issues.apache.org/jira/browse/OFBIZ-2552
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, product
> Affects Versions: SVN trunk
> Environment: linux Debian, trunk revision 779985
> Reporter: Eric DE MAULDE
> Priority: Minor
> Fix For: SVN trunk
>
>
> We can improve image scaling quality with an other JAVA algorithm
> Comparison of different JAVA image algorithms
> http://www.hanhuy.com/pfn/java-image-thumbnail-comparison
> the algorithm with the best quality is AWT SCALE_SMOOTH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.