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
. 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.
Dave
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
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
2. Shell Programming and Scripting
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
3. SuSE
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
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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
6. UNIX for Dummies Questions & Answers
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
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. Web Development
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
LEARN ABOUT DEBIAN
text::micromason::executecache
MicroMason::ExecuteCache(3pm) User Contributed Perl Documentation MicroMason::ExecuteCache(3pm)
NAME
Text::MicroMason::ExecuteCache - Use a Cache for Template Results
SYNOPSIS
Instead of using this class directly, pass its name to be mixed in:
use Text::MicroMason;
my $mason = Text::MicroMason->new( -ExecuteCache );
Use the standard compile method to parse a template into a subroutine:
my $subref = $mason->compile( text=>$template );
print $subref->( 'name'=>'Dave' );
The template does not have to be interpreted the second time because the results are cached:
print $subref->( 'name'=>'Dave' ); # fast second time
When run with different arguments, the template is re-interpreted and the results stored:
print $subref->( 'name'=>'Bob' ); # first time for Bob
print $subref->( 'name'=>'Bob' ); # fast second time for Bob
DESCRIPTION
Caches the output of templates.
Note that you should not use this feature if your template code interacts with any external state, such as making changes to an external
data source or obtaining values that will change in the future. (However, you can still use the caching provided by
Text::MicroMason::CompileCache.)
Public Methods
compile()
Wraps each template that is compiled into a Perl subroutine in a memoizing closure.
Supported Attributes
execute_cache
Defaults to an instance of Text::MicroMason::Cache::Simple.
This module uses a simple cache interface that is widely supported: the only methods required are "get($key)" and "set($key, $value)". You
can use the simple cache classes provided in the Text::MicroMason::Cache:: namespace, or select other caching modules on CPAN that support
the interface described in Cache::Cache.
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 2007-01-29 MicroMason::ExecuteCache(3pm)