Search This Blog

To adblock users

Hello! If you see this, you are most likely using an ad blocker. (Or maybe you have JavaScript disabled. Or maybe my web server is down.) I have no problem with ad blockers; in fact I use one myself. If a site tries to deny me access unless I disable it, I just find a way to circumvent that. But if a site politely asks me to do so, but still allows access to the site, I disable it for the site. I am asking you to please do the same for this site. I can't make you, but I would appreciate it. Thank you! :-)

Thursday, May 13, 2010

Secret registry settings in Paint: Snap to grid

Did you know that Paint has a secret feature that lets you snap to an invisible grid? This has nothing to do with the grid that you can display when zoomed in. The only downside, however, is that it involves editing the Registry, and therefore only takes effect when Paint is loaded. (You can always, of course, save your picture and reload it when you want to change grid settings.) For your convenience, I have put together 10 regfiles, as follows:
  • OFF: Disables snapping to the grid. (Default setting.)
  • ON: Enables snapping to the grid.
  • 1-128: Sets the grid size to whichever number is chosen.
The registry values are in this key: HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Paint\View
SnapToGrid is the value you change (DWORD, 0 or 1) to turn the grid on or off. GridExtent (DWORD) is the value you change to set the grid size. It does not need to be a power of two, although all the regfiles I provided are. If you find yourself using a certain number a lot, but it isn't a power of two, you can make your own regfile for it.

I hope you find this useful!

2 comments:

Anonymous said...
This comment has been removed by a blog administrator.
John said...
This comment has been removed by a blog administrator.