I need to generate sprites where images must not intersect. How can I get a custom-sized grid in Photoshop?
There is a Photoshop plugin for creating grids that it is called GuideGuide
To change the grid to a specific size go to:
Guides, Grid & Slices
There you have the option to change the default values of
Gridline Every x
number of pixels/centimeters etc..
To use the gird:
Note: Make sure the option "Snap to grid" is checked:
Snap to Grid
On topic, here are some usefull Photoshop scripts:
Photoshop Grid Generator: https://gist.github.com/TaKUMA7/4023076
This one generates css position for sprites: http://arnaumarch.com/en/sprites.html
Generate CSS position for
Check out this article for more usefull PS scripts: http://www.smashingmagazine.com/2011/05/04/useful-photoshop-tools-and-techniques-for-your-workflow/