EML/MSG to TIFF

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
hansel
Posts: 1
Joined: 2017-03-03T01:26:47-07:00
Authentication code: 1151

EML/MSG to TIFF

Post by hansel »

I have this workflow in which I need to convert an incoming email message (EML format) into a TIFF image. The program which uses ImageMagick as a image converter is calling a batch script (.BAT). See below for a part of the code:

Code: Select all

[...]
ECHO Calling ImageToTiff...
Rem bin\ImageToTiff.exe FilesInput\%FileInput% FilesResult\%FileOutput% 0 CompressionIgnored %Color% %Resolution% >> %Output%
bin\ImageMagick\ImageToTiff.exe %1 %2 %3 %4 %5 %6 %ResetResolution% %JpegQuality% %ColorUpsample% %MindxResolution% %MaxPrintSize% %Splittiff% %7
if errorlevel 1 goto ErrorImageToTiff
ECHO ImageToTiff ok.
Goto End
[...]
The creation of the TIFF image has no issues. I do have an issue with some of the html in the original e-mail message. Some lines are wider than the page it is converted to. The result is a TIFF image where the specific lines run out of page. I could force to print on a bigger scaled paper size but that would make the TIFF hard to read. You would have to zoom in to make it readable.

Is there a way to make use of a StyleSheet (CSS file) in the command line of ImageToTiff.exe in a way it reads the styles and listens to it?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: EML/MSG to TIFF

Post by snibgo »

Where did ImageToTiff.exe come from? I don't think that is part of ImageMagick.
snibgo's IM pages: im.snibgo.com
Post Reply