PDFBOX-1975: fix build problem when test directory already existed

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576815 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1975: added writing a GIF test file

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576817 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1977: Check whether chunk needs adjusting before writing EOD

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576820 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1975: Fix JavaDoc

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576827 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1977: set PhotometricInterpretation to WhiteIsZero for b/w images because of XP preview bug

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576828 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1977: set and test resolution for JPEG images

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576867 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1977: set and test resolution for JPEG images (forgot javadoc and cleanup)

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576868 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1977: add a JBIG2 sample PDF

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576902 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1981: CryptographyException for file that isn't encrypted

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1576920 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'apache/trunk' into trunk