#39638respect box width and height in gifbuilder imagesize
Description
Hi,
this feature adds the possibility to use the BOX width and height dimensions in gifbuilder imagesize calculation.
At this time TYPO3 does not take the dimensions into account due to the lack of the BoundingBox attribute in the gifbuilder calcOffset function.
The solution is pretty simple, add the missing BoundingBox attribute at the beginning of image creation. Just use the calcOffset function to calculate the BOX width and height and add the result to the BoundingBox attribute.
list($x, $y, $width, $height) = explode(',', $conf['dimensions']);
$this->objBB[$theKey] = explode(',', $this->calcOffset($width . ',' . $height));
break;