This file is indexed.

/usr/share/doc/racket/images/Resizing.html is in racket-doc 6.1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>4.8&nbsp;Resizing</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_0&quot;);">&#9658;</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Images</a></td></tr></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1&nbsp;</td><td><a href="Icons.html" class="tocviewlink" data-pltdoc="x">Icons</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="Logos.html" class="tocviewlink" data-pltdoc="x">Logos</a></td></tr><tr><td align="right">3&nbsp;</td><td><a href="Embedding_Bitmaps_in_Compiled_Files.html" class="tocviewlink" data-pltdoc="x">Embedding Bitmaps in Compiled Files</a></td></tr><tr><td align="right">4&nbsp;</td><td><a href="flomap_title.html" class="tocviewselflink" data-pltdoc="x">Floating-<wbr></wbr>Point Bitmaps</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_1&quot;);">&#9660;</a></td><td>4&nbsp;</td><td><a href="flomap_title.html" class="tocviewlink" data-pltdoc="x">Floating-<wbr></wbr>Point Bitmaps</a></td></tr></table><div class="tocviewsublistbottom" style="display: block;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">4.1&nbsp;</td><td><a href="Overview.html" class="tocviewlink" data-pltdoc="x">Overview</a></td></tr><tr><td align="right">4.2&nbsp;</td><td><a href="Struct_Type_and_Accessors.html" class="tocviewlink" data-pltdoc="x">Struct Type and Accessors</a></td></tr><tr><td align="right">4.3&nbsp;</td><td><a href="Conversion_and_Construction.html" class="tocviewlink" data-pltdoc="x">Conversion and Construction</a></td></tr><tr><td align="right">4.4&nbsp;</td><td><a href="Component_Operations.html" class="tocviewlink" data-pltdoc="x">Component Operations</a></td></tr><tr><td align="right">4.5&nbsp;</td><td><a href="Pointwise_Operations.html" class="tocviewlink" data-pltdoc="x">Pointwise Operations</a></td></tr><tr><td align="right">4.6&nbsp;</td><td><a href="Gradients_and_Normals.html" class="tocviewlink" data-pltdoc="x">Gradients and Normals</a></td></tr><tr><td align="right">4.7&nbsp;</td><td><a href="Blur.html" class="tocviewlink" data-pltdoc="x">Blur</a></td></tr><tr><td align="right">4.8&nbsp;</td><td><a href="" class="tocviewselflink" data-pltdoc="x">Resizing</a></td></tr><tr><td align="right">4.9&nbsp;</td><td><a href="Compositing.html" class="tocviewlink" data-pltdoc="x">Compositing</a></td></tr><tr><td align="right">4.10&nbsp;</td><td><a href="Spatial_Transformations.html" class="tocviewlink" data-pltdoc="x">Spatial Transformations</a></td></tr><tr><td align="right">4.11&nbsp;</td><td><a href="Effects.html" class="tocviewlink" data-pltdoc="x">Effects</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-copy%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>copy</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._subflomap%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">subflomap</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-trim%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>trim</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>inset</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lt-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>lt-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lc-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>lc-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lb-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>lb-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-ct-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>ct-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cc-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>cc-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cb-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>cb-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-rt-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>rt-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-rc-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>rc-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-rb-crop%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>rb-<wbr></wbr>crop</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-scale%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>scale</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-resize%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>resize</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.1&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="Blur.html" title="backward to &quot;4.7 Blur&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="flomap_title.html" title="up to &quot;4 Floating-Point Bitmaps&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="Compositing.html" title="forward to &quot;4.9 Compositing&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div><h4 x-source-module="(lib &quot;images/scribblings/images.scrbl&quot;)" x-part-tag="&quot;Resizing&quot;">4.8<tt>&nbsp;</tt><a name="(part._.Resizing)"></a>Resizing</h4><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-copy))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-copy%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-copy</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">x-start</span><span class="hspace">&nbsp;</span><span class="RktVar">y-start</span><span class="hspace">&nbsp;</span><span class="RktVar">x-end</span><span class="hspace">&nbsp;</span><span class="RktVar">y-end</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">x-start</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">y-start</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">x-end</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">y-end</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns the part of <span class="RktVar">fm</span> for which the <span class="RktSym">x</span> coordinate is <span class="RktVar">x-start</span> &#8804; <span class="RktSym">x</span> &lt; <span class="RktVar">x-end</span> and the <span class="RktSym">y</span> coordinate is <span class="RktVar">y-start</span> &#8804; <span class="RktSym">y</span> &lt; <span class="RktVar">y-end</span>.
If <span class="RktVar">x-start</span> &#8805; <span class="RktVar">x-end</span>, the result is width <span class="RktVal">0</span>, and if <span class="RktVar">y-start</span> &#8805; <span class="RktVar">y-end</span>, the result is height <span class="RktVal">0</span>.</div></p><p>The interval arguments may identify a rectangle with points outside the bounds of <span class="RktVar">fm</span>.
In this case, the points&rsquo; values in the returned flomap are <span class="RktVal">0.0</span>, as per the <a href="Overview.html#%28part._flomap~3aconceptual%29" data-pltdoc="x">Conceptual Model</a>.</p><p>This function is guaranteed to return a copy.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._subflomap))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._subflomap%29%29" class="RktValDef RktValLink" data-pltdoc="x">subflomap</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">x-start</span><span class="hspace">&nbsp;</span><span class="RktVar">y-start</span><span class="hspace">&nbsp;</span><span class="RktVar">x-end</span><span class="hspace">&nbsp;</span><span class="RktVar">y-end</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">x-start</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">y-start</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">x-end</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">y-end</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-copy%29%29" class="RktValLink" data-pltdoc="x">flomap-copy</a></span>, but returns <span class="RktVar">fm</span> when <span class="RktVar">x-start</span> and <span class="RktVar">y-start</span> are <span class="RktVal">0</span>, and <span class="RktVar">x-end</span> and <span class="RktVar">y-end</span> are respectively the width and height of <span class="RktVar">fm</span>.</div></p><p>Use <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._subflomap%29%29" class="RktValLink" data-pltdoc="x">subflomap</a></span> instead of <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-copy%29%29" class="RktValLink" data-pltdoc="x">flomap-copy</a></span> when programming functionally.
Every library function that returns parts of a flomap (such as <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-trim%29%29" class="RktValLink" data-pltdoc="x">flomap-trim</a></span> and <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span>) is defined using <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._subflomap%29%29" class="RktValLink" data-pltdoc="x">subflomap</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-trim))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-trim%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-trim</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>[<span class="RktVar">alpha?</span>]<span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">alpha?</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Boolean%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Boolean</a></span><span class="hspace">&nbsp;</span>=<span class="hspace">&nbsp;</span><span class="RktVal">#t</span></td></tr></table></blockquote></div><div class="SIntrapara">Shrinks <span class="RktVar">fm</span> to its largest nonzero rectangle.
If <span class="RktVar">alpha?</span> is <span class="RktVal">#t</span>, it uses only component 0 to determine the largest nonzero rectangle; otherwise, it uses every component.</div></p><p>This function cannot return a larger flomap.</p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=define.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._define%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">define</a></span><span class="hspace">&nbsp;</span><span class="RktSym">small-circle-fm</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="hspace">&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._draw-flomap%29%29" class="RktValLink" data-pltdoc="x">draw-flomap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=lambda.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._%7Ece%7Ebb%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">&#955;</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">fm-dc</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace">&nbsp;</span><span class="RktSym">fm-dc</span><span class="hspace">&nbsp;</span><span class="RktSym">draw-ellipse</span><span class="hspace">&nbsp;</span><span class="RktVal">20</span><span class="hspace">&nbsp;</span><span class="RktVal">20</span><span class="hspace">&nbsp;</span><span class="RktVal">10</span><span class="hspace">&nbsp;</span><span class="RktVal">10</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktVal">100</span><span class="hspace">&nbsp;</span><span class="RktVal">100</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktSym">small-circle-fm</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_161.png" alt="image" width="100" height="100"/></p></td></tr><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-trim%29%29" class="RktValLink" data-pltdoc="x">flomap-trim</a></span><span class="hspace">&nbsp;</span><span class="RktSym">small-circle-fm</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_162.png" alt="image" width="12" height="12"/></p></td></tr></table></blockquote></td></tr></table></div><div class="SIntrapara">See <span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-nonzero-rect%29%29" class="RktValLink" data-pltdoc="x">flomap-nonzero-rect</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-inset))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-inset</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">amt</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">amt</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="RktPn">(</span><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-inset</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">h-amt</span><span class="hspace">&nbsp;</span><span class="RktVar">v-amt</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h-amt</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">v-amt</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="RktPn">(</span><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-inset</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">l-amt</span><span class="hspace">&nbsp;</span><span class="RktVar">t-amt</span><span class="hspace">&nbsp;</span><span class="RktVar">r-amt</span><span class="hspace">&nbsp;</span><span class="RktVar">b-amt</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">l-amt</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">t-amt</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">r-amt</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">b-amt</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Extends <span class="RktVar">fm</span> by some amount on each side, filling any new values with <span class="RktVal">0.0</span>.
Positive inset amounts grow the flomap; negative insets shrink it.
Large negative insets may shrink it to 0&#215;0, which is a valid flomap size.
</div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Example:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal"><span class="nobreak">-1</span>0</span><span class="hspace">&nbsp;</span><span class="RktVal">20</span><span class="hspace">&nbsp;</span><span class="RktVal"><span class="nobreak">-3</span>0</span><span class="hspace">&nbsp;</span><span class="RktVal"><span class="nobreak">-4</span>0</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_163.png" alt="image" width="220" height="220"/></p></td></tr></table></blockquote></td></tr></table></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span><span class="RktVar">left-frac</span><span class="hspace">&nbsp;</span><span class="RktVar">top-frac</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">left-frac</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Real</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">top-frac</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Real</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Shrinks or grows <span class="RktVar">fm</span> to be size <span class="RktVar">w</span>&#215;<span class="RktVar">h</span>.
The proportion of points removed/added to the left and top are given by <span class="RktVar">left-frac</span> and <span class="RktVar">top-frac</span>;
e.g. <span class="RktVar">left-frac</span> = <span class="RktVal">1/2</span> causes the same number to be removed/added to the left and right sides.</div></p><p>You will most likely want to use one of the following cropping functions instead, which are defined using <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-crop%29%29" class="RktValLink" data-pltdoc="x">flomap-crop</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-lt-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lt-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-lt-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-lc-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lc-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-lc-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-lb-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lb-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-lb-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-ct-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-ct-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-ct-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-cc-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cc-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-cc-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-cb-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cb-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-cb-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-rt-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-rt-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-rt-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-rc-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-rc-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-rc-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-rb-crop))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-rb-crop%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-rb-crop</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span></td></tr></table></blockquote></div><div class="SIntrapara">These shrink or grow <span class="RktVar">fm</span> to be size <span class="RktVar">w</span>&#215;<span class="RktVar">h</span>.
The two-letter abbreviation determines which area of the flomap is preserved.
For example, <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lt-crop%29%29" class="RktValLink" data-pltdoc="x">flomap-lt-crop</a></span> (&ldquo;flomap left-top crop&rdquo;) preserves the left-top corner:
</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-lt-crop%29%29" class="RktValLink" data-pltdoc="x">flomap-lt-crop</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal">150</span><span class="hspace">&nbsp;</span><span class="RktVal">150</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_164.png" alt="image" width="150" height="150"/></p></td></tr></table></blockquote></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-scale))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-scale%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-scale</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">x-scale</span><span class="hspace">&nbsp;</span>[<span class="RktVar">y-scale</span>]<span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">x-scale</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Real</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">y-scale</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Real</a></span><span class="hspace">&nbsp;</span>=<span class="hspace">&nbsp;</span><span class="RktVar">x-scale</span></td></tr></table></blockquote></div><div class="SIntrapara">Scales <span class="RktVar">fm</span> to a proportion of its size.
Uses bilinear interpolation to sample between integer coordinates, and reduces resolution (blurs) correctly before downsampling so that shrunk images are still sharp but not aliased (pixelated-looking).
</div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-scale%29%29" class="RktValLink" data-pltdoc="x">flomap-scale</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal">1/8</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_165.png" alt="image" width="33" height="30"/></p></td></tr><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-scale%29%29" class="RktValLink" data-pltdoc="x">flomap-scale</a></span><span class="hspace">&nbsp;</span><span class="RktSym">sine-fm</span><span class="hspace">&nbsp;</span><span class="RktVal">4</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_166.png" alt="image" width="400" height="400"/></p></td></tr><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-scale%29%29" class="RktValLink" data-pltdoc="x">flomap-scale</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal">0</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktRes">(flomap (flvector) 4 0 0)</span></p></td></tr></table></blockquote></td></tr></table></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-resize))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-resize%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-resize</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span><span class="RktVar">h</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">w</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Option%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Option</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">h</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Option%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Option</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=ts-reference&amp;rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Integer%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">Integer</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-scale%29%29" class="RktValLink" data-pltdoc="x">flomap-scale</a></span>, but accepts a width <span class="RktVar">w</span> and height <span class="RktVar">h</span> instead of scaling proportions.
If either size is <span class="RktVal">#f</span>, the flomap is scaled in that direction to maintain its aspect ratio.
</div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-resize%29%29" class="RktValLink" data-pltdoc="x">flomap-resize</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal">50</span><span class="hspace">&nbsp;</span><span class="RktVal">#f</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_167.png" alt="image" width="50" height="47"/></p></td></tr><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-resize%29%29" class="RktValLink" data-pltdoc="x">flomap-resize</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal">#f</span><span class="hspace">&nbsp;</span><span class="RktVal">50</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_168.png" alt="image" width="55" height="50"/></p></td></tr><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap-&gt;bitmap</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-resize%29%29" class="RktValLink" data-pltdoc="x">flomap-resize</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal">20</span><span class="hspace">&nbsp;</span><span class="RktVal">50</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_169.png" alt="image" width="20" height="50"/></p></td></tr><tr><td><span class="stt">&gt; </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-resize%29%29" class="RktValLink" data-pltdoc="x">flomap-resize</a></span><span class="hspace">&nbsp;</span><span class="RktVar">fm</span><span class="hspace">&nbsp;</span><span class="RktVal">0</span><span class="hspace">&nbsp;</span><span class="RktVal">0</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktRes">(flomap (flvector) 4 0 0)</span></p></td></tr></table></blockquote></td></tr></table></div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.1&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="Blur.html" title="backward to &quot;4.7 Blur&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="flomap_title.html" title="up to &quot;4 Floating-Point Bitmaps&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="Compositing.html" title="forward to &quot;4.9 Compositing&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>