Stamping Text on an Image File


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Stamping Text on an Image File
# 1  
Old 04-29-2004
Stamping Text on an Image File

Hi all, again, I have lots of questions I guess. This one should be easier though Smilie . 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 super PDF thing. We also thought that using a printer filter might work.

I was wondering if any of you knowledgable people knew of any PDF type things, where we could stamp the text onto a specific X,Y coordinate of the template or a good source of information for either the PostScript or the filters.

I did find some things, but they are way over budget for what we have to do this for. We tried using ImageMagick to write over everything, but it took up too many system resources.

Like before, thanks for the advice and hopefully I'll stop bugging you guys sometime. Smilie

Dave
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

Perl script to extract text from image file

Hi Folks, Could you please share your ideas on extracting text from image file(jpg,png and gif formats). Regards, J (1 Reply)
Discussion started by: scriptscript
1 Replies

4. 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

5. UNIX for Dummies Questions & Answers

Text file + image/form/overlay file to PDF

Hi, We have an app specific legacy environment running SCO Openserver 5.0.7. I need to be able to (1) scan a pre-existing “form” consisting of logo/boxes/lines/static text as an image , (2) lay a print file from the app "on top of the image" and (3) output the "merge" as a PDF file. Scanning... (1 Reply)
Discussion started by: 65bit
1 Replies

6. Shell Programming and Scripting

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... (3 Replies)
Discussion started by: cgkmal
3 Replies

7. Shell Programming and Scripting

Send mail with rich text / HTML with image

Hi, Is it possible to send mail from my HP-Ux system with images, rich text? I would like to program in such a way that I have my company's logo(.jpg) image attached in the mail geeting triggered. I would like to send a rich text/HTML email instead of plain text mail to the recipients. Is it... (2 Replies)
Discussion started by: rythym05
2 Replies

8. SuSE

Regarding Time Stamping in the FTP Server

How can i change the FTP Server time stamping? Problem is 1. Our server timing is Fri Feb 13 14:17:22 SGT 2009 2. Out FTP Server timing is GMT Can anyone tell me how can i make the FTP Server timing is our local timing? (5 Replies)
Discussion started by: kingganesh04
5 Replies

9. 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

10. 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
Login or Register to Ask a Question
MicroMason::LineNumbers(3pm)				User Contributed Perl Documentation			      MicroMason::LineNumbers(3pm)

NAME
Text::MicroMason::LineNumbers - Report errors at correct source code line numbers DESCRIPTION
This mixin class associates each token in a template with the line number on which it was found, and then inserts special comments in the generated Perl code that preserve that original source file and line number information. This should facilitate debugging, by making it easier to match up run- time errors with the template code that produced them. To turn this behavior on, just add "-LineNumbers" to your MicroMason creation call: my $mason = Text::MicroMason->new( qw( -LineNumbers ) ); Public Methods These methods are called from within the normal flow of MicroMason functionality, and you do not need to invoke them directly. read() Clears the variables used to store the file name and first line of a template, so that they can be set by the methods below. read_file() Saves the source file name before invoking the standard behavior for this method. $mason->compile( file => $filename ); read_handle() Saves the caller's file name before invoking the standard behavior for this method. $mason->compile( handle => $filename ); read_text() Saves the caller's file name before invoking the standard behavior for this method. $mason->compile( text => $filename ); read_inline() This is similar to read_text, except it adjusts the line numbering to reflect a template that's embdded as a literal text in the Perl code. $mason->compile( inline => q{ My template text goes here. } ); lex() Identical to the lex() method provided by the Base class, except that it also inserts a stream of line-number-setting comments into the to-be- compiled Perl code that attempt to re-synchronize the assembler_rules() Maps the "line_num" token to a perl line number comment. Private Methods _get_external_caller() Returns the source file and line number of the first item in the function call stack that is not a Text::MicroMason package. SEE ALSO
For an overview of this templating framework, see Text::MicroMason. This is a mixin class intended for use with Text::MicroMason::Base. For distribution, installation, support, copyright and license information, see Text::MicroMason::Docs::ReadMe. perl v5.10.1 2009-11-11 MicroMason::LineNumbers(3pm)