9 More Discussions You Might Find Interesting
1. Programming
Hi Experts,
Good morning.
I am trying to convert my hello.py to hello .exe file.
I followed the steps as mentioned in the documentation but getting errors in the end. Please help.
What I did as below--
Created hello.py file
print ("Hello world!")
raw_input('')
Then... (0 Replies)
Discussion started by: shekhar_4_u
0 Replies
2. Shell Programming and Scripting
Hi Guys,
I have used Perl scripting to convert XLSX file to TXT file using Perl module Spreadsheet::XLSX.
I processed one XLSX file having one column and 65k rows of data .
Strangely ,It is merging data for every 2047 row and I could see data in TXT file as Ex: Suppose in XLSX file ,if... (2 Replies)
Discussion started by: Rajk459
2 Replies
3. UNIX for Dummies Questions & Answers
Hi!
On my Ubuntu I have thousands of files in a couple hundred directories. I'm trying to convert the pdf's to jpg's.
I used this command in terminal:
for fname in *.pdf; do convert $fname ${fname%.pdf}.jpg; doneIt works great but the problem is I have to run this in terminal for each... (2 Replies)
Discussion started by: martinsmith
2 Replies
4. UNIX for Dummies Questions & Answers
Hi, I am new to Unix.
Actually, I am using Terminal from MAC OSX Snow Leopard. I have installed XCode and wget 1.14 today.
I just want to download all of the jpg files from a specific blog (from blogspot). But its not working.
Here is the command I use:
wget -r -nd -A jpg come-se
All... (3 Replies)
Discussion started by: bruleke
3 Replies
5. UNIX for Dummies Questions & Answers
I would like to delete all files but keep all the .JPG files.
How can this be accomplished?
Thanks in advance (8 Replies)
Discussion started by: Xterra
8 Replies
6. Shell Programming and Scripting
Hi, Dear all:
One question ! ^_^
I'm using bash under Ubuntu 9.10.
My question is not to rename all ".JPG" files to ".jpg" in a single folder, but to rename all ".JPG" files to ".jpg" in all subfolders.
To rename all ".JPG" to ".jpg" in a single folder,
for x in *.JPG; do mv "$x"... (7 Replies)
Discussion started by: jiapei100
7 Replies
7. UNIX for Dummies Questions & Answers
I am writing a text for LaTeX compile. I think that my grace figs need to be .ps or .eps files for incorporation. Can one just do a 'save as X.eps'
for this, or is another method required? Thanks- Marshall (6 Replies)
Discussion started by: blann
6 Replies
8. AIX
Hello
I would like to see an jpeg image with aix. It is possible ?
how can i do ?
thank you (4 Replies)
Discussion started by: pascalbout
4 Replies
9. UNIX for Dummies Questions & Answers
Hello.
I have a large number of EPS files and a lesser number of PDFs that I need to convert to GIFs/JPGs using a Unix system. Is there a unix utility or application out there that can do this conversion?
Thank you in advance for any help you can provide.
-Pook (1 Reply)
Discussion started by: PookJP
1 Replies
vtopgm(1Vi) vtopgm(1Vi)
NAME
vtopgm - convert image from Vista data file to portable graymap
SYNOPSIS
vtopgm [-option ...] [infile] [outfile]
DESCRIPTION
vtopgm converts one band of an image to a portable graymap (PGM) file. A wide range of filters are available to convert PGM files to other
formats.
This program only produces portable graymaps whose pixel values are in the range 0 to 255. Any type of Vista image is accepted, but the
image is first converted to have ubyte pixels if necessary. This conversion is performed by VConvertImageRange(3Vi).
COMMAND LINE OPTIONS
vtopgm accepts the following options:
-help Prints a message describing options.
-in infile Specifies a Vista data file containing the image to be converted. If the file contains more than one image, only the first
is used.
-out outfile Specifies the file to contain the portable graymap.
-band band Specifies the image band to be converted. Default: 0.
Input and output files can be specified on the command line or allowed to default to the standard input and output streams.
SEE ALSO
pgm(5), VImage(3Vi), Vista(7Vi)
AUTHOR
David Lowe <lowe@cs.ubc.ca>
Vista Version 1.12 24 April 1993 vtopgm(1Vi)