Solved

insert text to picture (text come from data base)

Posted on 2011-09-07
2
330 Views
Last Modified: 2012-05-12
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
Comment
Question by:teera
2 Comments
 
LVL 26

Expert Comment

by:David Brugge
ID: 36504288
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
 
LVL 1

Accepted Solution

by:
Gabo80 earned 500 total points
ID: 36518590
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Lightroom 5.7 Mac Has Lost Import Function 1 213
Rotating an an item within an iamge 8 72
Reduce photo size 22 176
Graphics card for a new Dell 5810 workstation 16 199
This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
The goal of the tutorial is to teach the user how to use the cropping tool and to straighten there photos so it does not look tilted. You will choose which photo you want to edit, crop it to you liking and make it straight.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question