mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-07-31 17:38:33 +00:00
MNT-23660: TIFF files fail to transform into PNG & JPG
- set startPage and endPage to 0 as default for NON multi-page image targets
This commit is contained in:
@@ -167,7 +167,7 @@ public class ImageMagickTransformer extends AbstractCommandExecutor implements C
|
||||
{
|
||||
String startPageString = transformOptions.get(START_PAGE);
|
||||
String endPageString = transformOptions.get(END_PAGE);
|
||||
if (singlePageFormats.contains(targetMimetype))
|
||||
if (!singlePageFormats.contains(sourceMimetype) && singlePageFormats.contains(targetMimetype))
|
||||
{
|
||||
if (StringUtils.isEmpty(startPageString))
|
||||
{
|
||||
|
Reference in New Issue
Block a user