summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/graphicxpsd/test-gin-rule-psd.tex
blob: 24f0965df4d5aa51e4af33830ab063ae48edb5b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
% #!rm -f tigerpsdfmt4* && ptex2pdf -l -u -ot '-shell-escape' -od '-v' test-gin-rule-psd
% #!rm -f tigerpsdfmt4* && xelatex -shell-escape test-gin-rule-psd
% #!rm -f tigerpsdfmt4* && pdflatex -shell-escape test-gin-rule-psd
%#!rm -f tigerpsdfmt4* && lualatex -shell-escape test-gin-rule-psd
\documentclass[luatex]{article}%%set driver as global option
\usepackage{graphicx}
\usepackage[%
  magick,%imagemagick,graphicsmagick,%%same as the one; %%default: sips
  % convert,%% old ImageMagick
  cache=true,%%default: false
]{graphicxpsd}
\listfiles
\begin{document}
\begin{itemize}
\makeatletter
\item PSD-to-PDF: \@gfxpsd@psdtopdf

\item image cache: \if@gfxpsd@imagecache true\else false\fi
\makeatother
\end{itemize}

%% $ file tigerpsdfmt.psd
%% tigerpsdfmt.psd: Adobe Photoshop Image, 550 x 568, RGBA, 4x 8-bit channels
\includegraphics{tigerpsdfmt.psd}
\end{document}

$ pdfinfo tigerpsdfmt4gfxpsd.pdf
Title:          tigerpsdfmt4gfxpsd
Producer:       /opt/homebrew/Cellar/imagemagick/7.0.7-15/share/doc/ImageMagick-7//index.html
CreationDate:   Sat Jan 27 00:10:51 2018 JST
ModDate:        Sat Jan 27 00:10:51 2018 JST
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          2
Encrypted:      no
Page size:      99 x 102.24 pts
Page rot:       0
File size:      1052740 bytes
Optimized:      no
PDF version:    1.4

$ pdfinfo tigerpsdfmt4gfxpsd.pdf
Producer:       Mac OS X 10.13.4 Quartz PDFContext
CreationDate:   Fri Jan 26 15:12:13 2018 JST
ModDate:        Fri Jan 26 15:12:13 2018 JST
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          1
Encrypted:      no
Page size:      99 x 102.24 pts
Page rot:       0
File size:      112882 bytes
Optimized:      no
PDF version:    1.3