This remote part provides an ImageMagick distribution and a launcher that makes it functional in the snap runtime.
How to use
Merge the following snipplet to your Snapcraft recipe:
parts:
# Remote part for a working ImageMagick distribution
imagemagick:
then prepend "${SNAP}"/bin/imagemagick-launch
to the depending snap apps’ command chain:
apps:
_app_name_:
command: bin/imagemagick-launch _original_command_chain_
Implementation details
This remote part stages the ImageMagick package from Ubuntu 16.04, creates canonical symlinks to the corresponding postfixed ImageMagick commands, and set up appropriate environment variables in the launcher
The implementation
The snaps that use this remote part
- Lin-Buo-Ren/image-density-fixer: This utility fixes the image density(dot-per-inches) according to the user input of its actual real world dimensions(width & height in centimeters) - patch
Reference
For generic remote part usage refer: Remote (reusable) parts