The site is being updated. Over the next few days you may notice glitches in layout or translations. The docs stay available — if a page looks broken, refresh it later.

Home image 3.x Advanced

Advanced

3.x 7. Mär 2026

If the supplied options are not sufficient, it is possible to create your own solutions using your own custom modifiers. Furthermore, the native image object can be accessed, so that all functions used by the actual image processing libraries (such as GD or Imagick) can be used — even those not covered by Intervention Image.

#Access the Native Image Object

Depending on the driver, each image object is mapped internally by either an instance of a GDImage::class or an Imagick::class object. The parent image object of Intervention Image provides access to this base object.

The following example uses the native Imagick function oilPaintImage(), which is not included in this library.

use Intervention\Image\ImageManager;

// read test image from a file
$manager = ImageManager::imagick();
$image = $manager->read('test.png');

// access Imagick instance directly
$imagick = $image->core()->native();

// use external Imagick function
$imagick->oilPaintImage(4.5);

Combined with custom modifiers, Intervention Image can be extended with your own modifier combinations for endless possibilities.