10-12-2016
Moderator's Comments:
|
|
Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received. Do not paraphrase errors, or post the text as links, images, or attachments if you can avoid it: Paste the exact message, in code tags, like [code] text [/code] or by selecting the text and using the button.
Thank you.
The UNIX and Linux Forums
|
|
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a basic question in Scripting.
Can anyone tell me what is the difference b/w the two syntax :
if (( $lines = 0 ));
and
if ;
when do we use the square brackets & when to use the paranthesis.
Thanks,
Pradeep (3 Replies)
Discussion started by: pradeep_desh
3 Replies
2. UNIX for Dummies Questions & Answers
Can any body help me on how to check whether a file contains a required extension or not.
pseudo is:
if (filename contains .jpg || filename contains .gif)
--- do some thing
end if
Example file names:
test1.grm.gtrx.drx.jpg
test.de.mi.jpg
test2.ds.gif
test3.gif
thanks in advance (2 Replies)
Discussion started by: devs
2 Replies
3. Shell Programming and Scripting
Hi,
I have a script which I need to modify the date "01/10/2008" and "31/10/2008" every month before running the report. Can I have some script to take the date automatically from the cal option.
Hope it makes sense.
Thanks in advance. (1 Reply)
Discussion started by: Jayanthsec
1 Replies
4. AIX
Hello , Everyone ,
I want to know the Aix Basics and how it works ,hardware related problems and solution etc. (1 Reply)
Discussion started by: narendram
1 Replies
5. Shell Programming and Scripting
how do i use the ls command with a single argument to list all files whose names end with the letter 'r'? (7 Replies)
Discussion started by: lilbo4231
7 Replies
6. UNIX for Dummies Questions & Answers
hello everyone
i have to start with unix as it is a part of my training programme and i have to do a self study, i dont know where to start from. i need some basic questions to be answerd like why we use unix ? what is a terminal? what is an editor? why we write commands inside terminal?
these... (4 Replies)
Discussion started by: aryancool
4 Replies
7. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
img-ppm(n) img-ppm(n)
NAME
img-ppm - Img, Portable Pixmap format (ppm)
SYNOPSIS
package require Tk
package require img::ppm ?1.3?
image create photo ?name? ?options?
DESCRIPTION
The package img::ppm 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::ppm.
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 Pixmap format (ppm). More specifically img::ppm extends Tk's photo image type.
The name of the new format handler is ppm. This handler does not provide additional configuration options.
All of the above means that in a call like
image create photo ?name? ?options?
[1] Image data in ppm format (options -data and -file) is detected automatically.
[2] The format name ppm is recognized by the option -format.
SUPPORTED PPM TYPES
There are two types of PPM files: RAW (binary) and ASCII. Currently only the RAW format is implemented.
8-bit pixels: Grayscale, also known as PGM.
24-bit pixels: True-color (RGB, each channel 8 bit).
List of currently supported features:
Type | Read | Write |
| -file | -data | -file | -data |
----------------------------------------
8-bit | Yes | Yes | Yes | Yes |
24-bit | Yes | Yes | Yes | Yes |
SEE ALSO
img-bmp, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img-
window, img-xbm, img-xpm
KEYWORDS
image handling, ppm, tk
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com>
Img 1.3 img-ppm(n)