home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
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 69 6d | 61 67 65 6f 70 3c 2f 54 |odule im|ageop</T|
|000000c0| 49 54 4c 45 3e 0a 0a 3c | 4d 45 54 41 20 48 54 54 |ITLE>..<|META HTT|
|000000d0| 50 2d 45 51 55 49 56 3d | 22 43 6f 6e 74 65 6e 74 |P-EQUIV=|"Content|
|000000e0| 2d 54 79 70 65 22 20 43 | 4f 4e 54 45 4e 54 3d 22 |-Type" C|ONTENT="|
|000000f0| 74 65 78 74 2f 68 74 6d | 6c 3b 20 63 68 61 72 73 |text/htm|l; chars|
|00000100| 65 74 3d 75 74 66 2d 38 | 22 3e 0a 3c 4d 45 54 41 |et=utf-8|">.<META|
|00000110| 20 4e 41 4d 45 3d 22 76 | 69 65 77 70 6f 72 74 22 | NAME="v|iewport"|
|00000120| 20 43 4f 4e 54 45 4e 54 | 3d 22 77 69 64 74 68 3d | CONTENT|="width=|
|00000130| 64 65 76 69 63 65 2d 77 | 69 64 74 68 2c 20 69 6e |device-w|idth, in|
|00000140| 69 74 69 61 6c 2d 73 63 | 61 6c 65 3d 31 2e 30 22 |itial-sc|ale=1.0"|
|00000150| 3e 0a 3c 4d 45 54 41 20 | 4e 41 4d 45 3d 22 47 65 |>.<META |NAME="Ge|
|00000160| 6e 65 72 61 74 6f 72 22 | 20 43 4f 4e 54 45 4e 54 |nerator"| CONTENT|
|00000170| 3d 22 4c 61 54 65 58 32 | 48 54 4d 4c 20 76 32 30 |="LaTeX2|HTML v20|
|00000180| 32 32 22 3e 0a 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |22">..<L|INK REL=|
|00000190| 22 53 54 59 4c 45 53 48 | 45 45 54 22 20 48 52 45 |"STYLESH|EET" HRE|
|000001a0| 46 3d 22 74 65 78 2e 63 | 73 73 22 3e 0a 0a 3c 4c |F="tex.c|ss">..<L|
|000001b0| 49 4e 4b 20 52 45 4c 3d | 22 70 72 65 76 69 6f 75 |INK REL=|"previou|
|000001c0| 73 22 20 48 52 45 46 3d | 22 74 65 78 5f 6d 6e 2e |s" HREF=|"tex_mn.|
|000001d0| 68 74 6d 6c 22 3e 0a 3c | 4c 49 4e 4b 20 52 45 4c |html">.<|LINK REL|
|000001e0| 3d 22 75 70 22 20 48 52 | 45 46 3d 22 74 65 78 5f |="up" HR|EF="tex_|
|000001f0| 6d 6e 2e 68 74 6d 6c 22 | 3e 0a 3c 2f 48 45 41 44 |mn.html"|>.</HEAD|
|00000200| 3e 0a 20 0a 3c 42 4f 44 | 59 20 62 67 63 6f 6c 6f |>. .<BOD|Y bgcolo|
|00000210| 72 3d 22 23 66 66 66 66 | 66 66 22 20 74 65 78 74 |r="#ffff|ff" text|
|00000220| 3d 22 23 30 30 30 30 30 | 30 22 20 6c 69 6e 6b 3d |="#00000|0" link=|
|00000230| 22 23 39 39 34 34 45 45 | 22 20 76 6c 69 6e 6b 3d |"#9944EE|" vlink=|
|00000240| 22 23 30 30 30 30 66 66 | 22 20 61 6c 69 6e 6b 3d |"#0000ff|" alink=|
|00000250| 22 23 30 30 66 66 30 30 | 22 3e 0a 0a 3c 48 31 3e |"#00ff00|">..<H1>|
|00000260| 3c 41 20 49 44 3d 22 53 | 45 43 54 49 4f 4e 30 30 |<A ID="S|ECTION00|
|00000270| 30 31 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |01000000|00000000|
|00000280| 30 30 22 3e 0a 42 75 69 | 6c 74 2d 69 6e 20 4d 6f |00">.Bui|lt-in Mo|
|00000290| 64 75 6c 65 20 69 6d 61 | 67 65 6f 70 3c 2f 41 3e |dule ima|geop</A>|
|000002a0| 0a 3c 2f 48 31 3e 0a 69 | 6d 61 67 65 6f 70 0a 0a |.</H1>.i|mageop..|
|000002b0| 3c 50 3e 0a 54 68 65 20 | 69 6d 61 67 65 6f 70 20 |<P>.The |imageop |
|000002c0| 6d 6f 64 75 6c 65 20 63 | 6f 6e 74 61 69 6e 73 20 |module c|ontains |
|000002d0| 73 6f 6d 65 20 75 73 65 | 66 75 6c 20 6f 70 65 72 |some use|ful oper|
|000002e0| 61 74 69 6f 6e 73 20 6f | 6e 20 69 6d 61 67 65 73 |ations o|n images|
|000002f0| 2e 0a 49 74 20 6f 70 65 | 72 61 74 65 73 20 6f 6e |..It ope|rates on|
|00000300| 20 69 6d 61 67 65 73 20 | 63 6f 6e 73 69 73 74 69 | images |consisti|
|00000310| 6e 67 20 6f 66 20 38 20 | 6f 72 20 33 32 20 62 69 |ng of 8 |or 32 bi|
|00000320| 74 20 70 69 78 65 6c 73 | 0a 73 74 6f 72 65 64 20 |t pixels|.stored |
|00000330| 69 6e 20 50 79 74 68 6f | 6e 20 73 74 72 69 6e 67 |in Pytho|n string|
|00000340| 73 2e 20 20 54 68 69 73 | 20 69 73 20 74 68 65 20 |s. This| is the |
|00000350| 73 61 6d 65 20 66 6f 72 | 6d 61 74 20 61 73 20 75 |same for|mat as u|
|00000360| 73 65 64 0a 62 79 20 67 | 6c 2e 6c 72 65 63 74 77 |sed.by g|l.lrectw|
|00000370| 72 69 74 65 20 61 6e 64 | 20 74 68 65 20 69 6d 67 |rite and| the img|
|00000380| 66 69 6c 65 20 6d 6f 64 | 75 6c 65 2e 0a 0a 3c 50 |file mod|ule...<P|
|00000390| 3e 0a 54 68 65 20 6d 6f | 64 75 6c 65 20 64 65 66 |>.The mo|dule def|
|000003a0| 69 6e 65 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ines the| followi|
|000003b0| 6e 67 20 76 61 72 69 61 | 62 6c 65 73 20 61 6e 64 |ng varia|bles and|
|000003c0| 20 66 75 6e 63 74 69 6f | 6e 73 3a 0a 0a 3c 50 3e | functio|ns:..<P>|
|000003d0| 0a 0a 3c 50 3e 0a 3c 42 | 52 3e 0a 3c 49 4d 47 0a |..<P>.<B|R>.<IMG.|
|000003e0| 20 20 53 54 59 4c 45 3d | 22 68 65 69 67 68 74 3a | STYLE=|"height:|
|000003f0| 20 31 39 36 2e 32 35 65 | 78 3b 20 76 65 72 74 69 | 196.25e|x; verti|
|00000400| 63 61 6c 2d 61 6c 69 67 | 6e 3a 20 2d 30 2e 35 37 |cal-alig|n: -0.57|
|00000410| 65 78 3b 20 22 20 53 52 | 43 3d 22 69 6d 67 31 2e |ex; " SR|C="img1.|
|00000420| 70 6e 67 22 0a 20 41 4c | 54 3d 22 5c 62 65 67 69 |png". AL|T="\begi|
|00000430| 6e 7b 65 78 63 64 65 73 | 63 7d 7b 65 72 72 6f 72 |n{excdes|c}{error|
|00000440| 7d 0a 54 68 69 73 20 65 | 78 63 65 70 74 69 6f 6e |}.This e|xception|
|00000450| 20 69 73 20 72 61 69 73 | 65 64 20 6f 6e 20 61 6c | is rais|ed on al|
|00000460| 6c 20 65 72 72 6f 72 73 | 2c 20 73 75 63 68 20 61 |l errors|, such a|
|00000470| 73 20 75 6e 6b 6e 6f 77 | 6e 20 6e 75 6d 62 65 72 |s unknow|n number|
|00000480| 20 6f 66 20 62 69 74 73 | 0a 70 65 72 20 70 69 78 | of bits|.per pix|
|00000490| 65 6c 2c 20 65 74 63 2e | 0a 5c 65 6e 64 7b 65 78 |el, etc.|.\end{ex|
|000004a0| 63 64 65 73 63 7d 22 3e | 0a 3c 42 52 3e 0a 0a 3c |cdesc}">|.<BR>..<|
|000004b0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|000004c0| 54 59 4c 45 3d 22 68 65 | 69 67 68 74 3a 20 32 2e |TYLE="he|ight: 2.|
|000004d0| 31 37 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |17ex; ve|rtical-a|
|000004e0| 6c 69 67 6e 3a 20 31 37 | 36 2e 36 38 65 78 3b 20 |lign: 17|6.68ex; |
|000004f0| 22 20 53 52 43 3d 22 69 | 6d 67 32 2e 70 6e 67 22 |" SRC="i|mg2.png"|
|00000500| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 66 75 |. ALT="\|begin{fu|
|00000510| 6e 63 64 65 73 63 7d 7b | 63 72 6f 70 7d 7b 69 6d |ncdesc}{|crop}{im|
|00000520| 61 67 65 5c 2c 20 70 73 | 69 7a 65 5c 2c 20 77 69 |age\, ps|ize\, wi|
|00000530| 64 74 68 5c 2c 20 68 65 | 69 67 68 74 5c 2c 20 78 |dth\, he|ight\, x|
|00000540| 30 5c 2c 20 79 30 5c 2c | 20 78 31 5c 2c 20 79 31 |0\, y0\,| x1\, y1|
|00000550| 7d 0a 52 65 74 75 72 2e | 2e 2e 0a 2e 2e 2e 20 74 |}.Retur.|...... t|
|00000560| 68 65 20 6e 65 77 20 69 | 6d 61 67 65 20 69 73 20 |he new i|mage is |
|00000570| 6d 69 72 72 6f 72 65 64 | 2e 20 54 68 65 20 73 61 |mirrored|. The sa|
|00000580| 6d 65 0a 68 6f 6c 64 73 | 20 66 6f 72 20 74 68 65 |me.holds| for the|
|00000590| 20 79 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 2e 0a | y coord|inates..|
|000005a0| 5c 65 6e 64 7b 66 75 6e | 63 64 65 73 63 7d 22 3e |\end{fun|cdesc}">|
|000005b0| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |.<BR>..<|P>.<BR>.|
|000005c0| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 68 65 |<IMG. S|TYLE="he|
|000005d0| 69 67 68 74 3a 20 32 2e | 31 37 65 78 3b 20 76 65 |ight: 2.|17ex; ve|
|000005e0| 72 74 69 63 61 6c 2d 61 | 6c 69 67 6e 3a 20 31 37 |rtical-a|lign: 17|
|000005f0| 36 2e 36 38 65 78 3b 20 | 22 20 53 52 43 3d 22 69 |6.68ex; |" SRC="i|
|00000600| 6d 67 33 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |mg3.png"|. ALT="\|
|00000610| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000620| 73 63 61 6c 65 7d 7b 69 | 6d 61 67 65 5c 2c 20 70 |scale}{i|mage\, p|
|00000630| 73 69 7a 65 5c 2c 20 77 | 69 64 74 68 5c 2c 20 68 |size\, w|idth\, h|
|00000640| 65 69 67 68 74 5c 2c 20 | 6e 65 77 77 69 64 74 68 |eight\, |newwidth|
|00000650| 5c 2c 20 6e 65 77 68 65 | 69 67 68 74 7d 0a 52 2e |\, newhe|ight}.R.|
|00000660| 2e 2e 0a 2e 2e 2e 72 61 | 74 65 64 20 69 6d 61 67 |......ra|ted imag|
|00000670| 65 73 20 6f 72 0a 64 69 | 74 68 65 72 65 64 20 69 |es or.di|thered i|
|00000680| 6d 61 67 65 73 20 77 69 | 6c 6c 20 6e 6f 74 20 6c |mages wi|ll not l|
|00000690| 6f 6f 6b 20 6e 69 63 65 | 20 61 66 74 65 72 20 73 |ook nice| after s|
|000006a0| 63 61 6c 69 6e 67 2e 0a | 5c 65 6e 64 7b 66 75 6e |caling..|\end{fun|
|000006b0| 63 64 65 73 63 7d 22 3e | 0a 3c 42 52 3e 0a 0a 3c |cdesc}">|.<BR>..<|
|000006c0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|000006d0| 54 59 4c 45 3d 22 68 65 | 69 67 68 74 3a 20 32 2e |TYLE="he|ight: 2.|
|000006e0| 31 30 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |10ex; ve|rtical-a|
|000006f0| 6c 69 67 6e 3a 20 31 37 | 36 2e 36 38 65 78 3b 20 |lign: 17|6.68ex; |
|00000700| 22 20 53 52 43 3d 22 69 | 6d 67 34 2e 70 6e 67 22 |" SRC="i|mg4.png"|
|00000710| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 66 75 |. ALT="\|begin{fu|
|00000720| 6e 63 64 65 73 63 7d 7b | 74 6f 76 69 64 65 6f 7d |ncdesc}{|tovideo}|
|00000730| 7b 69 6d 61 67 65 5c 2c | 20 70 73 69 7a 65 5c 2c |{image\,| psize\,|
|00000740| 20 77 69 64 74 68 5c 2c | 20 68 65 69 67 68 74 7d | width\,| height}|
|00000750| 0a 52 75 6e 20 61 20 76 | 65 72 74 69 63 61 6c 20 |.Run a v|ertical |
|00000760| 6c 6f 77 2d 70 61 73 2e | 2e 2e 0a 2e 2e 2e 69 73 |low-pas.|......is|
|00000770| 70 6c 61 79 65 64 20 6f | 6e 20 61 20 76 69 64 65 |played o|n a vide|
|00000780| 6f 20 64 65 76 69 63 65 | 20 74 68 61 74 20 75 73 |o device| that us|
|00000790| 65 73 0a 69 6e 74 65 72 | 6c 61 63 69 6e 67 2c 20 |es.inter|lacing, |
|000007a0| 68 65 6e 63 65 20 74 68 | 65 20 6e 61 6d 65 2e 0a |hence th|e name..|
|000007b0| 5c 65 6e 64 7b 66 75 6e | 63 64 65 73 63 7d 22 3e |\end{fun|cdesc}">|
|000007c0| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |.<BR>..<|P>.<BR>.|
|000007d0| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 68 65 |<IMG. S|TYLE="he|
|000007e0| 69 67 68 74 3a 20 32 2e | 31 37 65 78 3b 20 76 65 |ight: 2.|17ex; ve|
|000007f0| 72 74 69 63 61 6c 2d 61 | 6c 69 67 6e 3a 20 31 37 |rtical-a|lign: 17|
|00000800| 36 2e 36 38 65 78 3b 20 | 22 20 53 52 43 3d 22 69 |6.68ex; |" SRC="i|
|00000810| 6d 67 35 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |mg5.png"|. ALT="\|
|00000820| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000830| 67 72 65 79 32 6d 6f 6e | 6f 7d 7b 69 6d 61 67 65 |grey2mon|o}{image|
|00000840| 5c 2c 20 77 69 64 74 68 | 5c 2c 20 68 65 69 67 68 |\, width|\, heigh|
|00000850| 74 5c 2c 20 74 68 72 65 | 73 68 6f 6c 64 7d 0a 43 |t\, thre|shold}.C|
|00000860| 6f 6e 76 65 72 74 20 61 | 20 38 2d 62 69 74 20 2e |onvert a| 8-bit .|
|00000870| 2e 2e 0a 2e 2e 2e 64 20 | 61 6e 64 0a 69 73 20 70 |......d |and.is p|
|00000880| 72 6f 62 61 62 6c 79 20 | 6f 6e 6c 79 20 75 73 65 |robably |only use|
|00000890| 66 75 6c 20 61 73 20 61 | 6e 20 61 72 67 75 6d 65 |ful as a|n argume|
|000008a0| 6e 74 20 74 6f 20 5c 63 | 6f 64 65 7b 6d 6f 6e 6f |nt to \c|ode{mono|
|000008b0| 32 67 72 65 79 7d 2e 0a | 5c 65 6e 64 7b 66 75 6e |2grey}..|\end{fun|
|000008c0| 63 64 65 73 63 7d 22 3e | 0a 3c 42 52 3e 0a 0a 3c |cdesc}">|.<BR>..<|
|000008d0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|000008e0| 54 59 4c 45 3d 22 68 65 | 69 67 68 74 3a 20 32 2e |TYLE="he|ight: 2.|
|000008f0| 31 37 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |17ex; ve|rtical-a|
|00000900| 6c 69 67 6e 3a 20 31 37 | 36 2e 35 35 65 78 3b 20 |lign: 17|6.55ex; |
|00000910| 22 20 53 52 43 3d 22 69 | 6d 67 36 2e 70 6e 67 22 |" SRC="i|mg6.png"|
|00000920| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 66 75 |. ALT="\|begin{fu|
|00000930| 6e 63 64 65 73 63 7d 7b | 64 69 74 68 65 72 32 6d |ncdesc}{|dither2m|
|00000940| 6f 6e 6f 7d 7b 69 6d 61 | 67 65 5c 2c 20 77 69 64 |ono}{ima|ge\, wid|
|00000950| 74 68 5c 2c 20 68 65 69 | 67 68 74 7d 0a 43 6f 6e |th\, hei|ght}.Con|
|00000960| 76 65 72 74 20 61 6e 20 | 38 2d 62 69 74 20 67 72 |vert an |8-bit gr|
|00000970| 65 79 73 63 61 6c 65 2e | 2e 2e 0a 2e 2e 2e 62 69 |eyscale.|......bi|
|00000980| 74 20 6d 6f 6e 6f 63 68 | 72 6f 6d 65 20 69 6d 61 |t monoch|rome ima|
|00000990| 67 65 20 75 73 69 6e 67 | 20 61 0a 28 73 69 6d 70 |ge using| a.(simp|
|000009a0| 6c 65 2d 6d 69 6e 64 65 | 64 29 20 64 69 74 68 65 |le-minde|d) dithe|
|000009b0| 72 69 6e 67 20 61 6c 67 | 6f 72 69 74 68 6d 2e 0a |ring alg|orithm..|
|000009c0| 5c 65 6e 64 7b 66 75 6e | 63 64 65 73 63 7d 22 3e |\end{fun|cdesc}">|
|000009d0| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |.<BR>..<|P>.<BR>.|
|000009e0| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 68 65 |<IMG. S|TYLE="he|
|000009f0| 69 67 68 74 3a 20 32 2e | 33 38 65 78 3b 20 76 65 |ight: 2.|38ex; ve|
|00000a00| 72 74 69 63 61 6c 2d 61 | 6c 69 67 6e 3a 20 31 37 |rtical-a|lign: 17|
|00000a10| 36 2e 34 30 65 78 3b 20 | 22 20 53 52 43 3d 22 69 |6.40ex; |" SRC="i|
|00000a20| 6d 67 37 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |mg7.png"|. ALT="\|
|00000a30| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000a40| 6d 6f 6e 6f 32 67 72 65 | 79 7d 7b 69 6d 61 67 65 |mono2gre|y}{image|
|00000a50| 5c 2c 20 77 69 64 74 68 | 5c 2c 20 68 65 69 67 68 |\, width|\, heigh|
|00000a60| 74 5c 2c 20 70 30 5c 2c | 20 70 31 7d 0a 43 6f 6e |t\, p0\,| p1}.Con|
|00000a70| 76 65 72 74 20 61 20 31 | 2d 62 69 74 20 6d 6f 2e |vert a 1|-bit mo.|
|00000a80| 2e 2e 0a 2e 2e 2e 6f 20 | 67 72 65 79 73 63 61 6c |......o |greyscal|
|00000a90| 65 20 70 61 73 73 20 74 | 68 65 0a 76 61 6c 75 65 |e pass t|he.value|
|00000aa0| 73 20 5c 63 6f 64 65 7b | 30 7d 20 61 6e 64 20 5c |s \code{|0} and \|
|00000ab0| 63 6f 64 65 7b 32 35 35 | 7d 20 72 65 73 70 65 63 |code{255|} respec|
|00000ac0| 74 69 76 65 6c 79 2e 0a | 5c 65 6e 64 7b 66 75 6e |tively..|\end{fun|
|00000ad0| 63 64 65 73 63 7d 22 3e | 0a 3c 42 52 3e 0a 0a 3c |cdesc}">|.<BR>..<|
|00000ae0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|00000af0| 54 59 4c 45 3d 22 68 65 | 69 67 68 74 3a 20 32 2e |TYLE="he|ight: 2.|
|00000b00| 31 37 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |17ex; ve|rtical-a|
|00000b10| 6c 69 67 6e 3a 20 31 37 | 36 2e 36 38 65 78 3b 20 |lign: 17|6.68ex; |
|00000b20| 22 20 53 52 43 3d 22 69 | 6d 67 38 2e 70 6e 67 22 |" SRC="i|mg8.png"|
|00000b30| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 66 75 |. ALT="\|begin{fu|
|00000b40| 6e 63 64 65 73 63 7d 7b | 67 72 65 79 32 67 72 65 |ncdesc}{|grey2gre|
|00000b50| 79 34 7d 7b 69 6d 61 67 | 65 5c 2c 20 77 69 64 74 |y4}{imag|e\, widt|
|00000b60| 68 5c 2c 20 68 65 69 67 | 68 74 7d 0a 43 6f 6e 76 |h\, heig|ht}.Conv|
|00000b70| 65 72 74 20 61 6e 20 38 | 2d 62 69 74 20 67 72 65 |ert an 8|-bit gre|
|00000b80| 79 73 63 61 6c 65 20 69 | 6d 61 67 65 20 74 6f 20 |yscale i|mage to |
|00000b90| 61 20 34 2d 62 69 74 20 | 67 72 65 79 73 63 61 6c |a 4-bit |greyscal|
|00000ba0| 65 20 69 6d 61 67 65 20 | 77 69 74 68 6f 75 74 0a |e image |without.|
|00000bb0| 64 69 74 68 65 72 69 6e | 67 2e 0a 5c 65 6e 64 7b |ditherin|g..\end{|
|00000bc0| 66 75 6e 63 64 65 73 63 | 7d 22 3e 0a 3c 42 52 3e |funcdesc|}">.<BR>|
|00000bd0| 0a 0a 3c 50 3e 0a 3c 42 | 52 3e 0a 3c 49 4d 47 0a |..<P>.<B|R>.<IMG.|
|00000be0| 20 20 53 54 59 4c 45 3d | 22 68 65 69 67 68 74 3a | STYLE=|"height:|
|00000bf0| 20 32 2e 31 37 65 78 3b | 20 76 65 72 74 69 63 61 | 2.17ex;| vertica|
|00000c00| 6c 2d 61 6c 69 67 6e 3a | 20 31 37 36 2e 36 38 65 |l-align:| 176.68e|
|00000c10| 78 3b 20 22 20 53 52 43 | 3d 22 69 6d 67 39 2e 70 |x; " SRC|="img9.p|
|00000c20| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|00000c30| 7b 66 75 6e 63 64 65 73 | 63 7d 7b 67 72 65 79 32 |{funcdes|c}{grey2|
|00000c40| 67 72 65 79 32 7d 7b 69 | 6d 61 67 65 5c 2c 20 77 |grey2}{i|mage\, w|
|00000c50| 69 64 74 68 5c 2c 20 68 | 65 69 67 68 74 7d 0a 43 |idth\, h|eight}.C|
|00000c60| 6f 6e 76 65 72 74 20 61 | 6e 20 38 2d 62 69 74 20 |onvert a|n 8-bit |
|00000c70| 67 72 65 79 73 63 61 6c | 65 20 69 6d 61 67 65 20 |greyscal|e image |
|00000c80| 74 6f 20 61 20 32 2d 62 | 69 74 20 67 72 65 79 73 |to a 2-b|it greys|
|00000c90| 63 61 6c 65 20 69 6d 61 | 67 65 20 77 69 74 68 6f |cale ima|ge witho|
|00000ca0| 75 74 0a 64 69 74 68 65 | 72 69 6e 67 2e 0a 5c 65 |ut.dithe|ring..\e|
|00000cb0| 6e 64 7b 66 75 6e 63 64 | 65 73 63 7d 22 3e 0a 3c |nd{funcd|esc}">.<|
|00000cc0| 42 52 3e 0a 0a 3c 50 3e | 0a 3c 42 52 3e 0a 3c 49 |BR>..<P>|.<BR>.<I|
|00000cd0| 4d 47 0a 20 20 53 54 59 | 4c 45 3d 22 68 65 69 67 |MG. STY|LE="heig|
|00000ce0| 68 74 3a 20 32 2e 31 37 | 65 78 3b 20 76 65 72 74 |ht: 2.17|ex; vert|
|00000cf0| 69 63 61 6c 2d 61 6c 69 | 67 6e 3a 20 31 37 36 2e |ical-ali|gn: 176.|
|00000d00| 36 38 65 78 3b 20 22 20 | 53 52 43 3d 22 69 6d 67 |68ex; " |SRC="img|
|00000d10| 31 30 2e 70 6e 67 22 0a | 20 41 4c 54 3d 22 5c 62 |10.png".| ALT="\b|
|00000d20| 65 67 69 6e 7b 66 75 6e | 63 64 65 73 63 7d 7b 64 |egin{fun|cdesc}{d|
|00000d30| 69 74 68 65 72 32 67 72 | 65 79 32 7d 7b 69 6d 61 |ither2gr|ey2}{ima|
|00000d40| 67 65 5c 2c 20 77 69 64 | 74 68 5c 2c 20 68 65 69 |ge\, wid|th\, hei|
|00000d50| 67 68 74 7d 0a 43 6f 6e | 76 65 72 74 20 61 6e 20 |ght}.Con|vert an |
|00000d60| 38 2d 62 69 74 20 67 72 | 65 79 73 63 61 6c 2e 2e |8-bit gr|eyscal..|
|00000d70| 2e 0a 2e 2e 2e 65 7b 64 | 69 74 68 65 72 32 6d 6f |.....e{d|ither2mo|
|00000d80| 6e 6f 7d 2c 20 74 68 65 | 20 64 69 74 68 65 72 69 |no}, the| ditheri|
|00000d90| 6e 67 20 61 6c 67 6f 72 | 69 74 68 6d 20 69 73 0a |ng algor|ithm is.|
|00000da0| 63 75 72 72 65 6e 74 6c | 79 20 76 65 72 79 20 73 |currentl|y very s|
|00000db0| 69 6d 70 6c 65 2e 0a 5c | 65 6e 64 7b 66 75 6e 63 |imple..\|end{func|
|00000dc0| 64 65 73 63 7d 22 3e 0a | 3c 42 52 3e 0a 0a 3c 50 |desc}">.|<BR>..<P|
|00000dd0| 3e 0a 3c 42 52 3e 0a 3c | 49 4d 47 0a 20 20 53 54 |>.<BR>.<|IMG. ST|
|00000de0| 59 4c 45 3d 22 68 65 69 | 67 68 74 3a 20 32 2e 31 |YLE="hei|ght: 2.1|
|00000df0| 37 65 78 3b 20 76 65 72 | 74 69 63 61 6c 2d 61 6c |7ex; ver|tical-al|
|00000e00| 69 67 6e 3a 20 31 37 36 | 2e 36 38 65 78 3b 20 22 |ign: 176|.68ex; "|
|00000e10| 20 53 52 43 3d 22 69 6d | 67 31 31 2e 70 6e 67 22 | SRC="im|g11.png"|
|00000e20| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 66 75 |. ALT="\|begin{fu|
|00000e30| 6e 63 64 65 73 63 7d 7b | 67 72 65 79 34 32 67 72 |ncdesc}{|grey42gr|
|00000e40| 65 79 7d 7b 69 6d 61 67 | 65 5c 2c 20 77 69 64 74 |ey}{imag|e\, widt|
|00000e50| 68 5c 2c 20 68 65 69 67 | 68 74 7d 0a 43 6f 6e 76 |h\, heig|ht}.Conv|
|00000e60| 65 72 74 20 61 20 34 2d | 62 69 74 20 67 72 65 79 |ert a 4-|bit grey|
|00000e70| 73 63 61 6c 65 20 69 6d | 61 67 65 20 74 6f 20 61 |scale im|age to a|
|00000e80| 6e 20 38 2d 62 69 74 20 | 67 72 65 79 73 63 61 6c |n 8-bit |greyscal|
|00000e90| 65 20 69 6d 61 67 65 2e | 0a 5c 65 6e 64 7b 66 75 |e image.|.\end{fu|
|00000ea0| 6e 63 64 65 73 63 7d 22 | 3e 0a 3c 42 52 3e 0a 0a |ncdesc}"|>.<BR>..|
|00000eb0| 3c 50 3e 0a 3c 42 52 3e | 0a 3c 49 4d 47 0a 20 20 |<P>.<BR>|.<IMG. |
|00000ec0| 53 54 59 4c 45 3d 22 68 | 65 69 67 68 74 3a 20 32 |STYLE="h|eight: 2|
|00000ed0| 2e 31 37 65 78 3b 20 76 | 65 72 74 69 63 61 6c 2d |.17ex; v|ertical-|
|00000ee0| 61 6c 69 67 6e 3a 20 31 | 37 36 2e 36 38 65 78 3b |align: 1|76.68ex;|
|00000ef0| 20 22 20 53 52 43 3d 22 | 69 6d 67 31 32 2e 70 6e | " SRC="|img12.pn|
|00000f00| 67 22 0a 20 41 4c 54 3d | 22 5c 62 65 67 69 6e 7b |g". ALT=|"\begin{|
|00000f10| 66 75 6e 63 64 65 73 63 | 7d 7b 67 72 65 79 32 32 |funcdesc|}{grey22|
|00000f20| 67 72 65 79 7d 7b 69 6d | 61 67 65 5c 2c 20 77 69 |grey}{im|age\, wi|
|00000f30| 64 74 68 5c 2c 20 68 65 | 69 67 68 74 7d 0a 43 6f |dth\, he|ight}.Co|
|00000f40| 6e 76 65 72 74 20 61 20 | 32 2d 62 69 74 20 67 72 |nvert a |2-bit gr|
|00000f50| 65 79 73 63 61 6c 65 20 | 69 6d 61 67 65 20 74 6f |eyscale |image to|
|00000f60| 20 61 6e 20 38 2d 62 69 | 74 20 67 72 65 79 73 63 | an 8-bi|t greysc|
|00000f70| 61 6c 65 20 69 6d 61 67 | 65 2e 0a 5c 65 6e 64 7b |ale imag|e..\end{|
|00000f80| 66 75 6e 63 64 65 73 63 | 7d 22 3e 0a 3c 42 52 3e |funcdesc|}">.<BR>|
|00000f90| 0a 3c 48 52 3e 0a 0a 3c | 2f 42 4f 44 59 3e 0a 3c |.<HR>..<|/BODY>.<|
|00000fa0| 2f 48 54 4d 4c 3e 0a | |/HTML>. | |
+--------+-------------------------+-------------------------+--------+--------+