Annotations Breaking nconvert for .MAG files
Posted: Wed Dec 11, 2019 3:12 pm
I'm using nconvert for a multimillion document extraction and conversion from a Document management system called Fortis.
The nconvert tool has been taking these document types like a champ and converting them to compression 4 tiffs, but after increasing my sample size in Test I'm starting to run into issues.
Certain documents give me this error:
my_error_exit...<Not a JPEG file: starts with 0x57 0x54>
Error: Don't know how to read this picture (\\ITRECORDS\ARCHIVE\ACC\WTI1C0\0001C0DE.MAG)
I believe some of this is the way Fortis saves their annotation information. (Which is bad practice I know) After running some of the erroring documents through a hex editor I get annotation information in the header or I see there are annotations on the document. I'm still looking into it and trying to figure out how annotations get stored on these MAG files so maybe I can strip them out.
My question is, is there anyway we can re-mediate this? Have you guys seen this issue before? Is there a way to detect annotations and strip them from the document?
The nconvert tool has been taking these document types like a champ and converting them to compression 4 tiffs, but after increasing my sample size in Test I'm starting to run into issues.
Certain documents give me this error:
my_error_exit...<Not a JPEG file: starts with 0x57 0x54>
Error: Don't know how to read this picture (\\ITRECORDS\ARCHIVE\ACC\WTI1C0\0001C0DE.MAG)
I believe some of this is the way Fortis saves their annotation information. (Which is bad practice I know) After running some of the erroring documents through a hex editor I get annotation information in the header or I see there are annotations on the document. I'm still looking into it and trying to figure out how annotations get stored on these MAG files so maybe I can strip them out.
My question is, is there anyway we can re-mediate this? Have you guys seen this issue before? Is there a way to detect annotations and strip them from the document?