psd: conversion speed improvements (kf5)

- Improved performance converting CMYK files by \~10% by replacing divisions with multiplications.
- Improved performance converting LAB files by \~50% by replacing std::pow with fastPow (approximated pow function).
This commit is contained in:
Mirco Miranda
2023-02-03 20:55:49 +00:00
committed by Albert Astals Cid
parent 0b4741f4b7
commit 2997f7ae8d
4 changed files with 53 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 KiB

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 115 KiB