fix image sizes for pdf
Merge pull request #367 from owncloud/fix-image-sizes-pdf

Fix image sizes pdf. Fixes #250