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?
Fortis MAG Files
Moderator: xnview
-
cday
- XnThusiast
- Posts: 4510
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Fortis MAG Files
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.
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.
-
castanhinha1
- Posts: 1
- Joined: Mon Dec 17, 2018 3:45 pm
Re: Fortis MAG Files
Was a solution found for this? I am trying to do the same thing with converting Fortis MAG files, but run into the same error message.
Any help would be greatly appreciated!
Any help would be greatly appreciated!
-
MagToPDF
- Posts: 1
- Joined: Fri Mar 08, 2019 2:10 pm
Re: Fortis MAG Files
I also am having the same issue converting Fortis MAG files to PDF. What is strange is, the conversion works for many files and I can't find any reasoning as to why the ones that won't convert don't. I have a very large conversion project around 500,000 files and Any help will be appreciated.
-
xnview
- Author of XnView
- Posts: 47518
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France