Antialiasing on Paintbrush calculates always with black

Bug #1248933 reported by Martin Naewe on 2013-11-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Medium
Jonathan Pobst

Bug Description

Tested on master branch:

When using a white (ore any other color) paintbrush with size > 1, antialiasing pixels comes up in a mix of the used color and black, resulting in grey pixels.

It looks like a dark wrapper around the line instead of a fading.

Cameron White (cameronwhite91) wrote :

It looks OK to me - what operating system, GTK# version, etc are you using?

Martin Naewe (martin-naewe) wrote :

I checked again. It happends when using a second layer.
Just make a second layer, use a big white brush and draw in that transparent layer.

I have here a VM with Ubuntu 12.04 64bit, just installed Mono from Software Center (2.8.6.3+dfsg-2)

description: updated
Changed in pinta:
importance: Undecided → Medium
milestone: none → 1.6
status: New → Confirmed
Martin Naewe (martin-naewe) wrote :

Possibly, the blur effects are affected as well.

Changed in pinta:
milestone: 1.6 → 1.7
fredrik lundin (flurick) wrote :

This seems to be because transparent layers are set to color 0,0,0,0 (rgba) fading from any color to that will make it go trough grey, because 0,0,0 (rgb) is black. One possible workaround is to fill the transparent layer with a zero alpha white 255,255,255,0 (rgba), note that painting dark colors would then make them "glow" instead.

Maybe cairo can handle all that with the CAIRO_ANTIALIAS_BEST ?
http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-antialias-t

Cameron White (cameronwhite91) wrote :

This seems to have been fixed by https://github.com/PintaProject/Pinta/pull/98

Changed in pinta:
assignee: nobody → Jonathan Pobst (jpobst)
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments