Add text to image files


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Add text to image files
# 1  
Old 10-14-2010
Add text to image files


Hi to all,

Some help here please.

I have a several image files (photos, jpg files), let say 100 photos, and a list of 100 different little comments in a text file, each comment for each image.

Somebody knows if I can add (like a watermark in the bottom) this text comments and how in the images automatically with a unix or php script?

Best regards for any help with this issue.
# 2  
Old 10-14-2010
photo , jpg, png, ... are the result of a binary compression performed by different algorithm, so they are "data" formatted and should not be treated as txt file.

If you wanna add text on your images, you need to use a software that can handle such functionality.
# 3  
Old 10-14-2010
To be visible on image, take a look at imagemagick
You can otherwise put data in exif fields of a jpeg image; see jhead
# 4  
Old 10-14-2010
Thanks both for answer.

Quote:
To be visible on image, take a look at imagemagick
You can otherwise put data in exif fields of a jpeg image; see jhead
frans, IŽll try this application you say me, it has command line option, and seing
features it seems could add text automatically in images using some script language.

I hope do the job with this.

Thanks again.

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Center image between two text paragraphs.

I want to show a page with an image between 2 any paragraphs. I tried the following script. But the image is not centered. SUSE Paste <!DOCTYPE html> <html> <head> <style> center.center_1 { margin: auto; width: 60%; ... (3 Replies)
Discussion started by: jcdole
3 Replies

2. Shell Programming and Scripting

Script to convert text to image

Hi Can someone help me writing a script to convert the texts in a text file into images for each token? Thanks in advance. :) (1 Reply)
Discussion started by: my_Perl
1 Replies

3. Shell Programming and Scripting

How to add a text at the beginning of a text files in a folder?

how to add a text ( surya) at the beginning of a text files (so many) in folder text file: 111111 555555 666666 result: surya 111111 555555 666666 (3 Replies)
Discussion started by: suryanarayana
3 Replies

4. Shell Programming and Scripting

matching image files to create one image

Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies

5. Shell Programming and Scripting

How to annotate text on image files?

Dear Sir, The problem description as follows I have a folder named abc with files of different extensions such as: bcsu.txt hsdk.prot ajia.sh sai.hm abcd_1213_saj.png I am supposed to write a bash script which reads all the .png files and read the 6th7th8th9th(word/numerals) here it is... (5 Replies)
Discussion started by: bal_nair
5 Replies

6. Shell Programming and Scripting

Find and add/replace text in text files

Hi. I would like to have experts help on below action. I have text files in which page nubmers exists in form like PAGE : 1 PAGE : 2 PAGE : 3 and so on there is other text too. I would like to know is it possible to check the last occurance of Page... (6 Replies)
Discussion started by: lodhi1978
6 Replies

7. Shell Programming and Scripting

Add a logo to multiple image files

Hello everyone, I have a folder with thousands of images files that I what would like to add a logo in a corner (at the top or bottom) Anyone knows how to accomplish this with imagemagick or other tool ? Thanks in advance (1 Reply)
Discussion started by: cabrao
1 Replies

8. Shell Programming and Scripting

Redirect text to image file

How can I redirect text data to an image (png, jpg, gif... etc) file using perl on unix solaris environment?? Please suggest. Pooja (1 Reply)
Discussion started by: wadhwa.pooja
1 Replies

9. Windows & DOS: Issues & Discussions

Unix text doc with a .gif image

I would like to insert a .gif image into a text file that is generated by a Unix-based database application. Can anyone please tell me how I can achieve this? (7 Replies)
Discussion started by: sunita_rao
7 Replies

10. Shell Programming and Scripting

Stamping Text on an Image File

Hi all, again, I have lots of questions I guess. This one should be easier though :) . I have a goal to be able to put some preformatted text into a template (which is now a tiff file, but can be changed) and then output it to a printer. Right now we're thinking PostScript might work or some... (0 Replies)
Discussion started by: pageld
0 Replies
Login or Register to Ask a Question