mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-22 15:12:38 +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
		
	
		
			
				
	
	
	
		
			23 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			23 KiB