Skip to content

The fastest way to convert from vips to imagick? #16

Closed
@chregu

Description

@chregu

Question: Anyone knows what could be the fastest way from a vips resource to an imagick resource (retaining the image, of course) and maybe vice versa. I sometimes need to convert (for example for saving gif) from one to the other.
I basically currently do:

$image = new \Imagick();
$imagick->readImageBlob($vips->pngsave_buffer(['interlace' => false]));

Any better recommended way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions