Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
pnmmontage(1)
Edit
PageHistory
Diff
Info
LikePages
pnmmontage !!!pnmmontage NAME SYNOPSIS DESCRIPTION OPTIONS NOTES SEE ALSO AUTHOR ---- !!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 subimages 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 generates 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. ----
One page links to
pnmmontage(1)
:
Man1p
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.