Issue Bug Closed

#46530Crop-Scaled images have wrong file content type

Oliver Hader 03/22/13, 09:57 updated 10/23/17, 22:16

Description

The following scenario is given:
  • resize a 300dpi TIFF image to PNG using stdWrap/cObj
  • the ‘fileExtension’ configuration is not set ($fileArray[‘ext’] is empty)
  • the processed file csm_… has the file extension PNG
  • but the file content type is still TIFF, so the file was just renamed, but not converted to PNG

Solution:
Since the processing task determines the accordant filename and file extension, the image processor (ImageMagick, …) needs to know about that fact as well.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.