The errors cannot be reproduced right after, so I suspect batch processing nature of the problem.
The processed files are correct, and the errors cannot be reproduced while processing a single file.
I will post the errors, perhaps you will have an idea what happens.
Batch run 1:
Code: Select all
composite: improper image header `/home/events/2019/03/15/14652/872287/dsc-1-13_baae18_940x627_border.png' @ error/png.c/ReadPNGImage/4291.
composite: `/home/events/2019/03/15/14652/872287/dsc-1-13_baae18_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
composite: IDAT: CRC error `/home/events/2019/03/15/14652/872288/dsc-1-14_2835e3_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
composite: `/home/events/2019/03/15/14652/872288/dsc-1-14_2835e3_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
composite: IDAT: CRC error `/home/events/2019/03/15/14652/872292/dsc-1-18_7ca1e0_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
composite: `/home/events/2019/03/15/14652/872292/dsc-1-18_7ca1e0_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
convert: Premature end of JPEG file `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
convert: Corrupt JPEG data: premature end of data segment `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
composite: IDAT: CRC error `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
composite: `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
convert: Premature end of JPEG file `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
convert: Corrupt JPEG data: premature end of data segment `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
convert: Premature end of JPEG file `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
convert: Corrupt JPEG data: premature end of data segment `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
convert: Premature end of JPEG file `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
convert: Corrupt JPEG data: premature end of data segment `/home/events/2019/03/15/14652/872293/dsc-1-19_e22eaf.jpg' @ warning/jpeg.c/JPEGWarningHandler/396.
composite: IDAT: CRC error `/home/events/2019/03/15/14652/872294/dsc-1-20_4266c2_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
composite: `/home/events/2019/03/15/14652/872294/dsc-1-20_4266c2_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
Not a JPEG file: starts with 0x00 0x00
convert: IDAT: CRC error `/home/events/2019/03/15/14652/872295/dsc-1-21_317185_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
convert: no images defined `/home/events/2019/03/15/14652/872295/dsc-1-21_317185_940x627_border.jpg' @ error/convert.c/ConvertImageCommand/3300.
Aborted
Not a JPEG file: starts with 0x00 0x00
composite: IDAT: CRC error `/home/events/2019/03/15/14652/872297/dsc-1-23_1e454f_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
composite: `/home/events/2019/03/15/14652/872297/dsc-1-23_1e454f_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
composite: IDAT: CRC error `/home/events/2019/03/15/14652/872299/dsc-1-25_f28d7c_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
composite: `/home/events/2019/03/15/14652/872299/dsc-1-25_f28d7c_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
composite: IDAT: CRC error `/home/events/2019/03/15/14652/872300/dsc-1-26_a3fe1f_940x627_border.png' @ error/png.c/MagickPNGErrorHandler/1714.
composite: `/home/events/2019/03/15/14652/872300/dsc-1-26_a3fe1f_940x627_border.png' @ error/composite.c/CompositeImageCommand/1627.
composite with -gravity SouthEast creating the _border.png file (why "improper image header" since the file is created by IM?)
and then convert, which scales/crops.