Summary: | Upper cap missing while extracting LumMod percentage value in method getPercentageValue of XSLFColor class , returning more than 100% value in case of ppt if lumMod is 120000 | ||
---|---|---|---|
Product: | POI | Reporter: | Nadish <nadish.singla> |
Component: | XSLF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Nadish
2021-04-30 10:44:51 UTC
POI 3.11 is no longer supported. Please use POI 5.0.0. Which application produces this file? Any chance of fixing it there? Please note that in general we are trying not to cater for all the semi-broken files that are produced by all the tools out there, so we should first look at what the spec states and support mostly that and only put in workarounds for broken files if really necessary/useful. I've changed the Color processing a while ago, but long after 3.11. The RGB colors are now transferred to HSL and back again. In HSL the mod is applied to the current mod, so 120% or mod * 1.2 should be ok. This issue should work now - if not, feel free to reopen the ticket. |