I'm using a table to format a series of images. My goal is to create an image array where the transition from one figure to the next is seamless i.e. no white space anywhere. My problem is that the images are individual pdf files with white borders of varying widths/heights.
Is there any way for the border to be 'ignored' i.e. not displayed, and also to set the images to a specific width and height? I'd also like to remove any vertical/horizontal in the table.
Here is my MWE:
\documentclass[varwidth]{standalone}
\usepackage{graphicx}
\usepackage{longtable}
\newcommand{\x}{0.15}
\newcommand\ig[1][]{\includegraphics[width= \x\linewidth, height = \x\linewidth,#1]}
\def\thmbpth{./thumbnails}
\begin{document}
\setlength{\tabcolsep}{-1.9pt}
\begin{longtable}{cccc}
\ig{\thmbpth/p13_frame39_cpp_test58} & \ig{\thmbpth/p13_frame42_cpp_test58} & \ig{\thmbpth/p91_frame162_cpp_test58} & \ig{\thmbpth/p39_frame104_cpp_test58} \\
\ig{\thmbpth/p50_frame43_cpp_test58} & \ig{\thmbpth/p50_frame49_cpp_test58} & \ig{\thmbpth/p80_frame152_cpp_test58} & \ig{\thmbpth/p91_frame158_cpp_test58} \\
\ig{\thmbpth/p92_frame63_cpp_test58} & \ig{\thmbpth/p93_frame70_cpp_test58} & \ig{\thmbpth/p52_frame226_cpp_test58} & \ig{\thmbpth/p44_frame85_cpp_test58} \\
\end{longtable}
\end{document}
The figure names are the real ones. This is a link to the actual data.
Would it be more better to crop all of the images first?
My question is similar to this one but I have far more images.
Question was edited to update the data link
Edit: Operating System is Windows 7. Tex system is MikTex.

\igbut otherwise, you'd have to pass that information for each image. See thegraphicxmanual for details of how to do this but I suspect cropping first will be easier. – cfr Jul 18 '14 at 23:01graphicx(indeed isgraphics) defines the macro\graphicspath{...}for the path of graphics. So you can use\graphicspath{{thumbnails/}}instead of\def\thmbpth{./thumbnails}and\ig{<picture name>}instead of\ig{\thmbpth/<picture name>}. – skpblack Jul 19 '14 at 02:58