04-11-2009
RE: Read/View .img files from SunOs 5.8
> ok, so what does the file command on Solaris report them as?
I'll check when I go back to the office.
Thank,
~Salomon
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
2. UNIX for Dummies Questions & Answers
i have this unix version "unix v/386" and i want to view the log files how i can do it?
regards (5 Replies)
Discussion started by: sak900354
5 Replies
3. UNIX for Advanced & Expert Users
Hi,
The app I support has a directory used for debugg files. It has just come to light there are no files in there. Or is there :confused:
Changing into the directory and completing an ls -lta you get no files. This is truly not right for the application. If I go up one directory the... (2 Replies)
Discussion started by: nhatch
2 Replies
4. Shell Programming and Scripting
Can some on say how in simplest way to implement the following:
I have two files:
1)
some
some
some
2)
another
another
another
I need to get third file:
3)
some another
some another
some another (1 Reply)
Discussion started by: mirusnet
1 Replies
5. Solaris
Hi,
I am trying to get a small amount of files off of a SunBlade 2000 running SunOS 5.8, but I'm having trouble finding a medium that will actually work. It is not networked, and it doesn't have a writable CD drive. My only options seem to be floppy disk and USB drive. However, when I insert... (11 Replies)
Discussion started by: ryanm
11 Replies
6. UNIX for Dummies Questions & Answers
Hello All
I compressed a file hello by using compress command
compress hello ( enter )
i got the file as hello.z
1. My question is how can i see the file hello.z
2. How can i uncompress it back to change it to filename hello
thanks (4 Replies)
Discussion started by: supercops
4 Replies
7. Solaris
Hi,
I have an ancient SunOS 5.6 and I have to backup all the data onto it. I have tried connecting a tape drive but it does not boot up (something to do with its SCSI configuration I guess) when I do.
So I am left with the possibility of copying files remotely from the SunOs box to another... (3 Replies)
Discussion started by: mojoman
3 Replies
8. Shell Programming and Scripting
Hi,
I have 200+ files in Solaris 10 that I'm trying to rename. I have a few methods that worked in AIX but not working in Solaris.
Can some help me rename file like the below with a script please?
example filename: 0310.Date.00.aa.gz
Need to insert '133': 0310.Date.00.aa.133.gz
... (2 Replies)
Discussion started by: bbbngowc
2 Replies
9. Shell Programming and Scripting
trying to find a way to locate files modified in the last hour in a shell script, unfortunately the command 'find . -mmin -60' is not supported on SunOS 5.10 (works on OpenSolaris 5.11 :mad:)
Does anyone know a method of doing this in shell script on 5.10?
cheers (19 Replies)
Discussion started by: rich@ardz
19 Replies
10. Shell Programming and Scripting
Hi
I am new to Unix shell scripting. But i need help to slove the below issue.
Issue description:
I want to read table, view names and package names in a file
my plan to find the table name is : search "From" key word find the table or view
To find the packge name : Search "Package... (5 Replies)
Discussion started by: sboss
5 Replies
LEARN ABOUT DEBIAN
img-ico
img-ico(3tk) img-ico(3tk)
NAME
img-ico - Img, Windows Icon Format (ico)
SYNOPSIS
package require Tk
package require img::ico ?1.3?
image create photo ?name? ?options?
DESCRIPTION
The package img::ico 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::ico.
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 Icon Format (ico). More specifically img::ico extends Tk's photo image type.
The name of the new format handler is ico. This handler provides new additional configuration options. See section ICO OPTIONS for more
detailed explanations.
All of the above means that in a call like
image create photo ?name? ?options?
[1] Image data in ico format (options -data and -file) is detected automatically.
[2] The format name ico 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 ICO OPTIONS.
SUPPORTED ICO TYPES
1-bit pixels: Black and White.
4-bit pixels: Grayscale or indexed.
8-bit pixels: True-color (RGB, each channel 8 bit).
List of currently supported features:
Type | Read | Write |
| -file | -data | -file | -data |
----------------------------------------
1-bit | Yes | Yes | No | No |
4-bit | Yes | Yes | No | No |
8-bit | Yes | Yes | Yes | Yes |
ICO OPTIONS
The handler provides the following options:
-verbose bool
This option is supported for reading and writing.
If set to true, additional information about the loaded/stored image is printed to stdout. Default is false.
-index n
This option is supported for reading only.
Read the n'th image. The first image is at index 0. Default is 0.
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
ico, image handling, tk
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com>
Img 1.3 img-ico(3tk)