API problems with krita
Casper Boemann
cbr at boemann.dk
Wed Jan 24 15:44:23 CET 2007
Hi
can you give an example of symetrical component operation
There is a reason why we don't provide access to components - you don't know
what the components mean - restricting access helps enforce colorspace
independence
this said im very much interested in hearing your use case
best regards
casper boemann
----- Original Message -----
From: "Schleimer, Ben" <bensch128 at yahoo.com>
To: <kimageshop at kde.org>
Sent: Wednesday, January 24, 2007 3:35 PM
Subject: API problems with krita
> Hi,
> I am in the process of building a plugin for krita
> and I want to share a annoyance/ difficulity i found:
> ----------------
> KisColorSpace doesn't have any method for
> symmetrically extracting out and putting in a
> component of a pixel. So all symmetrical component
> operations have to be done with with:
> a) KisPaintDevice::convertToQImage/convertFromQImage
> - which ignores higher precision for 16bit images
> b) KisColorSpace::fromQColor/toQColor - same problem
> as above and difficult to use.
>
> Ideally, KisColorSpace and KisIteratorPixelTrait could
> be used together to set/get pixels from KisPaintDevice
>
> Should I file this as a bug?
>
>
> Cheers,
> Ben
>
> "He who writes the code gets to choose his license, and nobody else gets
> to complain" - Linus Torvalds
> IMHO, it should read - "He who writes the code gets to choose his license,
> and everybody else complains."
>
>
>
>
> _______________________________________________
> kimageshop mailing list
> kimageshop at kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
More information about the kimageshop
mailing list