GNOME Bugzilla – Bug 325323
Gimp Brush error when zoomed in
Last modified: 2008-01-15 13:03:47 UTC
Please describe the problem: I have created a simple GIMP brush ( .gbr) When I paint with this brush, using the pencil tool, at Zoom 100% it works correctly. But, when I paint with it, using the pencil tool, at Zoom levels greater than 100% such as 200% or 400% I get odd colors at the edge of the brush. Steps to reproduce: For an example picture of the error and the brush download http://members.aol.com/strava/Gimp_Brush_Error.zip 1. Paint with the brush at zoom 400% 2. 3. Actual results: The brush image is not produced correctly. The color of some of the pixels at the edge of the brush do not match what is in the actual brush image. Expected results: I would expect an exact copy of the brush image to be painted at any zoom level. Does this happen every time? No. If you paint with the brush at different Y positions it occasionally works correctly. For example it may work correctly at Y position 100 but get the odd colors at Y position 101,102,103,104 etc etc. Other information:
My intent is to use this brush as a "stamp" But if you use it as a brush and click and drag the error also shows up at 100% zoom. [img]http://members.aol.com/strava/GIMP_Brush_Error2.gif[/img]
Ooops, the img syntax did not work. Here is a direct link: http://members.aol.com/strava/GIMP_Brush_Error2.gif Note that there is no green and no white in the actual brush image.
Created attachment 56612 [details] the brush
Created attachment 56613 [details] example of the error
The best way to provide files in bugzilla is to attach them. I can't reproduce this problem with GIMP 2.2.9. Could you upgrade and try again?
Created attachment 56931 [details] Brush ATest3 A 32x32 pixel brush with a different color in each quadrant.
Created attachment 56933 [details] An example of the brush error 4 clicks with brush ATest3 with the cursor in a slightly differnt posistion for each click.
I have installed GIMP 2.2.10 and I still have the problem. Some testing has shown that a brush with dimensions that are an odd number of pixels such as 31x31 works OK. Only brushes that are an even number of pixels such as 32x32 have the problem. I have attached a brush and pic that shows the problem a bit differently. At Zoom=400 or greater I can get the cursor to hover over any of the 4 central pixels without moving the brush outline. Depending on which of these pixels the cursor is over when I click I get a different effect. With pixels wrapping around from the opposite side of the brush. The pic shows 4 copies of the brush. Each made with a single click. I have added a black pixel to show where the cursor was when I clicked.
Comment #8 shows that this is a duplicate of bug #166622. *** This bug has been marked as a duplicate of 166622 ***