Resize the image to fit in a box of the specified dimensions. Overrides
any previous call to fullFitIn, fitIn or resize.
public fitIn ( $width, $height ) |
public function testFitIn() { $commandSet = new CommandSet(); $commandSet->fitIn(5, 6); $this->assertEquals(array('fit-in/5x6'), $commandSet->toArray()); }