Skip to content

Commit

Permalink
Merge branch 'develop' into feature/font-system
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Jan 12, 2025
2 parents 76869c6 + 3458551 commit a7f051e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Intervention\Image\Interfaces\FontProcessorInterface;
use Intervention\Image\MediaType;
use Jcupitt\Vips\BandFormat;
use Jcupitt\Vips\Config as VipsConfig;
use Jcupitt\Vips\Exception as VipsException;
use Jcupitt\Vips\Extend;
use Jcupitt\Vips\Image as VipsImage;
Expand Down Expand Up @@ -195,4 +196,14 @@ public function checkHealth(): void
throw new DriverException("zend.max_allowed_stack_size not set to '-1'");
}
}

/**
* Return version of libvips library
*
* @return string
*/
public static function version(): string
{
return VipsConfig::version();
}
}

0 comments on commit a7f051e

Please sign in to comment.