Fixed a bug in HEICProcessor

This commit is contained in:
U-BASIS\dsmyda 2020-09-29 13:40:31 -04:00
parent 4713f86402
commit ff9d809542

View File

@ -182,6 +182,7 @@ public class HEICProcessor implements PictureProcessor {
final Path outputFile = moduleOutputFolder.resolve(baseFileName + ".jpg");
final Path imageMagickErrorOutput = moduleOutputFolder.resolve(IMAGE_MAGICK_ERROR_FILE);
Files.deleteIfExists(imageMagickErrorOutput);
Files.createFile(imageMagickErrorOutput);
// ImageMagick will write the primary image to the output file.