01-15-2004
Oh my ... we have all been using this newly patented 'technology' for years! Are we infringing the patent?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Can any body help me reg. this problem? The problem is
the format of the shell script should be
>renam old new
rename: it renames all files in current directory from old extension to new extension
old: it is the old extension of file name (including the '.' )
new: its the new extension
... (2 Replies)
Discussion started by: Prashanth.m
2 Replies
2. Windows & DOS: Issues & Discussions
I have a batch file that takes 2 parameters--source file location and target file location.
I want to create another batch file that contains all the commands with the file locations so that I dont have to enter the ifnromation every time individually.
For eg:
to execute command
com1.bat... (3 Replies)
Discussion started by: alfredo123
3 Replies
3. UNIX for Dummies Questions & Answers
1. If Shell is something that handles the commands, what is the Operating System them? What does that do actually? Bridge the Shell and the Hardware or Instruction Set together?
2. One of the commands that I'm curious about is the "which" command. I want to know what is exactly written inside... (3 Replies)
Discussion started by: Legend986
3 Replies
4. UNIX for Dummies Questions & Answers
I have about 3000+ files name P08DDD that I want to rename U08DDD. How can I do this using a single command? (8 Replies)
Discussion started by: bbbngowc
8 Replies
5. Shell Programming and Scripting
hi guys :>
after reading several beginner tutorials and howtos i got still some questions concerning a script, i'm working on atm. :confused:
Is it possible to check if a mounted cd (cdrw) is readable and/or writable (clean disk)?
Is it possible to open a new window which displays the... (6 Replies)
Discussion started by: gentox
6 Replies
6. Shell Programming and Scripting
This is possibly a FAQ, but I was unable to find an answer: let's say you have two files named "hello.txt" and "goodbye.txt" and you want them to be "hi.txt" and "seeyou.txt". The typical regular expressions renamer apps do not apply, as you want different new names for each one of the files. The... (2 Replies)
Discussion started by: tokland
2 Replies
7. Shell Programming and Scripting
Hi,
I am new to unix and looking out for some help in reading a file contents and replacing the characters, the requirement is I having a folder and having nearly 300 txt files, all the file contents contains some words we need to iterate all each and every files and need to find and replace it... (1 Reply)
Discussion started by: subrahmaniank
1 Replies
8. Shell Programming and Scripting
I have a file that contains the following multiple times:
0<<
bla bla bla
bla bla bla
exit;
Can somebody give me a sed or AWK command I can use to remove all
occurances from this file.
I would like it to find 0<< (note the zero may be proceeded by spaces) and remove that line and... (3 Replies)
Discussion started by: BeefStu
3 Replies
9. Shell Programming and Scripting
Hi, i have lots of single-column text files in a directory and i want to remove from each of them the first two lines and print the result in multiple new single-column files.
i know that for one file the below tail command would just do the job :
tail -n +3 filename > new_filename
is there... (4 Replies)
Discussion started by: amarn
4 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to move all processed .csv files on sftp to archive dir . I tried to use wildcard *.csv but its not working . Is there any way to do this. I appreciate your help.
Regards,
raj (1 Reply)
Discussion started by: rajeevm
1 Replies
giftopnm(1) General Commands Manual giftopnm(1)
NAME
giftopnm - convert a GIF file into a portable anymap
SYNOPSIS
giftopnm [--alphaout={alpha-filename,-}] [-verbose] [-comments] [-image N] [GIFfile]
DESCRIPTION
This is a graphics format converter from the GIF format to the PNM (i.e. PBM, PGM, or PPM) format.
If the image contains only black and maximally bright white, the output is PBM. If the image contains more than those two colors, but only
grays, the output is PGM. If the image contains other colors, the output is PPM.
If you have an animated GIF file, you can extract individual frames from it with gifsicle and then convert those using giftopnm.
A GIF image contains rectangular pixels. They all have the same aspect ratio, but may not be square (it's actually quite unusual for them
not to be square, but it could happen). The pixels of a Netpbm image are always square. Because of the engineering complexity to do oth-
erwise, giftopnm converts a GIF image to a Netpbm image pixel-for-pixel. This means if the GIF pixels are not square, the Netpbm output
image has the wrong aspect ratio. In this case, giftopnm issues an informational message telling you to run pnmscale to correct the out-
put.
OPTIONS
--alphaout=alpha-filename
giftopnm creates a PGM (portable graymap) file containing the alpha channel values in the input image. If the input image doesn't
contain an alpha channel, the alpha-filename file contains all zero (transparent) alpha values. If you don't specify --alphaout,
giftopnm does not generate an alpha file, and if the input image has an alpha channel, giftopnm simply discards it.
If you specify - as the filename, giftopnm writes the alpha output to Standard Output and discards the image.
See pnmcomp(1) for one way to use the alpha output file.
-verbose
Produce verbose output about the GIF file input.
-comments
Only output GIF89 comment fields.
-image N
Output the specified gif image from the input GIF archive (where N is '1', '2', '20'...). Normally there is only one image per
file, so this option is not needed.
All flags can be abbreviated to their shortest unique prefix.
RESTRICTIONS
This does not correctly handle the Plain Text Extension of the GIF89 standard, since I did not have any example input files containing
them.
SEE ALSO
ppmtogif(1), ppmcolormask(1), pnmcomp(1), gifsicle(1) <http://www.lcdf.org/gifsicle>, ppm(5).
AUTHOR
Copyright (c) 1993 by David Koblas (koblas@netcom.com)
LICENSE
If you use giftopnm, you are using a patent on the LZW compression method which is owned by Unisys, and in all probability you do not have
a license from Unisys to do so. Unisys typically asks $5000 for a license for trivial use of the patent. Unisys has never enforced the
patent against trivial users, and has made statements that it is much less concerned about people using the patent for decompression (which
is what giftopnm does than for compression. The patent expires in 2003 / 2004, depending on the country.
Rumor has it that IBM also owns a patent covering giftopnm.
A replacement for the GIF format that does not require any patents to use is the PNG format.
13 January 2001 giftopnm(1)