Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

insert text to picture (text come from data base)

look program that can insert text from mysql database then make it jpg file and send to  photoshop (shop that accept photo at size 6 * 4 inch)  in jpg format
0
teera
Asked:
teera
1 Solution
 
David BruggeCommented:
I have not been able to find any off the shelf programs that will do this for you. I suspect that you will need a custom script to be written. This should be any easy task.

Photoshop has the ability to build templates with text variables. You set some text on an image, then tell Photoshop to replace that text with the data in a text or CSV file and output the results.

I think you would need a script to poll your mysql db and generate a CSV, load your image on a background layer, and output as a jpg with an appropriate name.

I don't script very well myself, so I rely on services like ODesk, or elance.

Hope this helps.
0
 
Gabo80Commented:
Check this:
http://tuxtweaks.com/2009/06/create-text-images-with-imagemagick/

With imagemagic you can create more or less what you want with a "simple" command.
From php you can run imagemagick with an exec() or shell() command.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now