After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163602 - Paint tools/Brush editor: create square brushes with an even number of pixels
Paint tools/Brush editor: create square brushes with an even number of pixels
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Tools
2.2.x
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 678256 778344 (view as bug list)
Depends on:
Blocks: 157506
 
 
Reported: 2005-01-10 20:32 UTC by tobias
Modified: 2018-05-24 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tobias 2005-01-10 20:32:33 UTC
If I make a brush with a radius of 1 Gimp generates a 3x3 brush, but I would
expect a 2x2 brush.
Comment 1 weskaggs 2005-01-17 22:20:51 UTC
The brush editor is designed to create brushes centered on a pixel, which always
yields an odd size.  It is reasonable to want more flexibility, but the lack of
it isn't a bug, it's just a design feature of the brush editor -- so I am going
to reclassify this as an enhancement request.
Comment 2 tobias 2005-01-17 22:38:23 UTC
If I make a brush with a radius of one and I'll get a brush with a diameter of
three pixel there is something wrong. So I would call it a bug and not a design
feature.
Comment 3 weskaggs 2005-01-18 00:28:14 UTC
There is only one possible symmetrical 2x2 brush:

XX
XX

The radius of this brush (computed from its area) is actually about 1.13
pixels.  Also, with 2x2 brushes, there is no possibility of a continuous
gradation -- the only possibility is to leap directly from 1x1 to 2x2.

By using a 3x3 brush, it becomes possible to set it up as

 X
X@X
 X

and by adjusting the values of the 'X' pixels appropriately, it is possible to
make the total brightness equal to that of a precise 1-pixel-radius circle, and
to adjust the "radius" smoothly and continuously across the whole range.  So
it's a tradeoff.  It spreads out a little further than you would like, but there
are other advantages to compensate.

If you really need a 2x2 brush, you should just create it as a 2x2 image and
save it as a .gbr file -- then you will have it without having to play with the
brush editor.
Comment 4 tobias 2005-01-18 20:53:02 UTC
I think you are right for the round brushes, but Gimp has square brushes too.
And with the background of the information, that a brush always is centered
around a pixel I have now seen, that it is not possible to make a square with an
  even number of pixels.

# (radius 0.1..0.6)

##
## (missing)

###
###
### (radius 0.7..1.6)

####
####
####
#### (missing)

... 


P.S. I have a 2x2 gbr-brush but I try to replace all my gbr-brushes. (See bug
#157506)
Comment 5 Max Mustermann 2012-10-20 10:24:55 UTC
*** Bug 678256 has been marked as a duplicate of this bug. ***
Comment 6 Michael Natterer 2017-02-09 11:54:18 UTC
*** Bug 778344 has been marked as a duplicate of this bug. ***
Comment 7 GNOME Infrastructure Team 2018-05-24 11:22:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/117.