If you are rendering a solid color (so the result is either that color or
transparent black) then you can just fill the entire RGB with that color to
turn the premulitplied output into unpremultiplied.
However I am unsure what your precision problem is. You would have to
composite several dozen mos
I thought pixman allowed you to choose between premultiplied and not
premultiplied but I checked and apparently not. I think I'm getting my
libraries mixed up. The problem I have with premultiplied alpha is that you
lose precision when you have to un-premultiply. That's something I need in
my appli
On Wed, 6 Feb 2019 19:25:48 +1030
Indi Kernick wrote:
> The only problem I can find with Cairo is that it uses premultiplied alpha.
Pixman uses premultiplied alpha. Also Wayland uses premultiplied alpha
FWIW. I think you will find it quite common in general.
> That's so annoying! Also, I'm not
The only problem I can find with Cairo is that it uses premultiplied alpha.
That's so annoying! Also, I'm not sure if the Cairo renderer is GPU or CPU
based.
I'm using Qt to render the images. Qt can render surfaces so I can use
pixman to manipulate a surface and then Qt to upload it to the GPU wh
On Wed, 6 Feb 2019 15:00:58 +1030
Indi Kernick wrote:
> Is it possible to render a filled circle onto an image? How about rendering
> the outline of a circle? Could I do this with or without antialiasing? How
> about lines with or without antialiasing?
>
> I might be able to hack something toget
Is it possible to render a filled circle onto an image? How about rendering
the outline of a circle? Could I do this with or without antialiasing? How
about lines with or without antialiasing?
I might be able to hack something together with radial gradients but I'm
hoping there's a better way. I'm