Skip to content

Kirby 3.6.6

$image->hardcopy()

Creates a clone and fetches all lazy-loaded getters to get a full copy

$image->hardcopy(): Kirby\Image\Image

Return type

Kirby\Image\Image

This method does not modify the existing $image object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File