The conversion from PostScript to PDF is configured in
%% Ghostscript (PS-to-PDF and PDF-to-PDF):
%% ps2pdf is a front-end to gs. For a complete list of options, see
%% By default, gs encodes all images contained in a PS file using
%% the lossy DCT (i.e., JPEG) filter. This often leads to inferior
%% result (see the discussion at http://electron.mit.edu/~gsteele/pdf/).
%% The "-dAutoFilterXXXImages" and "-dXXXImageFilter" options used
%% below force all images to be encoded with the lossless Flate (zlib,
%% same as PNG) filter. Note that if the PS file already contains DCT
%% encoded images (which is possible in PS level 2), then these images
%% will also be re-encoded using Flate. To turn the conversion off,
%% simply remove the options mentioned above.
%% Also note that PAPERSIZE=a0 is specified below. This converts PS
%% files (including EPS) to A0 papersize PDF. This is necessary to
%% prevent gs from clipping PS figure at some papersize. (A0 above
%% simply means large size paper.) If you have figures even larger
%% than A0, and their llx=lly=0, you can use "-dEPSCrop" instead of
%% In TeX Live, we use the rungs wrapper instead of ps2pdf, becuse we
%% must omit the -dSAFER which ps2pdf specifies: in order for pstricks
%% to work with xetex,
%% /usr/local/texlive/*/texmf-dist/dvips/pstricks/pstricks.pro (for
%% example) needs to be accessed. (Also, it is better to use our
%% supplied gs on Windows.) You can also add -dNOSAFER to the ps2pdf
%% command line.
%% Incidentally, especially in TL, more than one dvipdfmx.cfg may be
%% extant. You can find the one that is active by running:
%% kpsewhich -progname=dvipdfmx -format='other text files' dvipdfmx.cfg
D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilter ColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile='%o' '%i' -c quit"
figure02.eps has size 3854bp x 1882bp that is larger than A0 with 841mm x 1189mm.
Thus you can use reconfigure using
-dEPSCrop or convert the file manually to PDF:
ps2pdf -dEPSCrop figure02.eps
ebb to get a bounding box data file for driver
dvipdfmx of LaTeX's
ebb -x figure02.pdf
Then the image can be included as PDF file:
This also speeds up the compilation, because the EPS figure does not need to be converted each time running