Skip to content

Commit

Permalink
imagemagick: Add magick command
Browse files Browse the repository at this point in the history
Add the `magick` command of the imagemagick application. Document usage
of `magick` command in `README.md`.

Signed-off-by: Guilherme Vieira <[email protected]>
Signed-off-by: TiagoRG <[email protected]>
  • Loading branch information
TiagoRG authored and StefanJum committed Sep 16, 2023
1 parent 2372102 commit b56aba6
Show file tree
Hide file tree
Showing 38 changed files with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion imagemagick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,32 @@

The `Imagemagick` application is used for image manipulation.

For now the only available command is `convert`.
For now the only available commands are `magick` (the main command) and `convert` (alias to `magick convert`).
Other subcommands may not work.

## Running the Magick Command Using [`run-app-elfloader`](https://github.com/unikraft/run-app-elfloader)

To run the magick command, you also need to provide a valid subcommand.
For now the only subcommand we can assure is working is `convert`.
Change directory into `run-app-elfloader` and run a similar command to the following:

```console
./run.sh -r path/to/dynamic-apps/imagemagick /usr/bin/magick [subcommand] [image to be converted] [converted image]
```

## Run the `Magick` command on Linux

To test the `magick` command run:

```console
usr/bin/magick [subcommand] [image to be converted] [converted image]
```

For example, when in the current directory, run:

```console
usr/bin/magick convert img.png img.jpg
```

## Running the Convert Command Using [`run-app-elfloader`](https://github.com/unikraft/run-app-elfloader)

Expand Down
Binary file added imagemagick/usr/bin/lib64/ld-linux-x86-64.so.2
Binary file not shown.
Binary file added imagemagick/usr/bin/magick
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libX11.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libXau.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libXdmcp.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libXext.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libbrotlicommon.so.1
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libbrotlidec.so.1
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libbz2.so.1.0
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libc.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libexpat.so.1
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libfftw3.so.3
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libfontconfig.so.1
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libfreetype.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libfribidi.so.0
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libgcc_s.so.1
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libglib-2.0.so.0
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libgomp.so.1
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libgraphite2.so.3
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libharfbuzz.so.0
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libicudata.so.73
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libicuuc.so.73
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/liblcms2.so.2
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/liblqr-1.so.0
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libltdl.so.7
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/liblzma.so.5
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libm.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libpcre2-8.so.0
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libpng16.so.16
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libraqm.so.0
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libstdc++.so.6
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libxcb.so.1
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libxml2.so.2
Binary file not shown.
Binary file added imagemagick/usr/bin/usr/lib/libz.so.1
Binary file not shown.
Binary file not shown.

0 comments on commit b56aba6

Please sign in to comment.