home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / python / pytex / pytexdoc / lib2 / rgbimg / tex / node1_ct.html < prev    next >
LaTeX Document  |  1996-11-08  |  2.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 42 75 | 69 6c 74 2d 69 6e 20 4d |ts of Bu|ilt-in M|
|000000b0| 6f 64 75 6c 65 20 72 67 | 62 69 6d 67 3c 2f 54 49 |odule rg|bimg</TI|
|000000c0| 54 4c 45 3e 0a 0a 3c 4d | 45 54 41 20 48 54 54 50 |TLE>..<M|ETA HTTP|
|000000d0| 2d 45 51 55 49 56 3d 22 | 43 6f 6e 74 65 6e 74 2d |-EQUIV="|Content-|
|000000e0| 54 79 70 65 22 20 43 4f | 4e 54 45 4e 54 3d 22 74 |Type" CO|NTENT="t|
|000000f0| 65 78 74 2f 68 74 6d 6c | 3b 20 63 68 61 72 73 65 |ext/html|; charse|
|00000100| 74 3d 75 74 66 2d 38 22 | 3e 0a 3c 4d 45 54 41 20 |t=utf-8"|>.<META |
|00000110| 4e 41 4d 45 3d 22 76 69 | 65 77 70 6f 72 74 22 20 |NAME="vi|ewport" |
|00000120| 43 4f 4e 54 45 4e 54 3d | 22 77 69 64 74 68 3d 64 |CONTENT=|"width=d|
|00000130| 65 76 69 63 65 2d 77 69 | 64 74 68 2c 20 69 6e 69 |evice-wi|dth, ini|
|00000140| 74 69 61 6c 2d 73 63 61 | 6c 65 3d 31 2e 30 22 3e |tial-sca|le=1.0">|
|00000150| 0a 3c 4d 45 54 41 20 4e | 41 4d 45 3d 22 47 65 6e |.<META N|AME="Gen|
|00000160| 65 72 61 74 6f 72 22 20 | 43 4f 4e 54 45 4e 54 3d |erator" |CONTENT=|
|00000170| 22 4c 61 54 65 58 32 48 | 54 4d 4c 20 76 32 30 32 |"LaTeX2H|TML v202|
|00000180| 32 22 3e 0a 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |2">..<LI|NK REL="|
|00000190| 53 54 59 4c 45 53 48 45 | 45 54 22 20 48 52 45 46 |STYLESHE|ET" HREF|
|000001a0| 3d 22 74 65 78 2e 63 73 | 73 22 3e 0a 0a 3c 4c 49 |="tex.cs|s">..<LI|
|000001b0| 4e 4b 20 52 45 4c 3d 22 | 70 72 65 76 69 6f 75 73 |NK REL="|previous|
|000001c0| 22 20 48 52 45 46 3d 22 | 74 65 78 5f 6d 6e 2e 68 |" HREF="|tex_mn.h|
|000001d0| 74 6d 6c 22 3e 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |tml">.<L|INK REL=|
|000001e0| 22 75 70 22 20 48 52 45 | 46 3d 22 74 65 78 5f 6d |"up" HRE|F="tex_m|
|000001f0| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 2f 48 45 41 44 3e |n.html">|.</HEAD>|
|00000200| 0a 20 0a 3c 42 4f 44 59 | 20 62 67 63 6f 6c 6f 72 |. .<BODY| bgcolor|
|00000210| 3d 22 23 66 66 66 66 66 | 66 22 20 74 65 78 74 3d |="#fffff|f" text=|
|00000220| 22 23 30 30 30 30 30 30 | 22 20 6c 69 6e 6b 3d 22 |"#000000|" link="|
|00000230| 23 39 39 34 34 45 45 22 | 20 76 6c 69 6e 6b 3d 22 |#9944EE"| vlink="|
|00000240| 23 30 30 30 30 66 66 22 | 20 61 6c 69 6e 6b 3d 22 |#0000ff"| alink="|
|00000250| 23 30 30 66 66 30 30 22 | 3e 0a 0a 3c 48 31 3e 3c |#00ff00"|>..<H1><|
|00000260| 41 20 49 44 3d 22 53 45 | 43 54 49 4f 4e 30 30 30 |A ID="SE|CTION000|
|00000270| 31 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |10000000|00000000|
|00000280| 30 22 3e 0a 42 75 69 6c | 74 2d 69 6e 20 4d 6f 64 |0">.Buil|t-in Mod|
|00000290| 75 6c 65 20 72 67 62 69 | 6d 67 3c 2f 41 3e 0a 3c |ule rgbi|mg</A>.<|
|000002a0| 2f 48 31 3e 0a 72 67 62 | 69 6d 67 0a 0a 3c 50 3e |/H1>.rgb|img..<P>|
|000002b0| 0a 54 68 65 20 72 67 62 | 69 6d 67 20 6d 6f 64 75 |.The rgb|img modu|
|000002c0| 6c 65 20 61 6c 6c 6f 77 | 73 20 70 79 74 68 6f 6e |le allow|s python|
|000002d0| 20 70 72 6f 67 72 61 6d | 73 20 74 6f 20 61 63 63 | program|s to acc|
|000002e0| 65 73 73 20 53 47 49 20 | 69 6d 67 6c 69 62 20 69 |ess SGI |imglib i|
|000002f0| 6d 61 67 65 0a 66 69 6c | 65 73 20 28 61 6c 73 6f |mage.fil|es (also|
|00000300| 20 6b 6e 6f 77 6e 20 61 | 73 20 2e 72 67 62 20 66 | known a|s .rgb f|
|00000310| 69 6c 65 73 29 2e 20 20 | 54 68 65 20 6d 6f 64 75 |iles). |The modu|
|00000320| 6c 65 20 69 73 20 66 61 | 72 20 66 72 6f 6d 0a 63 |le is fa|r from.c|
|00000330| 6f 6d 70 6c 65 74 65 2c | 20 62 75 74 20 69 73 20 |omplete,| but is |
|00000340| 70 72 6f 76 69 64 65 64 | 20 61 6e 79 77 61 79 20 |provided| anyway |
|00000350| 73 69 6e 63 65 20 74 68 | 65 20 66 75 6e 63 74 69 |since th|e functi|
|00000360| 6f 6e 61 6c 69 74 79 20 | 74 68 61 74 20 74 68 65 |onality |that the|
|00000370| 72 65 20 69 73 0a 69 73 | 20 65 6e 6f 75 67 68 20 |re is.is| enough |
|00000380| 69 6e 20 73 6f 6d 65 20 | 63 61 73 65 73 2e 20 20 |in some |cases. |
|00000390| 43 75 72 72 65 6e 74 6c | 79 2c 20 63 6f 6c 6f 72 |Currentl|y, color|
|000003a0| 6d 61 70 20 66 69 6c 65 | 73 20 61 72 65 20 6e 6f |map file|s are no|
|000003b0| 74 20 73 75 70 70 6f 72 | 74 65 64 2e 0a 0a 3c 50 |t suppor|ted...<P|
|000003c0| 3e 0a 54 68 65 20 6d 6f | 64 75 6c 65 20 64 65 66 |>.The mo|dule def|
|000003d0| 69 6e 65 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ines the| followi|
|000003e0| 6e 67 20 76 61 72 69 61 | 62 6c 65 73 20 61 6e 64 |ng varia|bles and|
|000003f0| 20 66 75 6e 63 74 69 6f | 6e 73 3a 0a 0a 3c 50 3e | functio|ns:..<P>|
|00000400| 0a 0a 3c 42 52 3e 0a 3c | 49 4d 47 0a 20 20 53 54 |..<BR>.<|IMG. ST|
|00000410| 59 4c 45 3d 22 68 65 69 | 67 68 74 3a 20 31 39 36 |YLE="hei|ght: 196|
|00000420| 2e 32 35 65 78 3b 20 76 | 65 72 74 69 63 61 6c 2d |.25ex; v|ertical-|
|00000430| 61 6c 69 67 6e 3a 20 2d | 30 2e 35 37 65 78 3b 20 |align: -|0.57ex; |
|00000440| 22 20 53 52 43 3d 22 69 | 6d 67 31 2e 70 6e 67 22 |" SRC="i|mg1.png"|
|00000450| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 65 78 |. ALT="\|begin{ex|
|00000460| 63 64 65 73 63 7d 7b 65 | 72 72 6f 72 7d 0a 54 68 |cdesc}{e|rror}.Th|
|00000470| 69 73 20 65 78 63 65 70 | 74 69 6f 6e 20 69 73 20 |is excep|tion is |
|00000480| 72 61 69 73 65 64 20 6f | 6e 20 61 6c 6c 20 65 72 |raised o|n all er|
|00000490| 72 6f 72 73 2c 20 73 75 | 63 68 20 61 73 20 75 6e |rors, su|ch as un|
|000004a0| 73 75 70 70 6f 72 74 65 | 64 20 66 69 6c 65 20 74 |supporte|d file t|
|000004b0| 79 70 65 2c 20 65 74 63 | 2e 0a 5c 65 6e 64 7b 65 |ype, etc|..\end{e|
|000004c0| 78 63 64 65 73 63 7d 22 | 3e 0a 3c 42 52 3e 0a 0a |xcdesc}"|>.<BR>..|
|000004d0| 3c 50 3e 0a 3c 42 52 3e | 0a 3c 49 4d 47 0a 20 20 |<P>.<BR>|.<IMG. |
|000004e0| 53 54 59 4c 45 3d 22 68 | 65 69 67 68 74 3a 20 32 |STYLE="h|eight: 2|
|000004f0| 2e 31 37 65 78 3b 20 76 | 65 72 74 69 63 61 6c 2d |.17ex; v|ertical-|
|00000500| 61 6c 69 67 6e 3a 20 31 | 37 36 2e 35 35 65 78 3b |align: 1|76.55ex;|
|00000510| 20 22 20 53 52 43 3d 22 | 69 6d 67 32 2e 70 6e 67 | " SRC="|img2.png|
|00000520| 22 0a 20 41 4c 54 3d 22 | 5c 62 65 67 69 6e 7b 66 |". ALT="|\begin{f|
|00000530| 75 6e 63 64 65 73 63 7d | 7b 73 69 7a 65 6f 66 69 |uncdesc}|{sizeofi|
|00000540| 6d 61 67 65 7d 7b 66 69 | 6c 65 7d 0a 54 68 69 73 |mage}{fi|le}.This|
|00000550| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 74 75 72 6e | functio|n return|
|00000560| 73 20 61 20 74 75 70 6c | 65 20 5c 63 6f 64 65 7b |s a tupl|e \code{|
|00000570| 28 5c 76 61 72 7b 78 7d | 2e 2e 2e 0a 2e 2e 2e 20 |(\var{x}|....... |
|00000580| 52 47 42 20 70 69 78 65 | 6c 73 2c 20 61 6e 64 20 |RGB pixe|ls, and |
|00000590| 31 20 62 79 74 65 20 67 | 72 65 79 73 63 61 6c 65 |1 byte g|reyscale|
|000005a0| 20 70 69 78 65 6c 73 0a | 61 72 65 20 63 75 72 72 | pixels.|are curr|
|000005b0| 65 6e 74 6c 79 20 73 75 | 70 70 6f 72 74 65 64 2e |ently su|pported.|
|000005c0| 0a 5c 65 6e 64 7b 66 75 | 6e 63 64 65 73 63 7d 22 |.\end{fu|ncdesc}"|
|000005d0| 3e 0a 3c 42 52 3e 0a 0a | 3c 50 3e 0a 3c 42 52 3e |>.<BR>..|<P>.<BR>|
|000005e0| 0a 3c 49 4d 47 0a 20 20 | 53 54 59 4c 45 3d 22 68 |.<IMG. |STYLE="h|
|000005f0| 65 69 67 68 74 3a 20 32 | 2e 33 38 65 78 3b 20 76 |eight: 2|.38ex; v|
|00000600| 65 72 74 69 63 61 6c 2d | 61 6c 69 67 6e 3a 20 31 |ertical-|align: 1|
|00000610| 37 36 2e 34 30 65 78 3b | 20 22 20 53 52 43 3d 22 |76.40ex;| " SRC="|
|00000620| 69 6d 67 33 2e 70 6e 67 | 22 0a 20 41 4c 54 3d 22 |img3.png|". ALT="|
|00000630| 5c 62 65 67 69 6e 7b 66 | 75 6e 63 64 65 73 63 7d |\begin{f|uncdesc}|
|00000640| 7b 6c 6f 6e 67 69 6d 61 | 67 65 64 61 74 61 7d 7b |{longima|gedata}{|
|00000650| 66 69 6c 65 7d 0a 54 68 | 69 73 20 66 75 6e 63 74 |file}.Th|is funct|
|00000660| 69 6f 6e 20 72 65 61 64 | 73 20 61 6e 64 20 64 65 |ion read|s and de|
|00000670| 63 6f 64 65 73 20 74 68 | 65 20 69 6d 61 67 65 20 |codes th|e image |
|00000680| 2e 2e 2e 0a 2e 2e 2e 66 | 6f 72 6d 61 74 20 69 73 |.......f|ormat is|
|00000690| 20 73 75 69 74 61 62 6c | 65 20 74 6f 20 70 61 73 | suitabl|e to pas|
|000006a0| 73 20 74 6f 20 5c 63 6f | 64 65 7b 67 6c 2e 6c 72 |s to \co|de{gl.lr|
|000006b0| 65 63 74 77 72 69 74 65 | 7d 2c 0a 66 6f 72 20 69 |ectwrite|},.for i|
|000006c0| 6e 73 74 61 6e 63 65 2e | 0a 5c 65 6e 64 7b 66 75 |nstance.|.\end{fu|
|000006d0| 6e 63 64 65 73 63 7d 22 | 3e 0a 3c 42 52 3e 0a 0a |ncdesc}"|>.<BR>..|
|000006e0| 3c 50 3e 0a 3c 42 52 3e | 0a 3c 49 4d 47 0a 20 20 |<P>.<BR>|.<IMG. |
|000006f0| 53 54 59 4c 45 3d 22 68 | 65 69 67 68 74 3a 20 32 |STYLE="h|eight: 2|
|00000700| 2e 31 37 65 78 3b 20 76 | 65 72 74 69 63 61 6c 2d |.17ex; v|ertical-|
|00000710| 61 6c 69 67 6e 3a 20 31 | 37 36 2e 36 38 65 78 3b |align: 1|76.68ex;|
|00000720| 20 22 20 53 52 43 3d 22 | 69 6d 67 34 2e 70 6e 67 | " SRC="|img4.png|
|00000730| 22 0a 20 41 4c 54 3d 22 | 5c 62 65 67 69 6e 7b 66 |". ALT="|\begin{f|
|00000740| 75 6e 63 64 65 73 63 7d | 7b 6c 6f 6e 67 73 74 6f |uncdesc}|{longsto|
|00000750| 69 6d 61 67 65 7d 7b 64 | 61 74 61 5c 2c 20 78 5c |image}{d|ata\, x\|
|00000760| 2c 20 79 5c 2c 20 7a 5c | 2c 20 66 69 6c 65 7d 0a |, y\, z\|, file}.|
|00000770| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 77 72 |This fun|ction wr|
|00000780| 69 74 65 73 20 74 68 65 | 2e 2e 2e 0a 2e 2e 2e 70 |ites the|.......p|
|00000790| 65 72 20 70 69 78 65 6c | 2e 0a 54 68 65 73 65 20 |er pixel|..These |
|000007a0| 61 72 65 20 74 68 65 20 | 66 6f 72 6d 61 74 73 20 |are the |formats |
|000007b0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 5c 63 6f 64 |returned| by \cod|
|000007c0| 65 7b 67 6c 2e 6c 72 65 | 63 74 72 65 61 64 7d 2e |e{gl.lre|ctread}.|
|000007d0| 0a 5c 65 6e 64 7b 66 75 | 6e 63 64 65 73 63 7d 22 |.\end{fu|ncdesc}"|
|000007e0| 3e 0a 3c 42 52 3e 0a 0a | 3c 50 3e 0a 3c 42 52 3e |>.<BR>..|<P>.<BR>|
|000007f0| 0a 3c 49 4d 47 0a 20 20 | 53 54 59 4c 45 3d 22 68 |.<IMG. |STYLE="h|
|00000800| 65 69 67 68 74 3a 20 32 | 2e 31 37 65 78 3b 20 76 |eight: 2|.17ex; v|
|00000810| 65 72 74 69 63 61 6c 2d | 61 6c 69 67 6e 3a 20 31 |ertical-|align: 1|
|00000820| 37 36 2e 35 35 65 78 3b | 20 22 20 53 52 43 3d 22 |76.55ex;| " SRC="|
|00000830| 69 6d 67 35 2e 70 6e 67 | 22 0a 20 41 4c 54 3d 22 |img5.png|". ALT="|
|00000840| 5c 62 65 67 69 6e 7b 66 | 75 6e 63 64 65 73 63 7d |\begin{f|uncdesc}|
|00000850| 7b 74 74 6f 62 7d 7b 66 | 6c 61 67 7d 0a 54 68 69 |{ttob}{f|lag}.Thi|
|00000860| 73 20 66 75 6e 63 74 69 | 6f 6e 20 73 65 74 73 20 |s functi|on sets |
|00000870| 61 20 67 6c 6f 62 61 6c | 20 66 6c 61 67 20 77 68 |a global| flag wh|
|00000880| 69 63 68 20 64 65 66 69 | 6e 65 73 20 77 68 65 74 |ich defi|nes whet|
|00000890| 2e 2e 2e 0a 2e 2e 2e 74 | 6f 20 62 6f 74 74 6f 6d |.......t|o bottom|
|000008a0| 28 66 6c 61 67 20 69 73 | 20 6f 6e 65 2c 0a 63 6f |(flag is| one,.co|
|000008b0| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 20 58 29 |mpatible| with X)|
|000008c0| 5c 40 2e 20 54 68 65 20 | 64 65 66 61 75 6c 74 20 |\@. The |default |
|000008d0| 69 73 20 7a 65 72 6f 2e | 0a 5c 65 6e 64 7b 66 75 |is zero.|.\end{fu|
|000008e0| 6e 63 64 65 73 63 7d 22 | 3e 0a 3c 42 52 3e 0a 3c |ncdesc}"|>.<BR>.<|
|000008f0| 48 52 3e 0a 0a 3c 2f 42 | 4f 44 59 3e 0a 3c 2f 48 |HR>..</B|ODY>.</H|
|00000900| 54 4d 4c 3e 0a | |TML>. | |
+--------+-------------------------+-------------------------+--------+--------+