D bindings to the GraphicsMagick library.
Revisión | af102f3f4f8364d2392dde6a5093c3787bd6622a (tree) |
---|---|
Tiempo | 2023-07-15 17:58:58 |
Autor | Mio <stigma@disr...> |
Commiter | Mio |
Re-organize README
Just moving to be sub-sections that flow a little better.
Thanks May!
@@ -63,8 +63,7 @@ not using [dub], then you'll need to specify the `GMagick_Static` version.) | ||
63 | 63 | |
64 | 64 | [dub]: https://dub.pm |
65 | 65 | |
66 | -macOS - MacPorts - Dynamic Bindings | |
67 | ------------------------------------ | |
66 | +#### macOS - MacPorts - Dynamic Bindings | |
68 | 67 | |
69 | 68 | A quick heads up if you've installed GraphicsMagick via [MacPorts], you will |
70 | 69 | need to make sure that the `LD_LIBRARY_PATH` environment variable will include |
@@ -80,6 +80,20 @@ In dub.json (again, replace Q16): | ||
80 | 80 | } |
81 | 81 | ``` |
82 | 82 | |
83 | +### macOS - MacPorts - Dynamic Bindings | |
84 | + | |
85 | +A quick heads up if you've installed GraphicsMagick via [MacPorts], you will | |
86 | +need to make sure that the `LD_LIBRARY_PATH` environment variable will include | |
87 | +the directory which holds `GraphicsMagick.dylib` and `GraphicsMagickWand.dylib`. | |
88 | +By default, the directory is `/opt/local/lib`. For example: | |
89 | + | |
90 | +```sh | |
91 | +$ cd examples/ | |
92 | +$ ./dmd.sh --shared | |
93 | +$ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/local/lib" \ | |
94 | + ./dmd/ping_dmd /path/to/my/picture.png | |
95 | +``` | |
96 | + | |
83 | 97 | ### Logging |
84 | 98 | |
85 | 99 | By default, graphicsmagick_c does **not** print anything to the stderr file. |
@@ -94,21 +108,6 @@ Examples | ||
94 | 108 | |
95 | 109 | See the `examples/` directory. |
96 | 110 | |
97 | -macOS - MacPorts - Dynamic Bindings | |
98 | ------------------------------------ | |
99 | - | |
100 | -A quick heads up if you've installed GraphicsMagick via [MacPorts], you will | |
101 | -need to make sure that the `LD_LIBRARY_PATH` environment variable will include | |
102 | -the directory which holds `GraphicsMagick.dylib` and `GraphicsMagickWand.dylib`. | |
103 | -By default, the directory is `/opt/local/lib`. For example: | |
104 | - | |
105 | -```sh | |
106 | -$ cd examples/ | |
107 | -$ ./dmd.sh --shared | |
108 | -$ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/local/lib" \ | |
109 | - ./dmd/ping_dmd /path/to/my/picture.png | |
110 | -``` | |
111 | - | |
112 | 111 | [MacPorts]: https://www.macports.org/ |
113 | 112 | |
114 | 113 | License |