PDA

Click to See Complete Forum and Search --> : Date & Time Stamping an image


batleycr
Jan 23rd, 2002, 03:56 PM
Hi everyone

I have a problem someone has asked me to help find a solution for.

After loading an image to an Image control (the user is only able to use VBA in Word) the user would like to add a date and time stamp to the bottom left corner and then re-save the file with that timestamp.

The effect would be that after processing, when the image is opened it would have a timestamp on it (like some camera's do.)

He is currently able to extract the time and date, the part he can't work out is the adding to the image file part.

Does anyone know how this can be done?

Janus
Jan 23rd, 2002, 07:01 PM
You'll probably have to use a COM-based image library, if you can only use VBA... *fury2ge hint hint*

Sastraxi
Jan 23rd, 2002, 07:07 PM
Try using the TextOut API call. The text'll look a bit jaggy, however.

batleycr
Jan 23rd, 2002, 07:07 PM
fury2ge???

He's chasing a freebie answer as it is a personal project, not work related.

Janus
Jan 23rd, 2002, 07:36 PM
you can't use API calls in Word VBA, sas...
Fury2GE is a freeware COM graphics library I wrote ;)

Sastraxi
Jan 23rd, 2002, 08:06 PM
For sooth! VBA, ack. :) Sorry there!

batleycr
Jan 24th, 2002, 12:15 AM
Thanks for that, where can I find fury2ge ???