Antialiasing on Paintbrush calculates always with black

Bug #1248933 reported by Martin Naewe
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

Revision history for this message
Cameron White (cameronwhite91) wrote :

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

Revision history for this message
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 (

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

Possibly, the blur effects are affected as well.

Changed in pinta:
milestone: 1.6 → 1.7
Revision history for this message
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 ?

Revision history for this message
Cameron White (cameronwhite91) wrote :

This seems to have been fixed by

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

Other bug subscribers

Bug attachments