Is it possible - using only windows script - to merge a text file and an image?
Question
Our FI trading application generates trade confirms which come out as plain text letters. (.txt)
- I need these to be programatically overlayed (using only Windows Script) onto headed paper and then copied to a fax out directory.
- The script will be checking a directory for these files every n minutes.
- I want to keep the dependency count down as the script will be running on a server so would like to avoid referencing Office libraries if possible.
What's the best way to overlay the text file onto the bitmap?
Solution
I know this doesn't answer your question but, since I doubt you'll get a pure script based image overlay solution, I suggest the use of ImageMagick. It has a powerful, scriptable command line interface and handles text-to-image conversions.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow