text to gif/jpg

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
oct

text to gif/jpg

Post by oct »

Hello there,

I am trying to convert a text file (.txt) into an image (.jpg) with the command: convert text:@filename text_test.jpg; however, there is a "unable to open file" error. Your help and advice is greatly appreciated.

Thanks much! :D
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: text to gif/jpg

Post by anthony »

text: takes a filename as an argument. not a string like label:. As such the '@' is not needed. see IM Examples, Text to Image handling.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply