for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Ghostscript package
*
* @author Simon Schrape <[email protected]>
*/
namespace GravityMedia\Ghostscript\Device;
use GravityMedia\Ghostscript\Ghostscript;
use GravityMedia\Ghostscript\Process\Arguments;
* The bounding box info device class.
* @link http://ghostscript.com/doc/current/Devices.htm#Bounding_box_output
* @package GravityMedia\Ghostscript\Devices
class BoundingBoxInfo extends AbstractDevice
{
* Create bounding box info device object.
* @param Ghostscript $ghostscript
* @param Arguments $arguments
public function __construct(Ghostscript $ghostscript, Arguments $arguments)
parent::__construct($ghostscript, $arguments->setArgument('-sDEVICE=bbox'));
}