home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / Languages / Python / python-14-src / Doc / librgbimg.tex / node1_ct.html < prev    next >
LaTeX Document  |  1997-01-17  |  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 6c 69 62 72 67 62 | 69 6d 67 2e 63 73 73 22 |="librgb|img.css"|
|000001b0| 3e 0a 0a 3c 4c 49 4e 4b | 20 52 45 4c 3d 22 70 72 |>..<LINK| REL="pr|
|000001c0| 65 76 69 6f 75 73 22 20 | 48 52 45 46 3d 22 6c 69 |evious" |HREF="li|
|000001d0| 62 72 67 62 69 6d 67 5f | 6d 6e 2e 68 74 6d 6c 22 |brgbimg_|mn.html"|
|000001e0| 3e 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 75 70 22 |>.<LINK |REL="up"|
|000001f0| 20 48 52 45 46 3d 22 6c | 69 62 72 67 62 69 6d 67 | HREF="l|ibrgbimg|
|00000200| 5f 6d 6e 2e 68 74 6d 6c | 22 3e 0a 3c 2f 48 45 41 |_mn.html|">.</HEA|
|00000210| 44 3e 0a 20 0a 3c 42 4f | 44 59 20 62 67 63 6f 6c |D>. .<BO|DY bgcol|
|00000220| 6f 72 3d 22 23 66 66 66 | 66 66 66 22 20 74 65 78 |or="#fff|fff" tex|
|00000230| 74 3d 22 23 30 30 30 30 | 30 30 22 20 6c 69 6e 6b |t="#0000|00" link|
|00000240| 3d 22 23 39 39 34 34 45 | 45 22 20 76 6c 69 6e 6b |="#9944E|E" vlink|
|00000250| 3d 22 23 30 30 30 30 66 | 66 22 20 61 6c 69 6e 6b |="#0000f|f" alink|
|00000260| 3d 22 23 30 30 66 66 30 | 30 22 3e 0a 0a 3c 48 31 |="#00ff0|0">..<H1|
|00000270| 3e 3c 41 20 49 44 3d 22 | 53 45 43 54 49 4f 4e 30 |><A ID="|SECTION0|
|00000280| 30 30 31 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |00100000|00000000|
|00000290| 30 30 30 22 3e 0a 42 75 | 69 6c 74 2d 69 6e 20 4d |000">.Bu|ilt-in M|
|000002a0| 6f 64 75 6c 65 20 72 67 | 62 69 6d 67 3c 2f 41 3e |odule rg|bimg</A>|
|000002b0| 0a 3c 2f 48 31 3e 0a 72 | 67 62 69 6d 67 0a 0a 3c |.</H1>.r|gbimg..<|
|000002c0| 50 3e 0a 54 68 65 20 72 | 67 62 69 6d 67 20 6d 6f |P>.The r|gbimg mo|
|000002d0| 64 75 6c 65 20 61 6c 6c | 6f 77 73 20 70 79 74 68 |dule all|ows pyth|
|000002e0| 6f 6e 20 70 72 6f 67 72 | 61 6d 73 20 74 6f 20 61 |on progr|ams to a|
|000002f0| 63 63 65 73 73 20 53 47 | 49 20 69 6d 67 6c 69 62 |ccess SG|I imglib|
|00000300| 20 69 6d 61 67 65 0a 66 | 69 6c 65 73 20 28 61 6c | image.f|iles (al|
|00000310| 73 6f 20 6b 6e 6f 77 6e | 20 61 73 20 2e 72 67 62 |so known| as .rgb|
|00000320| 20 66 69 6c 65 73 29 2e | 20 20 54 68 65 20 6d 6f | files).| The mo|
|00000330| 64 75 6c 65 20 69 73 20 | 66 61 72 20 66 72 6f 6d |dule is |far from|
|00000340| 0a 63 6f 6d 70 6c 65 74 | 65 2c 20 62 75 74 20 69 |.complet|e, but i|
|00000350| 73 20 70 72 6f 76 69 64 | 65 64 20 61 6e 79 77 61 |s provid|ed anywa|
|00000360| 79 20 73 69 6e 63 65 20 | 74 68 65 20 66 75 6e 63 |y since |the func|
|00000370| 74 69 6f 6e 61 6c 69 74 | 79 20 74 68 61 74 20 74 |tionalit|y that t|
|00000380| 68 65 72 65 20 69 73 0a | 69 73 20 65 6e 6f 75 67 |here is.|is enoug|
|00000390| 68 20 69 6e 20 73 6f 6d | 65 20 63 61 73 65 73 2e |h in som|e cases.|
|000003a0| 20 20 43 75 72 72 65 6e | 74 6c 79 2c 20 63 6f 6c | Curren|tly, col|
|000003b0| 6f 72 6d 61 70 20 66 69 | 6c 65 73 20 61 72 65 20 |ormap fi|les are |
|000003c0| 6e 6f 74 20 73 75 70 70 | 6f 72 74 65 64 2e 0a 0a |not supp|orted...|
|000003d0| 3c 50 3e 0a 54 68 65 20 | 6d 6f 64 75 6c 65 20 64 |<P>.The |module d|
|000003e0| 65 66 69 6e 65 73 20 74 | 68 65 20 66 6f 6c 6c 6f |efines t|he follo|
|000003f0| 77 69 6e 67 20 76 61 72 | 69 61 62 6c 65 73 20 61 |wing var|iables a|
|00000400| 6e 64 20 66 75 6e 63 74 | 69 6f 6e 73 3a 0a 0a 3c |nd funct|ions:..<|
|00000410| 50 3e 0a 0a 3c 42 52 3e | 0a 3c 49 4d 47 0a 20 20 |P>..<BR>|.<IMG. |
|00000420| 53 54 59 4c 45 3d 22 68 | 65 69 67 68 74 3a 20 31 |STYLE="h|eight: 1|
|00000430| 39 36 2e 32 35 65 78 3b | 20 76 65 72 74 69 63 61 |96.25ex;| vertica|
|00000440| 6c 2d 61 6c 69 67 6e 3a | 20 2d 30 2e 35 37 65 78 |l-align:| -0.57ex|
|00000450| 3b 20 22 20 53 52 43 3d | 22 69 6d 67 31 2e 70 6e |; " SRC=|"img1.pn|
|00000460| 67 22 0a 20 41 4c 54 3d | 22 5c 62 65 67 69 6e 7b |g". ALT=|"\begin{|
|00000470| 65 78 63 64 65 73 63 7d | 7b 65 72 72 6f 72 7d 0a |excdesc}|{error}.|
|00000480| 54 68 69 73 20 65 78 63 | 65 70 74 69 6f 6e 20 69 |This exc|eption i|
|00000490| 73 20 72 61 69 73 65 64 | 20 6f 6e 20 61 6c 6c 20 |s raised| on all |
|000004a0| 65 72 72 6f 72 73 2c 20 | 73 75 63 68 20 61 73 20 |errors, |such as |
|000004b0| 75 6e 73 75 70 70 6f 72 | 74 65 64 20 66 69 6c 65 |unsuppor|ted file|
|000004c0| 20 74 79 70 65 2c 20 65 | 74 63 2e 0a 5c 65 6e 64 | type, e|tc..\end|
|000004d0| 7b 65 78 63 64 65 73 63 | 7d 22 3e 0a 3c 42 52 3e |{excdesc|}">.<BR>|
|000004e0| 0a 0a 3c 50 3e 0a 3c 42 | 52 3e 0a 3c 49 4d 47 0a |..<P>.<B|R>.<IMG.|
|000004f0| 20 20 53 54 59 4c 45 3d | 22 68 65 69 67 68 74 3a | STYLE=|"height:|
|00000500| 20 32 2e 31 37 65 78 3b | 20 76 65 72 74 69 63 61 | 2.17ex;| vertica|
|00000510| 6c 2d 61 6c 69 67 6e 3a | 20 31 37 36 2e 35 35 65 |l-align:| 176.55e|
|00000520| 78 3b 20 22 20 53 52 43 | 3d 22 69 6d 67 32 2e 70 |x; " SRC|="img2.p|
|00000530| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|00000540| 7b 66 75 6e 63 64 65 73 | 63 7d 7b 73 69 7a 65 6f |{funcdes|c}{sizeo|
|00000550| 66 69 6d 61 67 65 7d 7b | 66 69 6c 65 7d 0a 54 68 |fimage}{|file}.Th|
|00000560| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 72 65 74 75 |is funct|ion retu|
|00000570| 72 6e 73 20 61 20 74 75 | 70 6c 65 20 5c 63 6f 64 |rns a tu|ple \cod|
|00000580| 65 7b 28 5c 76 61 72 7b | 78 7d 2e 2e 2e 0a 2e 2e |e{(\var{|x}......|
|00000590| 2e 20 52 47 42 20 70 69 | 78 65 6c 73 2c 20 61 6e |. RGB pi|xels, an|
|000005a0| 64 20 31 20 62 79 74 65 | 20 67 72 65 79 73 63 61 |d 1 byte| greysca|
|000005b0| 6c 65 20 70 69 78 65 6c | 73 0a 61 72 65 20 63 75 |le pixel|s.are cu|
|000005c0| 72 72 65 6e 74 6c 79 20 | 73 75 70 70 6f 72 74 65 |rrently |supporte|
|000005d0| 64 2e 0a 5c 65 6e 64 7b | 66 75 6e 63 64 65 73 63 |d..\end{|funcdesc|
|000005e0| 7d 22 3e 0a 3c 42 52 3e | 0a 0a 3c 50 3e 0a 3c 42 |}">.<BR>|..<P>.<B|
|000005f0| 52 3e 0a 3c 49 4d 47 0a | 20 20 53 54 59 4c 45 3d |R>.<IMG.| STYLE=|
|00000600| 22 68 65 69 67 68 74 3a | 20 32 2e 33 38 65 78 3b |"height:| 2.38ex;|
|00000610| 20 76 65 72 74 69 63 61 | 6c 2d 61 6c 69 67 6e 3a | vertica|l-align:|
|00000620| 20 31 37 36 2e 34 30 65 | 78 3b 20 22 20 53 52 43 | 176.40e|x; " SRC|
|00000630| 3d 22 69 6d 67 33 2e 70 | 6e 67 22 0a 20 41 4c 54 |="img3.p|ng". ALT|
|00000640| 3d 22 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |="\begin|{funcdes|
|00000650| 63 7d 7b 6c 6f 6e 67 69 | 6d 61 67 65 64 61 74 61 |c}{longi|magedata|
|00000660| 7d 7b 66 69 6c 65 7d 0a | 54 68 69 73 20 66 75 6e |}{file}.|This fun|
|00000670| 63 74 69 6f 6e 20 72 65 | 61 64 73 20 61 6e 64 20 |ction re|ads and |
|00000680| 64 65 63 6f 64 65 73 20 | 74 68 65 20 69 6d 61 67 |decodes |the imag|
|00000690| 65 20 2e 2e 2e 0a 2e 2e | 2e 66 6f 72 6d 61 74 20 |e ......|.format |
|000006a0| 69 73 20 73 75 69 74 61 | 62 6c 65 20 74 6f 20 70 |is suita|ble to p|
|000006b0| 61 73 73 20 74 6f 20 5c | 63 6f 64 65 7b 67 6c 2e |ass to \|code{gl.|
|000006c0| 6c 72 65 63 74 77 72 69 | 74 65 7d 2c 0a 66 6f 72 |lrectwri|te},.for|
|000006d0| 20 69 6e 73 74 61 6e 63 | 65 2e 0a 5c 65 6e 64 7b | instanc|e..\end{|
|000006e0| 66 75 6e 63 64 65 73 63 | 7d 22 3e 0a 3c 42 52 3e |funcdesc|}">.<BR>|
|000006f0| 0a 0a 3c 50 3e 0a 3c 42 | 52 3e 0a 3c 49 4d 47 0a |..<P>.<B|R>.<IMG.|
|00000700| 20 20 53 54 59 4c 45 3d | 22 68 65 69 67 68 74 3a | STYLE=|"height:|
|00000710| 20 32 2e 31 37 65 78 3b | 20 76 65 72 74 69 63 61 | 2.17ex;| vertica|
|00000720| 6c 2d 61 6c 69 67 6e 3a | 20 31 37 36 2e 36 38 65 |l-align:| 176.68e|
|00000730| 78 3b 20 22 20 53 52 43 | 3d 22 69 6d 67 34 2e 70 |x; " SRC|="img4.p|
|00000740| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|00000750| 7b 66 75 6e 63 64 65 73 | 63 7d 7b 6c 6f 6e 67 73 |{funcdes|c}{longs|
|00000760| 74 6f 69 6d 61 67 65 7d | 7b 64 61 74 61 5c 2c 20 |toimage}|{data\, |
|00000770| 78 5c 2c 20 79 5c 2c 20 | 7a 5c 2c 20 66 69 6c 65 |x\, y\, |z\, file|
|00000780| 7d 0a 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |}.This f|unction |
|00000790| 77 72 69 74 65 73 20 74 | 68 65 2e 2e 2e 0a 2e 2e |writes t|he......|
|000007a0| 2e 70 65 72 20 70 69 78 | 65 6c 2e 0a 54 68 65 73 |.per pix|el..Thes|
|000007b0| 65 20 61 72 65 20 74 68 | 65 20 66 6f 72 6d 61 74 |e are th|e format|
|000007c0| 73 20 72 65 74 75 72 6e | 65 64 20 62 79 20 5c 63 |s return|ed by \c|
|000007d0| 6f 64 65 7b 67 6c 2e 6c | 72 65 63 74 72 65 61 64 |ode{gl.l|rectread|
|000007e0| 7d 2e 0a 5c 65 6e 64 7b | 66 75 6e 63 64 65 73 63 |}..\end{|funcdesc|
|000007f0| 7d 22 3e 0a 3c 42 52 3e | 0a 0a 3c 50 3e 0a 3c 42 |}">.<BR>|..<P>.<B|
|00000800| 52 3e 0a 3c 49 4d 47 0a | 20 20 53 54 59 4c 45 3d |R>.<IMG.| STYLE=|
|00000810| 22 68 65 69 67 68 74 3a | 20 32 2e 31 37 65 78 3b |"height:| 2.17ex;|
|00000820| 20 76 65 72 74 69 63 61 | 6c 2d 61 6c 69 67 6e 3a | vertica|l-align:|
|00000830| 20 31 37 36 2e 35 35 65 | 78 3b 20 22 20 53 52 43 | 176.55e|x; " SRC|
|00000840| 3d 22 69 6d 67 35 2e 70 | 6e 67 22 0a 20 41 4c 54 |="img5.p|ng". ALT|
|00000850| 3d 22 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |="\begin|{funcdes|
|00000860| 63 7d 7b 74 74 6f 62 7d | 7b 66 6c 61 67 7d 0a 54 |c}{ttob}|{flag}.T|
|00000870| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 73 65 74 |his func|tion set|
|00000880| 73 20 61 20 67 6c 6f 62 | 61 6c 20 66 6c 61 67 20 |s a glob|al flag |
|00000890| 77 68 69 63 68 20 64 65 | 66 69 6e 65 73 20 77 68 |which de|fines wh|
|000008a0| 65 74 2e 2e 2e 0a 2e 2e | 2e 74 6f 20 62 6f 74 74 |et......|.to bott|
|000008b0| 6f 6d 28 66 6c 61 67 20 | 69 73 20 6f 6e 65 2c 0a |om(flag |is one,.|
|000008c0| 63 6f 6d 70 61 74 69 62 | 6c 65 20 77 69 74 68 20 |compatib|le with |
|000008d0| 58 29 5c 40 2e 20 54 68 | 65 20 64 65 66 61 75 6c |X)\@. Th|e defaul|
|000008e0| 74 20 69 73 20 7a 65 72 | 6f 2e 0a 5c 65 6e 64 7b |t is zer|o..\end{|
|000008f0| 66 75 6e 63 64 65 73 63 | 7d 22 3e 0a 3c 42 52 3e |funcdesc|}">.<BR>|
|00000900| 0a 3c 48 52 3e 0a 0a 3c | 2f 42 4f 44 59 3e 0a 3c |.<HR>..<|/BODY>.<|
|00000910| 2f 48 54 4d 4c 3e 0a | |/HTML>. | |
+--------+-------------------------+-------------------------+--------+--------+