mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-19 17:14:47 +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:
parent
dd6da5b9e0
commit
c2bfcfe012
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user