Antialiasing on Paintbrush calculates always with black

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

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 (2.8.6.3+dfsg-2)

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 ?
http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-antialias-t

Revision history for this message
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
grofaty (grofaty)
Changed in pinta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.