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