$frames */ public function createCore(array $frames): CoreInterface; /** * Decode image source with given decoders. Try all image decoders by default. * * Image sources can be as follows: * * - Path in filesystem * - Raw binary image data * - Base64 encoded image data * - Data Uri * - Stream resource * - SplFileInfo object * - Intervention Image Instance (Intervention\Image\Image) * - Encoded Intervention Image (Intervention\Image\EncodedImage) * - Driver-specific image (instance of GDImage or Imagick) * * @param array $decoders */ public function decodeImage(mixed $input, ?array $decoders = null): ImageInterface; /** * Decode color source with given decoders. Try all color decoders by default. * * @param array $decoders */ public function decodeColor(mixed $input, ?array $decoders = null): ColorInterface; /** * Return color processor for the given image and its colorspace. */ public function colorProcessor(ImageInterface $image): ColorProcessorInterface; /** * Return font processor of the current driver. */ public function fontProcessor(): FontProcessorInterface; /** * Check whether all requirements for operating the driver are met and * throw exception if the check fails. * * @throws MissingDependencyException */ public function checkHealth(): void; /** * Check if the current driver supports the given format and if the * underlying PHP extension was built with support for the format. */ public function supports(string|Format|FileExtension|MediaType $identifier): bool; /** * Return the version number of the image driver currently in use. */ public function version(): string; }