Skip to content

VIPS extension support (graphic engine) #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dev-polymer opened this issue Mar 15, 2024 · 3 comments
Closed

VIPS extension support (graphic engine) #386

dev-polymer opened this issue Mar 15, 2024 · 3 comments
Labels
kind/extension Issues related to extensions new feature New feature or request
Milestone

Comments

@dev-polymer
Copy link

Hi frends! libvips/php-vips is fast and low-memory usage graphic engine (for create image thumbnails, add watermarks and etc.). Bechmarks compare to imagick and GD → here.

And will be greate to support its in static-php-cli (and in my case, in FrankenPHP, based on static-php-cli ).

php-vips exists as PHP-FFI version and as standart binary php-extension (stiil supported in 1.x branch).

FFI-version cant be implemented on Linux (because PHP-FFI in static-php-cli not supported yet https://static-php.dev/en/guide/extensions.html what really makes it unusable for website hosting), for this reason i propose try to support as binary php-vips 1.x binary PHP-extension.

P.S. Thanks all static-php-cli team for awesome project!

@crazywhalecc crazywhalecc added new feature New feature or request kind/extension Issues related to extensions labels Mar 15, 2024
@crazywhalecc crazywhalecc added this to the 2.2 Release milestone Mar 20, 2024
@crazywhalecc
Copy link
Owner

vips requires glib, glib requires meson, meson requires python. I can theoretically implement vips extension, but the cost is that python needs to be installed before compilation.

@fidelix
Copy link

fidelix commented Jun 14, 2024

vips requires glib, glib requires meson, meson requires python. I can theoretically implement vips extension, but the cost is that python needs to be installed before compilation.

I think that would be more than acceptable, but the 2.x branch would be much preferred.

@henderkes
Copy link
Collaborator

henderkes commented May 29, 2025

Closed because static-php-cli can already build FFI under glibc (bin/spc-gnu-docker) or MacOS. php-vips name is misleading because it's not a php-extension but a composer package that relies on FFI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/extension Issues related to extensions new feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants