Sean Hincheeinitial push75d07b48 years agoHistory
412 lines · 4.5 KB · HTML
RawDownload
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />	<meta name="keywords" content="9p, 9p2000, research, Plan 9, Inferno, Unix, Open Source, Bell Labs" />	<meta name="description" content="Open source distributed operating system Plan 9 from Bell Labs." />	<link rel="stylesheet" href="/wiki-style.css" media="all" type="text/css" />	<title>Adding your face (Diff)</title></head><body><h1><a name="top"></a>Adding your face <i>-Diff-</i></h1> <div class='body'> <!-- ***************************** --> <hr /><div class='diff_head'><a href="index.html">Wed Feb  6 12:35:59 EST 2013</a>, a</div><hr /><a href="http://plan9.bell-labs.com/magic/man2html/6/face"><i>face</i>(6)</a>filesarelowresolutionimagesthatsymbolizeapersonorgroupofpeople,forexampleauser,acompany,anetworkprovider,oracountry.<p class='para'>Thesefilesarereadbythe<a href="http://plan9.bell-labs.com/magic/man2html/1/faces"><i>faces</i>(1)</a>commandwhichusesthemtodisplayinitswindow,asmallimageforeachuser'smailboxmessage.</p> <p class='para'>facefilesareusuallycreatedbyrescalingeitheragiforjpgimage.</p> <pre>jpg -c myface.jpg  | iconv -c m8 | resample -x 48 -y 48 &gt; myface.1</pre> <p class='para'>Iftheimagecontainsmorethanjustyourfaceoriftheexposureisnon-optimal,RussCoxhaswrittenatoolwhichallowsyoutotrimandadjustyourimage,thoughthisonlywritesblackandwhiteimages.</p> <p class='para'>Muginsistsforitsinputtobeatleast100x100pixelsandthelinebelowaddsawhiteborderaroundtheimagewhichisuseful-givingyouroomtomaneuverwhenediting.</p> <pre>jpg -c myface.jpg |  resample -x 100  |  crop -b 255 255 255 -i -30 |  mug &gt; face.1</pre> <p class='para'>Themanualpageis<a href="http://plan9.bell-labs.com/magic/man2html/1/mug"><i>mug</i>(1)</a>.</p> <p class='para'>Onceyouhavecreatedyourface,installitin/lib/face/48x48x8/f/face.1(yourdirectorypathmayvary)andedit/lib/face/.machinesand/lib/face/48x48x8/.dictasappropriate(see<a href="http://plan9.bell-labs.com/magic/man2html/1/faces"><i>faces</i>(1)</a>).</p> <p class='para'><a href="../9srv.net">9srv.net</a>maintainsapublicfacesdatabase.Ifyoudonothavea9srvaccount,youcanexecute<pre>cd /lib/face &amp;&amp; con -l tcp!9srv.net!50001 | gunzip | tar -x</pre>whichwillcreateaREADMEfile,a"people"directory,anda"domains"directory.Thiswillnotoverwriteanythinginthestandarddistributionorchangesyou'vemadeto.machinelistoranyofthe48x48xndirectories.TheREADMEfilecontainsmoreexamplesforgeneratingfaces.Ifyouremailaddressconsistsofonlythecharacters<a href="mailto:a-zA-Z0-9.@">a-zA-Z0-9.@</a>,youcanaddyourfacetothelistbysendingacorrectly-generated<a href="http://plan9.bell-labs.com/magic/man2html/6/face"><i>face</i>(6)</a>fileasanemailattachmenttoaddatfacedot9srvdotnet.Submissionsforfolkswithotheremailaddresses,aswellasforadditionaldomains,willbehandledmanually;emailaat9srvdotnet.</p> <a name="SEE_ALSO" /><h3>SEE ALSO</h3> <p class='para'><a href="http://doc.cat-v.org/bell_labs/face_the_nation/">FacetheNationbyRobPikeandDavidL.Presotto</a>.</p> <p class='para'>Thereisadatabaseoffaces(piconsintheirterminology)atIndinanaUniversity.ThisincludestheUsenixFacesaverprojectarchives,manycompanylogos,andothermiscimages.<a href="http://ftp.cs.indiana.edu/pub/faces/picons/">http://ftp.cs.indiana.edu/pub/faces/picons/</a></p><hr> </div> <!-- ***************************** --> <hr class='banner_sep' /> <div class='banner'><ul>	<li><a href="../plan_9_wiki/">Wiki</a></li>	<li><a href="../Documentation/">Docs</a></li>	<li><a href="../news/">News</a></li>	<li><a href="../development/">Devel</a></li>	<li><a href="../papers/">Papers</a></li>	<li><a href="../download/">Download</a></li> </ul></div> <hr class='footer_sep' /> <div class='footer'>	<a href="./">Current Page</a> - 	<span class='last_mod'>Last modified Wed Feb  6 12:35:59 EST 2013</span>	<br />	<div class='about_wiki'><a href="http://plan9.bell-labs.com/plan9"><img align="middle" src="http://plan9.bell-labs.com/plan9/img/power36.gif" alt="Powered by Plan 9" /></a>	<a href="../about.html">About this Wiki</a>	</div>  </div> </body></html>