Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

When I create a grid in Gimp (a 32x32px grid with 0x0px offset), the distance between the top edge of the image, and the first grid line, is 31 pixels, almost like the grid starts one pixel above the canvas. The same goes for the left edge.

However, after enabling Snap to Grid, pasted images (with sizes that are multiples of 32x32px) snap to the "correct" grid positions, as if the grid started at the first pixel of the canvas. The drawn grid and the snapping grid do not align. Also, the snapping is dependent on the zoom factor (and maybe on the size of the image being snapped, I'm not sure).

Is this correct behavior? Is this changeable?

I'm using Gimp 2.6.11 on Windows (both 7 and XP).

Image how it looks:

share|improve this question
    
I can reproduce this in GIMP 2.6.8 on Ubuntu Linux. Also, it seems that the snapping fluctuates as I drag the selection around -- sometimes it snaps to the actual grid lines, but usually one pixel down and right of them. Seems like a bug to me. You might want to report it. –  Ilmari Karonen Mar 14 '12 at 18:35
1  
Obligatory... –  muntoo Apr 15 '12 at 1:33
add comment

2 Answers 2

Gimp starts to count the pixel from 0, not 1, so 32px are from 0 to 31, 32 to 63, etc...Coordinate Example

About the grid snap, it works well for me so i'm not able to reproduce it, I have the same version on Windows 7 x64.

share|improve this answer
add comment

I had this issue. Removing/renaming the .gimp-2.8 folder in my home directory fixed it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.