Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 739
    • Issues 739
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 322
    • Merge requests 322
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Issues
  • #13415
Closed
Open
Issue created Jan 11, 2022 by setop@setop

community/imagemagick: create a light package without ghostscript and libsvg dependencies

Request

for user not using PDF and SVG, propose an alternative imagemagick package which does not embed Ghostscript nor librsvg and their dependencies, in order to make system image smaller.

Rational

I'm contributing to an open-source project, Mobilizon.

It is a web application, aiming to provide a privacy caring alternative to Facebook groups and events. It is written in VueJS for the front-end and Elixir for the back-end and build around ActivityPub protocol, like Mastodon.

We are using a wrapper around imagemagick in Elixir in order to clean media that are uploaded by our users. These media are in PNG, JPEG, WEBP and GIF.

We are packaging the application as a Docker image, based on alpine, with imagemagick as a dependency.

This dependency is adding 135MB to the image. Among this, ghostscript - used for PDF and PS support - is weighting 62MB. Probably other dependencies (cups, libusb, poppler, avahi) are due to GH. I guess loads of bytes are also due to SVG support (cairo, pango, libx11).

Mobilizon is not using PDF, PS or SVG as media.

Edited Jan 13, 2022 by setop
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking