01-04-2018
Obligatory :
5 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I had an issue with a second hard disk in my machine. I have a sparc station running solaris 7. It was working fine but now it wont mount on boot up and when you try to mount it manually it gives an I/O error. I tried a different disk as a control which was fine. What I want to know is if my... (3 Replies)
Discussion started by: Henrik
3 Replies
2. Solaris
Hi there!!!
Need your help in solving some tricky problems.
Since clock() as such is buggy on SUN OS 5 we have started using gettimeofday() in our RTOS applications based on Solaris 9.
The problems we actually encountered previously were - the applications kind of freeze/hang eternally on... (1 Reply)
Discussion started by: smanu
1 Replies
3. UNIX for Beginners Questions & Answers
I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time.
I am seeing various bugs. I don't know if the problems are due to:
(a) Hardware problems with the new laptop.
(b) Software issues, i.e. Ubuntu not working with the other... (7 Replies)
Discussion started by: twelth_hour
7 Replies
4. War Stories
Apologies if this is the wrong forum but...
...This is hard hitting stuff.
LKML: Linus Torvalds: Re: x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation (5 Replies)
Discussion started by: wisecracker
5 Replies
5. AIX
Apologies for this newbie question. We have inherited an IBM p5 520 (9111-520) running AIX 6.1.0.0 which seems to be the base install and no further patches installed.
Is this vulnerable to the Spectre/Meltdown threat?
Are patches available?
Looks like AIX 6.1.0.0 went 'end of support' in... (8 Replies)
Discussion started by: the_garbage
8 Replies
LEARN ABOUT DEBIAN
img-ppm
img-ppm(3tk) img-ppm(3tk)
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(3tk)