Fortis MAG Files

XnConvert Multi Platform - Windows, MacOSX, Linux
mdsantos
Posts: 1
Joined: Tue Jun 27, 2017 12:07 pm

Fortis MAG Files

Postby mdsantos » Tue Jun 27, 2017 12:11 pm

Hi,

I have a project to convert some couple of millions of MAG files (Fortis) to PDF or TIFF. I tried XnConvert Wich is a great tool, but.... in a four files sample I got , only 1 has converted with success. The others give me the following error:

nconvert -multi -c 7 -dpi 200 -out tiff -o e:\ficheirosmag\006AFCC1.tif e:\FicheirosMAG\006AFCC1.MAG


my_error_exit...<Not a JPEG file: starts with 0x57 0x54>
my_error_exit...<Not a JPEG file: starts with 0x57 0x54>
Error: Don't know how to read this picture (e:\FicheirosMAG\006AFCC1.MAG)

All MAG files are scanned documents, i.e. images. Can anybody help me?

cday
XnThusiast
Posts: 1561
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Fortis MAG Files

Postby cday » Tue Jun 27, 2017 12:26 pm

Your code only has one input file, so I guess that MAG is a multi-page format?

If what you are trying to do is possible using NConvert, I'm not sure, you could try adding a -xall term which is the switch for extracting images from multi-page files...


Note: You've posted under the XnConvert section which is a GUI program, rather than under the NConvert command line software heading, but a mod can move it later.


Return to “XnConvert”

Who is online

Users browsing this forum: No registered users and 9 guests