| 1 |
# graphicxpsd Package |
| 2 |
|
| 3 |
**LaTeX: Adobe Photoshop Data format (PSD) support for the `graphicx` package via PSD-to-PDF conversion** |
| 4 |
|
| 5 |
This package provides Adobe Photoshop Data format (PSD) support for the `graphicx` package using the `sips` (Darwin/macOS) or `magick` (ImageMagick) commands. |
| 6 |
|
| 7 |
* **Supported major drivers:** `dvipdfmx`, `xetex`, `pdftex`, `luatex` |
| 8 |
|
| 9 |
## Requirements |
| 10 |
|
| 11 |
* A modern [TeX Live](https://www.tug.org/texlive/) environment (requires an up-to-date `expl3`/`l3kernel`) |
| 12 |
* macOS (uses the pre-installed `sips` command) **or** [ImageMagick](https://www.imagemagick.org/) |
| 13 |
|
| 14 |
## Installation |
| 15 |
|
| 16 |
Copy `graphicxpsd.sty` to your local TeX tree: |
| 17 |
`$TEXMF/tex/latex/graphicxpsd/` |
| 18 |
|
| 19 |
## Usage |
| 20 |
|
| 21 |
Load the `graphicxpsd` package *after* loading the `graphicx` package. |
| 22 |
|
| 23 |
~~~latex |
| 24 |
\usepackage{graphicx} |
| 25 |
\usepackage[magick,cache=true]{graphicxpsd} % Example with caching enabled |
| 26 |
\begin{document} |
| 27 |
\includegraphics{example.psd} |
| 28 |
\end{document} |
| 29 |
~~~ |
| 30 |
|
| 31 |
## License |
| 32 |
|
| 33 |
This package is licensed under the terms of the MIT License. |
| 34 |
|
| 35 |
|
| 36 |
-------------------- |
| 37 |
|
| 38 |
Munehiro Yamamoto |
| 39 |
https://github.com/munepi |