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