Skip to content
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

Add hint about libjpeg, libwebp, libavif, ... #818

Merged
merged 4 commits into from
Sep 27, 2024

Conversation

alexander-schranz
Copy link
Member

Q A
Fixed tickets fixes #issuenum
Related PRs sulu/sulu#prnum
License MIT

What's in this PR?

Add hint about libjpeg, libwebp, libavif, ....

Why?

Images like alpine are may not shipping this libs.

Comment on lines 13 to 18
.. note::

You may require to install on your operation system ``libjpeg-dev``, ``libpng-dev``, ``libwebp-dev``, ``libavif-dev``, ...
or other libraries to support the range of image mime types you want to support. Linux distributions like
Alpine may are not shipping them in the base image.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Prokyonn may you have better suggestions here to make this kind of things easer to understand.

apt-get install libmagickwand-dev inkscape
pecl install imagick
apt-get install libmagickwand-dev
apt-get install php8.3-imagick
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pecl is mostly not used for linux distributions.

@@ -71,7 +77,6 @@ To install it use following commands:
.. code-block:: bash

apt-get install libvips-dev
pecl install vips
Copy link
Member Author

@alexander-schranz alexander-schranz Sep 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VIPS uses FFI and not longer requires a PHP extension: https://github.com/libvips/php-vips-ext

Co-authored-by: Prokyonn <daniel.mathis@sector8.eu>
@Prokyonn Prokyonn merged commit a168d7d into sulu:2.5 Sep 27, 2024
1 check passed
@alexander-schranz alexander-schranz deleted the enhancement/lib-hint branch September 27, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants