mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
45342: ALF-17215: Convert multi page PDF Document to image fails with convert.exe: Improper image header - Changed MIMETYPE_APPLICATION_PHOTOSHOP constant in MimetypeMap to newer image/vnd.adobe.photoshop - Added source and target mimetype parameters to AbstractImageMagickContentTransformerWorker.transformInternal and ImageMagickContentTransformerWorker.transformInternal methods - Added ImageMagickContentTransformerWorker.isSourcePageRangeRequired method which checks source and target mimetypes - Moved determination of source page range in ImageMagickContentTransformerWorker to its own getSourcePageRange method - Added checks for length of resulting file as it should always exist - Changed ImageMagickContentTransformerTest to use transformer.ImageMagick bean from Spring rather than hard coded imconvert.exe - Added MockMimetypeService to ImageMagickContentTransformerTest which will iterate through a limited set of mimetypes during testAllConversions - Added a second page to quick.pdf 45343: ALF-17215: Convert multi page PDF Document to image fails with convert.exe: Improper image header - Added check for TIFF source as well which can be multi-paged 45345: ALF-17215: Convert multi page PDF Document to image fails with convert.exe: Improper image header - Added multi-page quick.tiff file - Added check for target type of EPS or Photoshop in isSourcePageRangeRequired git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@45364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Files in here contain the well-known phrase "The quick brown fox jumps over the lazy dog". They can be used, amongst other things, to check that document conversions are working as expected. Where possible, the files should include various items of Metadata, which can be used to check that Metadata Extrators are also working as expected. The standard values for these are: Title: The quick brown fox jumps over the lazy dog Subject/Description: Gym class featuring a brown fox and lazy dog Keywords: Pangram, fox, dog Comments: Comment Vulpes vulpes comment Author/Creator: Nevin Nollop Creator Email: nevin.nollop@alfresco.com Manager: Mr Burns Previous Author: Derek Hulley Company: CompanyA Category: Category1