Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

merging image files or adding text to an image

Status
Not open for further replies.

legos

Programmer
Jul 2, 2003
151
US
I have an image that is a .tif file. Also I have a table with ID numbers related to the files. My question is, is it possible to add this number to the top left corner of the image file. I would like it to apear in such a way that the ID number is in black on a white background.
If anyone can figure out the code for this it'd be greatly appriciated.

Durible Outer Casing to Prevent Fall-Apart
 
Hallo,

You have a couple of options (both probably impossible)

You could find some sort of external image manipulation program and use that to add the numbers, or
you could find out the format of a .tif file and manipulate it to add the required data.
I have done some manipulation of .bmp files, which isn't too tricky as it's just so many bits-per-pixel in a matrix with a header on the front, but .tif is almost certainly more complicated.

Unless you like programming, I suggest this is a non-starter, sorry.

- Frink
 
legos,

There is a simple, easy, and yes a FREE way to do what you need to do. Unfortunatly you will need to do it outside of your application. There is a freeware (Excellent) image manipulation program that does batch coversions to and from different file types. It will also overlay text on the all of your images.

Goto --
After you install it. Then File > Batch Conversion/Rename. Then select "Use advance options" then click "Set advanced options" button. Click "Add overlay text" then click "settings". Finally press the Help button on the values you can use.

I would suggest renaming (via batch conversion copy) your images then using the "$N" feature (see help). This will overlay the filename onto the image. This should match your column from your database.

Makes sense???

Hey I hope this helps..

Good Luck...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top