Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

img-ppm(3tk) [debian man page]

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)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

script to change filename with numbers

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)
Discussion started by: silversurfer202
5 Replies

2. UNIX for Dummies Questions & Answers

VMPlayer stopped working after ubuntu updated kernel

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)
Discussion started by: forchessonly
1 Replies

3. Solaris

Read/View .img files from SunOs 5.8

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)
Discussion started by: sreyes27
16 Replies

4. Shell Programming and Scripting

Progress bar while coping a file needed.

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)
Discussion started by: pinga123
3 Replies

5. Shell Programming and Scripting

Moving files to their respective subdirectories

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)
Discussion started by: avatar_007
3 Replies

6. Shell Programming and Scripting

search for an expression in a file and print the 3 lines above it

Hi, I have a file like this comment.txt 1.img 2.img 3.img OK x.img y.img z.img not ok 1.img 2.img 3.img bad 1.img 2.img 3.img (7 Replies)
Discussion started by: avatar_007
7 Replies

7. UNIX for Dummies Questions & Answers

moving/copying files in a numerical order

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)
Discussion started by: wpat
3 Replies

8. Shell Programming and Scripting

Check for particular files and compare the file names

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)
Discussion started by: apatil65
7 Replies

9. Shell Programming and Scripting

How to remount .img as rw and repack

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)
Discussion started by: vijai
3 Replies