Allow the use of height/width stored in RELS-INT.
Generate dimensions for JP2 derivatives, and put into RELS-INT.
Update includes/utilities.inc

Split the extraction of dimensions out into a separate function.
Squash the depth of an image if Tesseract can't handle it.
Merge pull request #1 from adam-vessey/7.x-squash-bit-depth

Squash the depth of an image if Tesseract can't handle it.
Merge pull request #7 from adam-vessey/7.x

Allow for generation and passing of JP2 dimensions.