Intervention / image

PHP Image Processing
https://image.intervention.io
MIT License
13.88k stars 1.5k forks source link

Add possibility to read Imagick or GDImage instance directly with ImageManager::read() #1328

Closed danielthomascarr closed 5 months ago

danielthomascarr commented 5 months ago

Most use cases would use Imagick or GD and it would be useful to include these as parameters in the new read function like the make function had done in previous versions, so you can extend the functionality by switching between the two with core()->native and read().

olivervogel commented 5 months ago

As far as I understand you, you would like to be able to read in objects of type GDImage or Imagick directly via the ImageManager::class. I will look into this.

olivervogel commented 5 months ago

Turns out, the Decoders are already there, but they were not linked in the input handler. Will be included in the next feature release.