text list to individual images

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
imlost123
Posts: 15
Joined: 2017-02-02T04:46:49-07:00
Authentication code: 1151

text list to individual images

Post by imlost123 »

Hi,

Ideally I'd like to take a text file list with thousands of lines of text and turn each line of text into an individual image with a transparent background and white text.
So far all I've managed to do is turn the whole list in to a single image, as for chopping it up it really is beyond me at the moment.

Been bashing my head against a wall trying to figure this out for a few days. Any help gratefully accepted!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: text list to individual images

Post by fmw42 »

What is your IM version and platform/OS. Your request would need scripting and that would be OS dependent (and not formally what this forum is about).
imlost123
Posts: 15
Joined: 2017-02-02T04:46:49-07:00
Authentication code: 1151

Re: text list to individual images

Post by imlost123 »

Ah sorry I'm using windows ten and imagemagick 7.0.4.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: text list to individual images

Post by fmw42 »

Imagemagick 7.0.4.x is rather old. Perhaps upgrade first and report the full 7.0.x.x. version in the future. Sorry, I am not Windows user and do not know how to script for it. So I cannot help.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: text list to individual images

Post by snibgo »

wrote:... and turn each line of text into an individual image ...
Type "help for" at the Windows command line for a loop that reads each line of a text file.
snibgo's IM pages: im.snibgo.com
imlost123
Posts: 15
Joined: 2017-02-02T04:46:49-07:00
Authentication code: 1151

Re: text list to individual images

Post by imlost123 »

Hi again, I finally worked it out! :D
Thanks for not making it too easy for me just to cut and paste, feel like I learned something.
You have no idea of the sense of accomplishment I'm feeling right now! :lol:
Post Reply