Color changing text based on content

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
GuruX
Posts: 2
Joined: 2017-07-25T02:42:44-07:00
Authentication code: 1151

Color changing text based on content

Post by GuruX »

I'm doing some digital signing for my work, and I need some help.

It's a digital sign for a boat. The sign tells people passing by, which cruises they can book.
The set up is a Raspberry Pi Zero W with a 3G modem attached. Pipresents displays jpeg images with the booking calendar.

My idea is a simple user interface where the booking office edits one or two text files over SSH and imagemagick generates the jpeg sign. The Raspberry will also mail the jpeg back to the office, so they can verify that it's correct.

Here's a mockup of the sign.
https://www.dropbox.com/s/zkk8ir6aneica ... r.jpg?dl=0

Getting the text into the image with annotate is an easy deal. I could just make multiple text files for each column of text that needs to be changed. But I wouldn't consider that user friendly.

What are your suggestions for making this user friendly and easy to use?

This is on Version: ImageMagick 6.8.9-9 Q16 arm
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Color changing text based on content

Post by fmw42 »

You could create an editable PDF using Adobe Acrobat. Then each time you change it and upload, have ImageMagick convert to jpg, if you need to do that.
GuruX
Posts: 2
Joined: 2017-07-25T02:42:44-07:00
Authentication code: 1151

Re: Color changing text based on content

Post by GuruX »

Thanks fmw42.
Yeah, that is a good idea. It's pretty easy to edit and user friendly.
The only con seems to be that Adobe forms doesn't seem to make it possible for the user to change the color of the text. It's a preset. I'll see if I can find a workaround.
Post Reply