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)
Check Out this Related Man Page
img-bmp(3tk)img-bmp(3tk)NAME
img-bmp - Img, Windows Bitmap Format (bmp)
SYNOPSIS
package require Tk
package require img::bmp ?1.3?
image create photo ?name? ?options?
DESCRIPTION
The package img::bmp 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::bmp.
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 Windows Bitmap Format (bmp). More specifically img::bmp extends Tk's photo image type.
The name of the new format handler is bmp. 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 bmp format (options -data and -file) is detected automatically.
[2] The format name bmp is recognized by the option -format.
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
bmp, image handling, tk
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com>
Img 1.3 img-bmp(3tk)
ok, this one is definitely too hard for my shell-script-skills.
Hopefully, there is somebody who can help me with this:
I have a folder with files in it named
0.ppm
10.ppm
2.ppm
...
5.ppm
50.ppm
55.ppm
...
355.ppm
360.ppm
etc.
As you will notice, the order in which the files are... (5 Replies)
A month or so ago Ubuntu Dapper did its auto-update thing and installed the new kernel (intrd.img-2.6.15-28-386, upgraded from intrd.img-2.6.15-27-386). I rebooted after install and immediately the xserver would not load. I quickly figured out that I could boot the old kernel from GRUB however,... (1 Reply)
We use imaging software from a cardiology clinic on SunOS 5.8 and I want to be able to see these image files (.img extension) on Windows XP. Can this be done? If so, with what software (on Windows XP)? On Windows XP, I've used software like Ulead PhotoImpact and Corel PhotoPaint but I've had no... (16 Replies)
Hi guys I want to create a script which will show the amount of data that is been copied from one location to another location.
For example:
Say i have a file called abc.img which is approximately 4 gb of size therfore everytime i copy the file from one location to another i want a progress bar... (3 Replies)
Hello,
I have files like this
img.txt
./Rearrange_zoca/fitted_data/WX226_05b_Ncere.jpg
./Rearrange_zoca/fitted_data/w322_03B_60_70.jpg
./Rearrange_zoca/fitted_data/wrx226_12A_50_60.jpg
./Rearrange_zoca/fitted_data/wx124_01A_50_60.jpg
./Rearrange_zoca/fitted_data/wx124_02A_50_60.jpg... (3 Replies)
Hi
I am newbie to unix scripting, but i have enough knowledge to understand.
I have a specific questions like, I use to collect like 3500 files per experiment, each one named like
data_001.img..
data_002.img
data_003.img
....
data_3500.img
I would like to move every 12 files in the 3500... (3 Replies)
Hi,
Below are the 2 files in directory /tmp:
masterCSF242323.img
indexCSF242323.img
1) I want to compare if both the number (242323) are same in both the files. If they are same print - Files matching, else print files do not match.
2) Also if only index file is present in that... (7 Replies)
Hi fellas!
I make a sh script which the following:
sudo mkdir Temp
sudo mount -o loop output.img Temp
The command mounts the img.Thats fine.But it moun s it as read only.But I need to edit/delete some files inside it and repack it as ext4 using this command:
sudo ./mkuserimg.sh -s Temp... (3 Replies)