02-24-2017
Returning to the forum
hey guys,
Im back! I hadnt thought about yall in a long time. I was googling away this morning and found a solution I needed from unix.com.
good to see yall are still here and going strong!
Im working as a Bladelogic Automation Engineer and have been doing HP and BMC server automation since 2007.
I dabble in some scripting but Im really rusty.
ping me if yall remember me from several years ago. back in the "augths" decade
These 2 Users Gave Thanks to Kelam_Magnus For This Post:
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to return one value from sqlplus to UNIX environment. Can anyone give me an example?
i.e. select username from v$session where sid=15;
This query will return username value which I require in UNIX after exiting from sqlplus.
Malay (1 Reply)
Discussion started by: malaymaru
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I have a mainframe file which i am ftping to unix box.
even though i have three records in my mainframe file the file on unix is coming as a single record.
Can you help me out.
Thanks,
Hari (3 Replies)
Discussion started by: harikiranr
3 Replies
3. Shell Programming and Scripting
Dear Friends,
I need your help once more.
I want to write a simple select as follows
select amount from books
where sr=1234
However, if value of "Amount" is negative then it should print it as follows.
"3000-" and not as "-3000"
Can you help me in this?
Waiting for reply
Anu. (2 Replies)
Discussion started by: anushree.a
2 Replies
4. Shell Programming and Scripting
i have my script all setup but what i was wanting to know is, after a choice has been made on the menu and it completes, what command can i type in to return to the menu of the script. with my script, when a command is finished, it just asks me to input my choice but it doesn't show the menu. any... (3 Replies)
Discussion started by: hotshot247
3 Replies
5. What is on Your Mind?
Just a quick update; to speed up the forums, I have disabled the forum statistics on the home page for non registered users.
No changes for registered users. (0 Replies)
Discussion started by: Neo
0 Replies
6. What is on Your Mind?
For mobile users, I have just added a "first beta" Advanced Forum Statistics to the home page on mobile using CSS overflow:auto; so you can swipe if you need to see more. Google Search Console mobile usability says this page is "mobile friendly" so perhaps this will be useful for some of our... (12 Replies)
Discussion started by: Neo
12 Replies
LEARN ABOUT REDHAT
pnmmontage
pnmmontage(1) General Commands Manual pnmmontage(1)
NAME
pnmmontage - create a montage of portable anymaps
SYNOPSIS
pnmmontage [-?|-help] [-header=headerfile] [-quality=n] [-prefix=prefix] [-0|-1|-2|...|-9] pnmfile...
DESCRIPTION
Packs images of differing sizes into a minimum-area composite image, optionally producing a C header file with the locations of the subim-
ages within the composite image.
OPTIONS
-?, -help
Displays a (very) short usage message.
-header
Tells pnmmontage to write a C header file of the locations of the original images within the packed image. Each original image gen-
erates four #defines within the packed file: xxxX, xxxY, xxxSZX, and xxxSZY, where xxx is the name of the file, converted to all
uppercase. The #defines OVERALLX and OVERALLY are also produced, specifying the total size of the montage image.
-prefix
Tells pnmmontage to use the specified prefix on all of the #defines it generates.
-quality
Before attempting to place the subimages, pnmmontage will calculate a minimum possible area for the montage; this is either the
total of the areas of all the subimages, or the width of the widest subimage times the height of the tallest subimage, whichever is
greater. pnmmontage then initiates a problem-space search to find the best packing; if it finds a solution that is (at least) as
good as the minimum area times the quality as a percent, it will break out of the search. Thus, -q 100 will find the best possible
solution; however, it may take a very long time to do so. The default is -q 200.
-0, -1, ... -9
These options control the quality at a higher level than -q; -0 is the worst quality (literally pick the first solution found),
while -9 is the best quality (perform an exhaustive search of problem space for the absolute best packing). The higher the number,
the slower the computation. The default is -5.
NOTES
Using -9 is excessively slow on all but the smallest image sets. If the anymaps differ in maxvals, then pnmmontage will pick the smallest
maxval which is evenly divisible by each of the maxvals of the original images.
SEE ALSO
pnmcat(1), pnmindex(1), pnm(5), pam(5), pbm(5), pgm(5), ppm(5)
AUTHOR
Copyright (C) 2000 by Ben Olmstead.
31 December 2000 pnmmontage(1)