08-16-2018
Usually, crop. Anything else would be a ton of manual work.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm on a Solaris box that doesn't have -o as an option for grep (trying to return match only).
Is there any way to get this functionality without the -o option?
I've tried both sed and awk doing something like:
echo "this is a test" | awk '/test/'
or
echo "this is a test | sed '/test/p'... (8 Replies)
Discussion started by: earnstaf
8 Replies
2. Shell Programming and Scripting
I am a beginner in Unix. Though have been asked to write a script to filter(remove duplicates) data from a .dat file. File is very huge containig billions of records.
contents of file looks like
30002157,40342424,OTC,mart_rec,100, ,0
30002157,40343369,OTC,mart_rec,95, ,0... (6 Replies)
Discussion started by: mukeshguliao
6 Replies
3. Shell Programming and Scripting
Ok, i have a .kml file that that i want to trim down and get rid of the rubbish from. its formatted like so:
<Placemark>
<name><!]></name>
<description><!</b><br/>Frequency: <b>2437</b><br/>Timestamp: <b>1304892397000</b><br/>Date: <b>2011-05-08... (11 Replies)
Discussion started by: Phear46
11 Replies
4. Red Hat
Hello,
I just installed RHEL6 OC on my T61p. It's great!
Just for fun I'd like to use some fancy cool Desktop effects. I tried to enable 3D Desktop effects from OC Welcome Center but it gave me error message:
Accelerated 3D graphics is not available. Desktop effects require hardware 3D support.... (7 Replies)
Discussion started by: susja
7 Replies
5. Red Hat
I installed rhel 6.0 in my laptop but it is not upporting 3d graphics of rhel6 and i am getting an error message
"Accelerated 3d graphics not available
Desktop effects require hardware 3D support."
my laptop is dll studio 1558 and my graphic card is ATI Radeon 5470 with 1 gb dedicated ram. (6 Replies)
Discussion started by: nileshgupta
6 Replies
6. Shell Programming and Scripting
Hello,
Although I have found similar questions, I could not find advice that
could help with our problem.
The issue:
We have several hundreds text files containing repeated blocks of text
(I guess back at the time they were prepared like that to optmize
printing).
The block of texts... (13 Replies)
Discussion started by: samask
13 Replies
7. UNIX for Advanced & Expert Users
Hi
I tried a tool called mediainfo
> brew info media-info
media-info 0.7.51
http://mediainfo.sourceforge.net
Depends on: pkg-config
/usr/local/Cellar/media-info/0.7.51 (3 files, 14M)
http://github.com/mxcl/homebrew/commits/master/Library/Formula/media-info.rb
Got details from a test... (3 Replies)
Discussion started by: slashdotweenie
3 Replies
8. Shell Programming and Scripting
Hello,
I have a script that is generating a tab delimited output file.
num Name PCA_A1 PCA_A2 PCA_A3
0 compound_00 -3.5054 -1.1207 -2.4372
1 compound_01 -2.2641 0.4287 -1.6120
3 compound_03 -1.3053 1.8495 ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
LEARN ABOUT DEBIAN
xpstopng
XPSTOPNG(1) XPS Tools XPSTOPNG(1)
NAME
xpstopng - XPS to PNG converter
SYNOPSIS
xpstopng [OPTION...] FILE [OUTPUT FILE]
DESCRIPTION
xpstopng converts XPS documents to PNG format. xpstopng reads the XPS file, FILE, and writes a PNG file per page with the page number and
file type appended to OUTPUT FILE. If OUTPUT FILE is not specified "page" will be used.
OPTIONS
-?, --help
Show help options.
-d DOCUMENT, --document=DOCUMENT
The document inside the XPS file to convert. By default, the first document of the XPS file is used.
-f PAGE, --first=PAGE
The first page to convert.
-l PAGE, --last=PAGE
The last page to convert.
-o, --odd
Convert only odd pages.
-e, --even
Convert only even pages.
-r RESOLUTION, --resolution=RESOLUTION
Horizontal and vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.
--rx=RESOLUTION
Horizontal resolution in PPI (Pixels Per Inch). The default is 150 PPI.
--ry=RESOLUTION
Vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.
-x X, --crop-x=X
The x-coordinate of the crop area top left corner.
-y Y, --crop-y=Y
The y-coordinate of the crop area top left corner.
-w WIDTH, --crop-width=WIDTH
The width of crop area.
-h HEIGHT, --crop-height=HEIGHT
The height of crop area.
-t, --transparent-bg
Use a transparent background for pages instead of white.
BUGS
Please send bug reports to https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps.
SEE ALSO
xpstojpeg(1) xpstopdf(1) xpstops(1) xpstosvg(1)
XPS Tools 11/19/2011 XPSTOPNG(1)