Skip to content

FEATURE: Add vips CLI to the image - #1095

Merged
tgxworld merged 5 commits into
mainfrom
codex/ship-vips-cli
Jul 31, 2026
Merged

FEATURE: Add vips CLI to the image#1095
tgxworld merged 5 commits into
mainfrom
codex/ship-vips-cli

Conversation

@tgxworld

@tgxworld tgxworld commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Adds the stock vips and vipsheader CLI tools to the base image so Discourse can invoke libvips.

libvips is built against Google JPEGli for JPEG processing, while ImageMagick remains linked to the system libjpeg-turbo. The standalone cjpegli binary and the libvips development files for safe_image are removed.

tgxworld added 2 commits July 31, 2026 05:40
Stock libvips previously linked to libjpeg-turbo, so its JPEG output did not receive JPEGli compression.

Build the libjpeg-compatible library from google/jpegli and link only libvips to its private runtime path. ImageMagick keeps the system libjpeg-turbo library, avoiding a process-wide SONAME replacement while both processors coexist.
@tgxworld tgxworld changed the title FEATURE: Ship stock libvips CLI tools FEATURE: Ship stock libvips CLI tools with JPEGli Jul 31, 2026
@tgxworld tgxworld changed the title FEATURE: Ship stock libvips CLI tools with JPEGli FEATURE: Add vips CLI to the image Jul 31, 2026
@tgxworld
tgxworld marked this pull request as ready for review July 31, 2026 01:18
@tgxworld
tgxworld merged commit a302874 into main Jul 31, 2026
5 checks passed
@tgxworld
tgxworld deleted the codex/ship-vips-cli branch July 31, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants