From kde-kimageshop Wed Mar 25 08:29:35 2015 From: Dmitry Kazakov Date: Wed, 25 Mar 2015 08:29:35 +0000 To: kde-kimageshop Subject: Re: Gamma-corrected blending in Qt5 Message-Id: X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=142727218816477 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1779490717735412412==" --===============1779490717735412412== Content-Type: multipart/alternative; boundary=001a113491920b215f051218b306 --001a113491920b215f051218b306 Content-Type: text/plain; charset=UTF-8 Hi, Rafael! I think that handling ICC profiles when loading JPEG, PNG images by QImage is really a must for Qt, if it doesn't handle ICC tag, then the result might look wrong. But the painting code, as Boud already said, is too specialized to go into Qt :) On Wed, Mar 25, 2015 at 5:22 AM, Rafael Navega wrote: > Hello. > I'd appreciate votes and watches on this feature request, to bring this > feature to the Qt low-level pixel processing code: > https://bugreports.qt.io/browse/QTBUG-45209 > > Krita, Photoshop and other professional packages offer some form of > gamma-corrected blending, it makes all sense to have this implemented in > the Qt painting system as well so developers don't have to look for > external solutions. I wonder what's the way that Krita implemented this. > An alternative is to not use the painting functionality in Qt at all, and > resort to OpenGL and Direct3D to perform these corrections. > > PS: The "Developers " page of > the Krita website could add this to the "Resources" section: > http://www.ics.com/designpatterns/book/index.html > It's a full book in HTML format. I've learned a lot from it. > > Regards. > > _______________________________________________ > Krita mailing list > kimageshop@kde.org > https://mail.kde.org/mailman/listinfo/kimageshop > > -- Dmitry Kazakov --001a113491920b215f051218b306 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Rafael!

I think that handling ICC pr= ofiles when loading JPEG, PNG images by QImage is really a must for Qt, if = it doesn't handle ICC tag, then the result might look wrong. But the pa= inting code, as Boud already said, is too specialized to go into Qt :)
<= /div>

On Wed, Mar = 25, 2015 at 5:22 AM, Rafael Navega <rafanavega@hotmail.com> wrote:
Hello.
I'd appreciate votes and watches on thi= s feature request, to bring this feature to the Qt low-level pixel processi= ng code:
https://bugreports.qt.io/browse/QTBUG-45209

Krita, P= hotoshop and other professional packages offer some form of gamma-corrected= blending, it makes all sense to have this implemented in the Qt painting s= ystem as well so developers don't have to look for external solutions. = I wonder what's the way that Krita implemented this.
An alternative = is to not use the painting functionality in Qt at all, and resort to OpenGL= and Direct3D to perform these corrections.

PS: The "Developers" page of the Krita website could add this to the "Resources&qu= ot; section: http://www.ics.com/designpatterns/book/index.html
= It's a full book in HTML format. I've learned a lot from it.
Regards.

_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop




--
Dmitry Kazakov
--001a113491920b215f051218b306-- --===============1779490717735412412== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KS3JpdGEgbWFp bGluZyBsaXN0CmtpbWFnZXNob3BAa2RlLm9yZwpodHRwczovL21haWwua2RlLm9yZy9tYWlsbWFu L2xpc3RpbmZvL2tpbWFnZXNob3AK --===============1779490717735412412==--