02-09-2009
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. UNIX for Dummies Questions & Answers
Hi,
I need to develop one application that reads all my mails (in unix mail box), and write into one txt file, My server is AIX .My mails are in AIX mail box.
Any idea? (0 Replies)
Discussion started by: redlotus72
0 Replies
3. Shell Programming and Scripting
Hello friends,
I want a command to print the reult files from find command into a text file.:)
Iam looking from forum memebers. PLZ help me.ASAP
Thanks in Advance,
Siva Ranganath CH (5 Replies)
Discussion started by: sivaranga001
5 Replies
4. 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
5. Shell Programming and Scripting
I have a list of DNS servers I need to look up information on. Each of these servers has a master and a slave database. Essentially what I need to do is create two text files for each server. One with the Master view and one with the Slave view. There's 20 servers, in the end I should have 40 text... (4 Replies)
Discussion started by: spartan22
4 Replies
6. 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
7. 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
8. Shell Programming and Scripting
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies
9. Shell Programming and Scripting
I have a directory that is restricted and I cannot just copy the files need, but I can cat them and redirect them to a new directory. The files all have the date listed in them. If I perform a long listing and grep for the date (150620) I can redirect that output to a text file. Now I need to... (5 Replies)
Discussion started by: trigger467
5 Replies
10. 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
img-png(n) img-png(n)
__________________________________________________________________________________________________________________________________________________
NAME
img-png - Img, Portable Network Graphics format (png)
SYNOPSIS
package require Tk
package require img::png ?1.4?
image create photo ?name? ?options?
_________________________________________________________________
DESCRIPTION
The package img::png is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its
own, via package require img::png.
Like all packages of Img it does not provide new commands, but extends the existing Tk command image so that it supports files containing
raster images in the Portable Network Graphics format (png). More specifically img::png extends Tk's photo image type.
The name of the new format handler is png. This handler provides new additional configuration options. See section PNG OPTIONS for more
detailed explanations.
All of the above means that in a call like
image create photo ?name? ?options?
[1] Image data in png format (options -data and -file) is detected automatically.
[2] The format name png is recognized by the option -format. In addition the value for the option is treated as list and may contain
any of the special options listed in section PNG OPTIONS.
PNG OPTIONS
The handler provides no true options at all, but accepts pairs of keys and values when writing a PNG file. Each pair will be written as a
named text chunk where the key provides the name of the chunk and the value its contents. For example
png Author <name> Title <title> Description ...
TRANSPARENCY
If you want to write images to disk which contain transparency information (e.g. PNG with alpha channel) you need at least Tk 8.3.
SEE ALSO
img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi, img-sun, img-
tga, img-tiff, img-window, img-xbm, img-xpm
KEYWORDS
image handling, png, tk
COPYRIGHT
Copyright (c) 1995-2009 Jan Nijtmans <nijtmans@users.sourceforge.net>
Img 1.4 img-png(n)