Calculates number of columns [0] and rows [1] of padding
Definition at line 579 of file raster2pgsql.py.