├── AUTHORS ├── ChangeLog ├── LICENSE ├── README.md ├── THANKS ├── ansilove ├── ansilove.bat ├── ansilove.cfg.php ├── ansilove.php ├── ansis ├── 43-nslv1.ans ├── andyh-ansilove.ans ├── ave-love.ans ├── avg-alove.ans ├── bym-ansilove.ans ├── cbn-ansilove.ans ├── cl!-al02.ans ├── cl!-al03.ans ├── cl!-al04.ans ├── dMG-ansilove.asc ├── fil-ping.ans ├── gj-ansilove.ans ├── k1-alove.ans ├── ko-alove.ans ├── lu-ansilove.xb ├── no-alove.ans ├── ns-bp09.ans ├── om-ansilove.ans ├── plur-ansilove.txt ├── rad-love.ans ├── sk!n-ansilove.txt ├── sph_love.ans ├── spidy-ansilove.txt ├── spot-ansilove.txt ├── tcf-ansilove.xb ├── us-alov.ans ├── us-alove.asc ├── we-alove.ans └── yop-ANSilove.ans ├── documentation ├── ansilove.html ├── ansilove.txt ├── documentation.sh └── images │ └── icons │ ├── caution.png │ ├── important.png │ ├── note.png │ ├── tip.png │ └── warning.png ├── examples ├── ansilove.html └── thumbnails.html ├── file_id.diz ├── fonts ├── ansilove_background.png ├── ansilove_font_amiga_b-strict.png ├── ansilove_font_amiga_b-struct.png ├── ansilove_font_amiga_microknight+.png ├── ansilove_font_amiga_microknight.png ├── ansilove_font_amiga_mosoul.png ├── ansilove_font_amiga_pot-noodle.png ├── ansilove_font_amiga_topaz_1200+.png ├── ansilove_font_amiga_topaz_1200.png ├── ansilove_font_amiga_topaz_500+.png ├── ansilove_font_amiga_topaz_500.png ├── ansilove_font_pc_80x25.png ├── ansilove_font_pc_80x50.png ├── ansilove_font_pc_armenian.png ├── ansilove_font_pc_baltic.png ├── ansilove_font_pc_cyrillic.png ├── ansilove_font_pc_french_canadian.png ├── ansilove_font_pc_greek.png ├── ansilove_font_pc_greek_869.png ├── ansilove_font_pc_hebrew.png ├── ansilove_font_pc_icelandic.png ├── ansilove_font_pc_latin1.png ├── ansilove_font_pc_latin2.png ├── ansilove_font_pc_nordic.png ├── ansilove_font_pc_persian.png ├── ansilove_font_pc_portuguese.png ├── ansilove_font_pc_russian.png ├── ansilove_font_pc_terminus.png └── ansilove_font_pc_turkish.png ├── load_adf.php ├── load_ansi.php ├── load_binary.php ├── load_idf.php ├── load_pcboard.php ├── load_tundra.php └── load_xbin.php /AUTHORS: -------------------------------------------------------------------------------- 1 | _ __ ____ ___________ __________ ____ __ _ 2 | .________ //_ ANSilOVE _\\ ._____ 3 | ____/\ ___| _/___/\ __ _____. _ ____/\ _| \ ____ 4 | / .__\\ \ | _ //___ _)_. \_ |____ \\ | // ___/ 5 | / __/ \ \ |__ \/ \ |_ | | \ | \ / __)____ 6 | /____| \_|\_____|_________/__ `/ |______ //_______/____/______ / 7 | |______/ _ __ __________ \/ _______ \/ ________ __ _ yop \/ 8 | 9 | 10 | Ansilove/PHP is developed by: 11 | 12 | Frederic Cambus 13 | 14 | Site: https://www.cambus.net 15 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | _ __ ____ ___________ __________ ____ __ _ 2 | .________ //_ ANSilOVE _\\ ._____ 3 | ____/\ ___| _/___/\ __ _____. _ ____/\ _| \ ____ 4 | / .__\\ \ | _ //___ _)_. \_ |____ \\ | // ___/ 5 | / __/ \ \ |__ \/ \ |_ | | \ | \ / __)____ 6 | /____| \_|\_____|_________/__ `/ |______ //_______/____/______ / 7 | |______/ _ __ __________ \/ _______ \/ ________ __ _ yop \/ 8 | 9 | 10 | Ansilove/PHP 1.12 (2017-04-19) 11 | 12 | - Adding a new example ANSi (Thanks Otium) 13 | - Adding a new example ASCii (Thanks Konami) 14 | - Adding a new example ANSi (Thanks Andy Herbert) 15 | - Adding a new example ANSi (Thanks TCF) 16 | - Adding a new example XBin (Thanks Enzo) 17 | - Relicensed under the BSD 2-Clause license 18 | - Use env to find PHP 19 | - Switch examples pages to HTML5 20 | - Add deprecation notices 21 | 22 | 23 | 24 | Ansilove/PHP 1.11 (2014-03-26) 25 | 26 | - Fixed a bug in the TUNDRA renderer 27 | - Fixed inconsistency when using Amiga fonts: bold characters are now 28 | displayed only in CED and WorkBench modes 29 | - Removing PHP warning about date.timezone settings when logging errors 30 | - Removing PHP warning displayed when input file doesn't exist 31 | - Added 3 example ASCiis (Thanks to: Plur, Spear, Knocturnal, Sk!n) 32 | - Added 9 example ANSis (Thanks to: Knocturnal, Grymmjack, Noches, 33 | Avenging Angel, Enzo, BYM, Filth, Rad Man) 34 | 35 | 36 | 37 | Ansilove/PHP 1.10 (2012-10-08) 38 | 39 | - Added new and updated documentation file in AsciiDoc format (Also available 40 | in HTML and PDF) 41 | - Using proper bitshift instead of pow for ADF / IDF / XBIN font processing 42 | - Skipping 'Set mode' and 'Reset mode' sequences to correctly render files 43 | saved with recent versions of PabloDraw 44 | 45 | 46 | 47 | Ansilove/PHP 1.09 (2011-11-22) 48 | 49 | - Added functions in the ANSi loader to split the output into several PNG files 50 | (SPLIT_* options in the config file) 51 | - Added support for Amiga ANSi (Bold, Italics, and Underlined characters) 52 | - Memory usage optimization (Some data structures modified, support for 65535 53 | lines of text) 54 | - Relicensed under a MIT-style license 55 | - Added Terminus font support (http://terminus-font.sourceforge.net) 56 | 57 | 58 | 59 | Ansilove/PHP 1.08 (2011-07-12) 60 | 61 | - Added new improved Amiga fonts (With corrected aspect ratio and 100% accurate 62 | characters) 63 | - Reordered font palettes to follow the ANSi color order rather than the EGA one 64 | - Added an error message logger (ANSILOVE_LOG_FILE option in the config file, 65 | default: ansilove.log) 66 | - Added an option to continue rendering input files when the substitude (SUB) 67 | character is encountered (SUBSTITUTE_BREAK option in the config file, 68 | default: 1 => Stop when encountering SUB character) 69 | - Added an option to allow enabling/disabling 80th column wrapping 70 | (WRAP_COLUMN_80 option in the config file, default: 1 => Wrap) 71 | - Changed default background color value for CED mode (170,170,170) instead 72 | of (168,168,168) 73 | - Added a transparent rendering mode to produce output files with transparent 74 | background (only available in ANSi loader) 75 | - Added Workbench mode to render the input file using Amiga Workbench colors 76 | (only available in ANSi loader) 77 | - Added scalable thumbnails support (THUMBNAILS_SIZE option in the config file) 78 | - Added an example file for thumbnails rendering (examples/thumbnails.html) 79 | - Added 3 example ASCiis (Thanks to: Cubon, Spidy and Spot) 80 | 81 | 82 | 83 | Ansilove/PHP 1.07 (2009-06-16) 84 | 85 | - Added support for thumbnails rendering, with configurable maximum height 86 | - Added customizable output color definitions in the configuration file for 87 | CED mode rendering 88 | - Modified the ANSi parser to allow ansi sequences with inverted graphic 89 | rendition values to render correctly 90 | 91 | 92 | 93 | Ansilove/PHP 1.06 (2009-05-21) 94 | 95 | - Dumped all the fonts again to make the font collection more homogeneous and 96 | avoid minor character differences between fonts as much as possible 97 | - Added 6 new PC Fonts (Charsets: Armenian, French Canadian, Greek (CP869), 98 | Icelandic, Persian, Portuguese) 99 | - Fixed minor color palette problems causing the full intensity value to be 100 | 252 instead of 255 101 | - Added customizable file extensions definitions in the configuration file 102 | for DIZ mode rendering 103 | - Added filters removing white spaces and empty lines at the beginning and 104 | end of DIZ files 105 | 106 | 107 | 108 | Ansilove/PHP 1.05 (2009-04-29) 109 | 110 | - Added support for PCBoard (.PCB) format 111 | - Updated the documentation (README file), to cover options related to the 112 | PCBoard loader (PCB codes stripping) 113 | - Fixed a bug preventing the CED rendering mode to operate correctly. Ansi and 114 | PCBoard files can now be rendered in CED mode again 115 | - Added 1 example ANSi and 1 example ASCii 116 | 117 | 118 | 119 | Ansilove/PHP 1.04 (2009-04-07) 120 | 121 | - Added 9 new PC Fonts (Charsets: Baltic, Cyrillic, Greek, Hebrew, Latin1, 122 | Latin2, Nordic, Russian, Turkish) 123 | - Fixed .DIZ file extension detection in the online converter, uploaded .DIZ 124 | files are now rendered with the exact needed number of columns 125 | - Fixed some uninitialized variables warnings 126 | - Added 1 example ASCii 127 | - Added a loader (ansilove.bat) for the command line converter under Windows 128 | - Converted the HTML templates to XHTML (ansilove.html and Ansilove online) 129 | - Modified the Ansilove Online upload interface and corrected the maximum 130 | length value for the columns argument 131 | - Updated the documentation (README file), which is now providing more detailed 132 | examples about all the possible options, and informations about command line 133 | converter usage under Windows 134 | 135 | 136 | 137 | Ansilove/PHP 1.03 (2006-02-11) 138 | 139 | - Added input sanitization in the loaders (load_*.php) to prevent 140 | disclosure of unauthorized content by converting files accessible 141 | by the webserver 142 | - Added a .htaccess to restrict access (Deny to all by default) to the 143 | 'upload' directory (online converter) 144 | - Adding '.ansilove' at the end of the uploaded filenames to prevent code 145 | injection if the upload directory access isn't restricted, and delete 146 | the uploaded file after the convertion (online converter) 147 | - The online converter is now using the internal loaders from the library 148 | instead of the load_*.php loaders 149 | - Added a config file to define directories path 150 | - Added checks for requires in the online converter and in the loaders 151 | 152 | 153 | 154 | Ansilove/PHP 1.02 (2006-02-09) 155 | 156 | - Added support for IDF (.IDF) format 157 | - Added support for TUNDRA (.TND) format 158 | - Added support for XBiN (.XB) format 159 | - Added online file converter 160 | - Added CED mode to render the input file in black on gray 161 | (only available in ANSi loader) 162 | - Added topazplus alias for topaz+ so it is possible to use it in urls 163 | - Enforced little-endian byte order instead of machine byte order when 164 | unpacking data 165 | - Added 3 example ANSis 166 | - Fixed a bug in ADF converter, color 0 of the palette was set to black 167 | instead of the correct value 168 | 169 | 170 | 171 | Ansilove/PHP 1.01 (2006-01-27) 172 | 173 | - Added 6 new Amiga Fonts 174 | - Files with a .DIZ extension are now rendered with the exact needed number 175 | of columns 176 | - Fixed a background rendering bug in ANSi converter, which caused problems 177 | when using Amiga Font (Used font_size_x value for background block size 178 | instead of a fixed value) 179 | - Fixed another background bug in ANSi converter (Buffer wasn't filled with 180 | black after being allocated, which caused some blocks to have an incorrect 181 | background color if nothing was drawn) 182 | 183 | 184 | 185 | Ansilove/PHP 1.00 (2006-01-22) 186 | 187 | - Initial release 188 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2017, Frederic Cambus 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS 18 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 | POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | _______ ___________ ___ 2 | __\___ \_ ____/ /\ /______ ___\_/__ /\ 3 | / \| \/ _ \ /--\_____ \\ / /\ / \ 4 | _/ | / \ \ |/ / \ \ _ _____/ \_______ 5 | \ |_____\____/ / / \____ /\/ / 6 | \______| \ \_____/\______ /\ \/ \ /\NSILOVE 1.12 /____ _ 7 | \ |_______\__\___ \ \ \ / \___\__/____ 8 | \____| /____/\_\/\__ / / __/___ \ /\ ____ 9 | \ \ \ / /_/ __ \/ /__\__/ _/ _____ ___ 10 | /\ \____\/ / // \ / / / _>/ //__/\ 11 | / \ _/ \ // / / / \/ / \__\/ 12 | _ _________ / \_______ _ \___ /_______/ / _/ \____ \ / 13 | \ / \ \___/\ \_______/\\ \ \______/\/ 14 | \/ \_\ \ \_______\ \ \\/ \__\ \ \ 15 | \__\/ \______\/ h7/dS!\_____\/ 16 | 17 | ## Description 18 | 19 | Ansilove is a set of tools to convert ANSi and artscene-related file formats 20 | into PNG images, supporting ANSi (.ANS), PCBOARD (.PCB), BiNARY (.BIN), ADF 21 | (.ADF), iDF (.IDF), TUNDRA (.TND) and XBiN (.XB) formats. 22 | 23 | ``` 24 | Ansilove/PHP is now deprecated, version 1.12 will be the last release. 25 | 26 | Users are encouraged to migrate to Ansilove/C which replaces the command line 27 | converter, and to Ansilove.js for doing "on the fly" conversions on web pages. 28 | ``` 29 | 30 | It includes an all purposes command line converter, along with a library to 31 | use on web pages for doing "on the fly" conversions. It creates size optimized 32 | 4-bit PNG files and supports SAUCE (Standard Architecture for Universal Comment 33 | Extentions), 80x25 and 80x50 PC fonts (including all the 14 MS-DOS charsets 34 | and some unofficial ones), Amiga fonts, and iCE colors. 35 | 36 | It is written in PHP, and can thus be run on any supported system: the 37 | command line converter can be used under Linux, Mac OS X, Windows, and so 38 | far and so on. 39 | 40 | Ansilove doesn’t require any Web server: you can use the bundled command 41 | line converter to convert files locally on your computer. 42 | 43 | ## Features 44 | 45 | - ANSi (.ANS) format support 46 | - PCBOARD (.PCB) format support 47 | - BiNARY (.BIN) format support 48 | - ADF (.ADF) format support (Artworx) 49 | - iDF (.IDF) format support (iCE Draw) 50 | - TUNDRA (.TND) format support 51 | - XBiN (.XB) format support 52 | - Small output file size (4-bit PNG) 53 | - SAUCE (Standard Architecture for Universal Comment Extentions) 54 | - 80x25 font support 55 | - 80x50 font support 56 | - Amiga font support 57 | - iCE colors support 58 | 59 | ## Supported charsets 60 | 61 | - IBM PC (Code page 437) 62 | - Baltic (Code page 775) 63 | - Cyrillic (Code page 855) 64 | - French Canadian (Code page 863) 65 | - Greek (Code pages 737 and 869) 66 | - Hebrew (Code page 862) 67 | - Icelandic (Code page 861) 68 | - Latin-1 (Code page 850) 69 | - Latin-2 (Code page 852) 70 | - Nordic (Code page 865) 71 | - Portuguese (Code page 860) 72 | - Russian (Code page 866) 73 | - Turkish (Code page 857) 74 | - Armenian 75 | - Persian (Iran System encoding standard) 76 | 77 | ## License 78 | 79 | Ansilove is released under the BSD 2-Clause license. See `LICENSE` file for 80 | details. 81 | 82 | ## Author 83 | 84 | Ansilove is developed by Frederic Cambus. 85 | 86 | - Site: https://www.cambus.net 87 | 88 | ## Resources 89 | 90 | Project Homepage: https://www.ansilove.org 91 | 92 | Sister project: https://www.ascii-codes.com 93 | -------------------------------------------------------------------------------- /THANKS: -------------------------------------------------------------------------------- 1 | _ __ ____ ___________ __________ ____ __ _ 2 | .________ //_ ANSilOVE _\\ ._____ 3 | ____/\ ___| _/___/\ __ _____. _ ____/\ _| \ ____ 4 | / .__\\ \ | _ //___ _)_. \_ |____ \\ | // ___/ 5 | / __/ \ \ |__ \/ \ |_ | | \ | \ / __)____ 6 | /____| \_|\_____|_________/__ `/ |______ //_______/____/______ / 7 | |______/ _ __ __________ \/ _______ \/ ________ __ _ yop \/ 8 | 9 | 10 | Thanks to the following people for helping the Ansilove project <3 11 | 12 | Fonts: 13 | 14 | - dMG of Ascii Arena for his Amiga Fonts (https://www.trueschool.se) 15 | - Kosta Kostis (http://www.kostis.net) for his fantastic CPI tools 16 | - Dimitar Zhekov for the Terminus font (http://terminus-font.sourceforge.net) 17 | 18 | 19 | 20 | ASCiis logos used in the releases: 21 | 22 | - H7 for the ansilove documentation logo 23 | - Ansichrist for the file_id.diz 24 | - Yop for the Ansilove logo used in the ChangeLog, THANKS and AUTHORS files 25 | 26 | 27 | 28 | Examples ANSis and ASCiis: 29 | 30 | - Avenger for the ave-love.ans example ANSi 31 | - Avenging Angel for the avg-alove.ans example ANSi 32 | - Aesthetic for the 43-nslv1.ans example ANSi 33 | - Sephiroth for the sph_love.ans example ANSi 34 | - Yop for the yop-ANSilove.ans example ASCii 35 | - Ansichrist for the ns-bp09.ans example ANSi 36 | - dMG for the dMG-ansilove.asc example ASCii 37 | - Spot for the spot-ansilove.txt example ASCii 38 | - Spidy for the spidy-ansilove.txt example ASCii 39 | - Cubon for the cbn-ansilove.ans example ASCii 40 | - Plur for the plur-ansilove.txt example ASCii 41 | - Knocturnal for the k1-alove.ans example ANSi 42 | - Grymmjack for the gj-ansilove.ans example ANSi 43 | - Noches and Avenging Angel for the us-alov.ans example ANSi 44 | - Enzo for the we-alove.ans example ANSi 45 | - Noches for the no-alove.ans example ANSi 46 | - Filth for the fil-ping.ans example ANSi 47 | - BYM for the bym-ansilove.ans example ANSi 48 | - Spear and Knocturnal for the us-alove.asc example ASCii 49 | - Rad Man for the rad-love.ans example ANSi 50 | - Sk!n for the sk!n-ansilove.txt example ASCii 51 | - Otium for the om-ansilove.ans example ANSi 52 | - Konami for the ko-alove.ans example ASCii 53 | - Andy Herbert for the andyh-ansilove.ans example ANSi 54 | - The Creep Fever for the tcf-ansilove.xb example ANSi 55 | - Enzo for the lu-ansilove.xb example XBin 56 | -------------------------------------------------------------------------------- /ansilove: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | 209 | -------------------------------------------------------------------------------- /ansilove.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem /*************************************************************************/ 4 | rem /* ____ __ __ ___. __ __ _______._______ */ 5 | rem /* __\ \./ \| \. \ |_| \| |_/ \ | / _/ */ 6 | rem /* \___\__|__|\___|_____/___|____/____/\___/\____/plur */ 7 | rem /* */ 8 | rem /* Ansilove/PHP 1.12 */ 9 | rem /* Copyright (c) 2003-2017, Frederic Cambus */ 10 | rem /* https://www.ansilove.org */ 11 | rem /* */ 12 | rem /* Created: 2003-07-17 */ 13 | rem /* Last Updated: 2017-02-06 */ 14 | rem /* */ 15 | rem /* Ansilove is released under the BSD 2-Clause license. */ 16 | rem /* See LICENSE file for details. */ 17 | rem /* */ 18 | rem /*************************************************************************/ 19 | 20 | php ansilove %1 %2 %3 %4 %5 21 | -------------------------------------------------------------------------------- /ansilove.cfg.php: -------------------------------------------------------------------------------- 1 | 60 | -------------------------------------------------------------------------------- /ansis/43-nslv1.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/43-nslv1.ans -------------------------------------------------------------------------------- /ansis/andyh-ansilove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/andyh-ansilove.ans -------------------------------------------------------------------------------- /ansis/ave-love.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/ave-love.ans -------------------------------------------------------------------------------- /ansis/avg-alove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/avg-alove.ans -------------------------------------------------------------------------------- /ansis/bym-ansilove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/bym-ansilove.ans -------------------------------------------------------------------------------- /ansis/cbn-ansilove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/cbn-ansilove.ans -------------------------------------------------------------------------------- /ansis/cl!-al02.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/cl!-al02.ans -------------------------------------------------------------------------------- /ansis/cl!-al03.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/cl!-al03.ans -------------------------------------------------------------------------------- /ansis/cl!-al04.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/cl!-al04.ans -------------------------------------------------------------------------------- /ansis/dMG-ansilove.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/dMG-ansilove.asc -------------------------------------------------------------------------------- /ansis/fil-ping.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/fil-ping.ans -------------------------------------------------------------------------------- /ansis/gj-ansilove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/gj-ansilove.ans -------------------------------------------------------------------------------- /ansis/k1-alove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/k1-alove.ans -------------------------------------------------------------------------------- /ansis/ko-alove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/ko-alove.ans -------------------------------------------------------------------------------- /ansis/lu-ansilove.xb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/lu-ansilove.xb -------------------------------------------------------------------------------- /ansis/no-alove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/no-alove.ans -------------------------------------------------------------------------------- /ansis/ns-bp09.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/ns-bp09.ans -------------------------------------------------------------------------------- /ansis/om-ansilove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/om-ansilove.ans -------------------------------------------------------------------------------- /ansis/plur-ansilove.txt: -------------------------------------------------------------------------------- 1 | ____ __ __ ___. __ __ _______._______ 2 | __\ \./ \| \. \ |_| \| |_/ \ | / _/ 3 | \___\__|__|\___|_____/___|____/____/\___/\____/plur 4 | 5 | -- 6 | ____ __ __ ___. __ 7 | __\ \./ \| \. \ |_| \. --- - - ---÷plur÷- -. 8 | \___\__|__|\___|_____/___| : 9 | __ _______._______ 10 | : ansilove.sourceforge.net | |_/ \ | / _/ 11 | `---- -- -÷- - - ---- --|____/____/\___/\____/ 12 | -------------------------------------------------------------------------------- /ansis/rad-love.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/rad-love.ans -------------------------------------------------------------------------------- /ansis/sk!n-ansilove.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/sk!n-ansilove.txt -------------------------------------------------------------------------------- /ansis/sph_love.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/sph_love.ans -------------------------------------------------------------------------------- /ansis/spidy-ansilove.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | a N S I L O V E ::. 4 | ::. 5 | 6 | -------------:________---|-----------|------|--------|----/_--:_---|------- 7 | --------|\\\\| /_--: spidy /_-: /---: /_-: | /_-: /_ 8 | ---\ /_----:_--- |_--- |--- |_-- |_- | : | 9 | ::---------- |---/_-\\::---/_\\::::--/_\\::--/_\\::-/_\\::--- |-- : 10 | -----------/_-\\::::--------::----------|-------:-------:------|--/_\\:-/_\\: 11 | 12 | 13 | 14 | 15 | 16 | a N S I L O V E 17 | ::. _------ __|\\|--- 18 | :------- ::. _----| /_-----: /-:------ 19 | ------||-------| /_--:_-|\\\|--| /_--:_-|\\|-- |_\\|--- |_\--- 20 | |\\\--- /_-: /_-: | spidy /_-: | /_-: /_--: /- 21 | --\ /_--: |_----- |_-- |_-- |_--- |_-- |-- : 22 | ::-------::|---------:-----/--:--/_\\\|::-:--/_\::---/_\\|:::--/_\\\|:::-/_\\: 23 | -----------------/_--------\:---------------|-------------:----------:------ 24 | 25 | 26 | -------------------------------------------------------------------------------- /ansis/spot-ansilove.txt: -------------------------------------------------------------------------------- 1 | logo says Ansilove, requested by Cleaner 2 | 3 | 4 | O 5 | o o 6 | 7 | . . 8 | ____ ___ ____ _____ ___ ___ ____ ____ _______ 9 | ___\\_ _\\ \/ /_\_ _/_ \\_// /___\_ _\\\_/ _/_\ ___/// 10 | \_ _ \_ \ /_ / // / / / / \_ / /\_ __/_ 11 | ///______/__/____\/______\ __/______\____//_____\ /_______\\spot 12 | . 13 | 14 | 15 | o . 16 | 17 | o o 18 | O 19 | -------------------------------------------------------------------------------- /ansis/tcf-ansilove.xb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/tcf-ansilove.xb -------------------------------------------------------------------------------- /ansis/us-alov.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/us-alov.ans -------------------------------------------------------------------------------- /ansis/us-alove.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/us-alove.asc -------------------------------------------------------------------------------- /ansis/we-alove.ans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/ansis/we-alove.ans -------------------------------------------------------------------------------- /ansis/yop-ANSilove.ans: -------------------------------------------------------------------------------- 1 |  2 | _ __ ____ ___________ _________________ _ 3 | .________ //_ ANSilOVE _\\ ._____ 4 | ____/\ ___| _/___/\ __ _____. _ ____/\ _| \ ____ 5 | / .__\\ \ | _ //___ _)_. \_ |____ \\ | // ___/ 6 | / __/ \ \ |__ \/ \ |_ | | \ | \ / __)____ 7 | /____| \_|\_____|_________/__ `/ |______ //_______/____/______ / 8 | |______/ _ __ __________ \/ _______ \/ __________ _ yop \/ 9 | -------------------------------------------------------------------------------- /documentation/ansilove.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | Ansilove 8 | 539 | 733 | 734 | 735 | 745 |
746 |
747 |

Description

748 |
749 |

Ansilove is a set of tools to convert ANSi and artscene-related file formats into PNG images, supporting ANSi (.ANS), PCBOARD (.PCB), BiNARY (.BIN), ADF (.ADF), iDF (.IDF), TUNDRA (.TND) and XBiN (.XB) formats.

750 |
751 | 752 | 755 | 756 |
753 | Caution 754 | Ansilove/PHP is now deprecated, version 1.12 will be the last release. Users are encouraged to migrate to Ansilove/C which replaces the command line converter, and to Ansilove.js for doing "on the fly" conversions on web pages.
757 |
758 |

It includes an all purposes command line converter, along with a library to use on web pages for doing "on the fly" conversions. It creates size optimized 4-bit PNG files and supports SAUCE (Standard Architecture for Universal Comment Extentions), 80x25 and 80x50 PC fonts (including all the 14 MS-DOS charsets and some unofficial ones), Amiga fonts, and iCE colors.

759 |

It is written in PHP, and can thus be run on any supported system: the command line converter can be used under Linux, Mac OS X, Windows, and so far and so on.

760 |
761 | 762 | 765 | 766 |
763 | Important 764 | Ansilove doesn’t require any Web server: you can use the bundled command line converter to convert files locally on your computer.
767 |
768 |
769 |

Features

770 |
    771 |
  • 772 |

    773 | ANSi (.ANS) format support 774 |

    775 |
  • 776 |
  • 777 |

    778 | PCBOARD (.PCB) format support 779 |

    780 |
  • 781 |
  • 782 |

    783 | BiNARY (.BIN) format support 784 |

    785 |
  • 786 |
  • 787 |

    788 | ADF (.ADF) format support (Artworx) 789 |

    790 |
  • 791 |
  • 792 |

    793 | iDF (.IDF) format support (iCE Draw) 794 |

    795 |
  • 796 |
  • 797 |

    798 | TUNDRA (.TND) format support - https://sourceforge.net/projects/tundradraw/ 799 |

    800 |
  • 801 |
  • 802 |

    803 | XBiN (.XB) format support - http://www.acid.org/info/xbin/xbin.htm 804 |

    805 |
  • 806 |
  • 807 |

    808 | Small output file size (4-bit PNG) 809 |

    810 |
  • 811 |
  • 812 |

    813 | SAUCE (Standard Architecture for Universal Comment Extentions) 814 |

    815 |
  • 816 |
  • 817 |

    818 | 80x25 font support 819 |

    820 |
  • 821 |
  • 822 |

    823 | 80x50 font support 824 |

    825 |
  • 826 |
  • 827 |

    828 | Amiga font support 829 |

    830 |
  • 831 |
  • 832 |

    833 | iCE colors support 834 |

    835 |
  • 836 |
837 |
838 |
839 |

Supported charsets

840 |
    841 |
  • 842 |

    843 | IBM PC (Code page 437) 844 |

    845 |
  • 846 |
  • 847 |

    848 | Baltic (Code page 775) 849 |

    850 |
  • 851 |
  • 852 |

    853 | Cyrillic (Code page 855) 854 |

    855 |
  • 856 |
  • 857 |

    858 | French Canadian (Code page 863) 859 |

    860 |
  • 861 |
  • 862 |

    863 | Greek (Code pages 737 and 869) 864 |

    865 |
  • 866 |
  • 867 |

    868 | Hebrew (Code page 862) 869 |

    870 |
  • 871 |
  • 872 |

    873 | Icelandic (Code page 861) 874 |

    875 |
  • 876 |
  • 877 |

    878 | Latin-1 (Code page 850) 879 |

    880 |
  • 881 |
  • 882 |

    883 | Latin-2 (Code page 852) 884 |

    885 |
  • 886 |
  • 887 |

    888 | Nordic (Code page 865) 889 |

    890 |
  • 891 |
  • 892 |

    893 | Portuguese (Code page 860) 894 |

    895 |
  • 896 |
  • 897 |

    898 | Russian (Code page 866) 899 |

    900 |
  • 901 |
  • 902 |

    903 | Turkish (Code page 857) 904 |

    905 |
  • 906 |
907 |
908 |
909 |

Supported unofficial charsets

910 |
    911 |
  • 912 |

    913 | Armenian 914 |

    915 |
  • 916 |
  • 917 |

    918 | Persian (Iran System encoding standard) 919 |

    920 |
  • 921 |
922 |
923 |
924 |
925 |
926 |

Requirements

927 |
928 |

Ansilove requires PHP with the GD module installed. If you want to convert huge files, you may have to increase the memory_limit size in your php.ini file.

929 |
930 |
931 |
932 |

Installation

933 |
934 |
935 |

Using tarballs

936 |
937 |
938 |
wget https://www.ansilove.org/files/ansilove-php-1.12.tar.gz
 939 | tar xvfz ansilove-php-1.12.tar.gz
940 |
941 |
942 |
943 |

Using Git

944 |
945 |
946 |
git clone git@github.com:ansilove/ansilove-php.git
947 |
948 |
949 | 950 | 953 | 954 |
951 | Important 952 | Under Windows people must install the PHP binaries: the easiest way is to use the .exe installer and enable the GD library.
955 |
956 |
957 |
958 |
959 |
960 |

Configuration options

961 |
962 |

The configuration options are defined in the ansilove.cfg.php file.

963 |
964 |

Options list

965 |
    966 |
  • 967 |

    968 | ANSILOVE_FILES_DIRECTORY 969 |

    970 |
  • 971 |
972 |
973 |
974 |

Defines the directory where all the files to be rendered must be placed when using the library online to do "on the fly" conversions. Default value: ansis/

975 |
976 |
    977 |
  • 978 |

    979 | ANSILOVE_LOG_FILE 980 |

    981 |
  • 982 |
983 |
984 |
985 |

Defines the log file used by the error message logger. Default value: ansilove.log

986 |
987 |
    988 |
  • 989 |

    990 | PCBOARD_STRIP_CODES 991 |

    992 |
  • 993 |
994 |
995 |
996 |

Defines a serie of comma separated values containing PCBoard codes to be stripped from the output.

997 |

Default value: "@POFF@,@WAIT@", which means all @POFF@ and @WAIT@ codes will be stripped.

998 |
999 |
    1000 |
  • 1001 |

    1002 | DIZ_EXTENSIONS 1003 |

    1004 |
  • 1005 |
1006 |
1007 |
1008 |

Defines a serie of comma separated values specifying which files to render in DIZ mode. Default value: ".diz,.ion"

1009 |
1010 |
    1011 |
  • 1012 |

    1013 | SUBSTITUTE_BREAK 1014 |

    1015 |
  • 1016 |
1017 |
1018 |
1019 |

Whether or not stop rendering input files when the substitute (SUB) character is encountered. Default value: 1 (ENABLED)

1020 |
1021 |
    1022 |
  • 1023 |

    1024 | WRAP_COLUMN_80 1025 |

    1026 |
  • 1027 |
1028 |
1029 |
1030 |

Whether or not enable 80th column wrapping. Default value: 1 (ENABLED)

1031 |
1032 |
    1033 |
  • 1034 |

    1035 | CED_BACKGROUND_COLOR 1036 |

    1037 |
  • 1038 |
1039 |
1040 |
1041 |

Defines RGB values of the CED mode background color.

1042 |
1043 |
    1044 |
  • 1045 |

    1046 | CED_FOREGROUND_COLOR 1047 |

    1048 |
  • 1049 |
1050 |
1051 |
1052 |

Defines RGB values of the CED mode foreground color.

1053 |
1054 |
    1055 |
  • 1056 |

    1057 | WORKBENCH_COLOR 1058 |

    1059 |
  • 1060 |
1061 |
1062 |
1063 |

Defines RGB values of the WorkBench mode colors.

1064 |
1065 |
    1066 |
  • 1067 |

    1068 | THUMBNAILS_SIZE 1069 |

    1070 |
  • 1071 |
1072 |
1073 |
1074 |

Defines thumbnails size multiplicator. Default value: 1 (will produce 80 pixels width output)

1075 |
1076 |
    1077 |
  • 1078 |

    1079 | THUMBNAILS_HEIGHT 1080 |

    1081 |
  • 1082 |
1083 |
1084 |
1085 |

Defines maximum thumbnails height (in pixels). Default value: 0 (will produce full height output)

1086 |
1087 |
    1088 |
  • 1089 |

    1090 | THUMBNAILS_TAG 1091 |

    1092 |
  • 1093 |
1094 |
1095 |
1096 |

Defines the tag added to the output file name. Default value: -thumbnail

1097 |
1098 |
    1099 |
  • 1100 |

    1101 | SPLIT 1102 |

    1103 |
  • 1104 |
1105 |
1106 |
1107 |

Whether or not split output in multiple images files. Default value: 0 (DISABLED)

1108 |
1109 |
    1110 |
  • 1111 |

    1112 | SPLIT_HEIGHT 1113 |

    1114 |
  • 1115 |
1116 |
1117 |
1118 |

Define the height (in pixels) of each splitted pictures. Default value: 4096

1119 |
1120 |
    1121 |
  • 1122 |

    1123 | SPLIT_SEPARATOR 1124 |

    1125 |
  • 1126 |
1127 |
1128 |
1129 |

Defines the separator used in output file names. Default value: .

1130 |
1131 |
1132 |
1133 |
1134 |
1135 |

Supported options for each file format

1136 |
1137 |
1138 | 1142 | 1143 | 1144 | 1145 | 1146 | 1147 | 1148 | 1149 | 1150 | 1151 | 1152 | 1153 | 1154 | 1155 | 1156 | 1157 | 1158 | 1159 | 1160 | 1161 | 1162 | 1163 | 1164 | 1165 | 1166 | 1167 | 1168 | 1169 | 1170 | 1171 | 1172 | 1173 | 1174 | 1175 | 1176 | 1177 | 1178 | 1179 | 1180 | 1181 | 1182 | 1183 | 1184 | 1185 | 1186 | 1187 | 1188 | 1189 | 1190 | 1191 | 1192 | 1193 | 1194 | 1195 | 1196 | 1197 | 1198 | 1199 | 1200 | 1201 | 1202 | 1203 | 1204 | 1205 | 1206 | 1207 |
Formatcolumnsfontbitsicecolors

ANS

X

X

X

PCB

X

X

X

BIN

X

X

X

X

ADF

IDF

TND

X

X

XB

1208 |
1209 |
1210 |
1211 |
1212 |

Command line converter

1213 |
1214 |

The command line converter can be invoked by typing:

1215 |
1216 |
1217 |
./ansilove
1218 |
1219 |
1220 | 1221 | 1224 | 1225 |
1222 | Note 1223 | Windows users should use the bundled ansilove.bat file.
1226 |
1227 |
1228 |

Usage

1229 |
1230 |
1231 |
ansilove inputfile columns font bits icecolors
1232 |
1233 |
1234 | 1235 | 1238 | 1239 |
1236 | Note 1237 | If no options are specified, default settings are used: 80x25, 8-bit font and iCE colors turned off. If no columns are specified for .BIN, default value is 160.
1240 |
1241 |
1242 |
1243 |

Columns options

1244 |
1245 | 1246 | 1249 | 1250 |
1247 | Important 1248 | Used for .BIN files only. Skip this option when converting other formats.
1251 |
1252 |
1253 |
1254 |

Font options

1255 |
    1256 |
  • 1257 |

    1258 | 80x25 1259 |

    1260 |
  • 1261 |
  • 1262 |

    1263 | 80x50 1264 |

    1265 |
  • 1266 |
  • 1267 |

    1268 | PC or Amiga fonts (8-bit font only) 1269 |

    1270 |
  • 1271 |
1272 |
1273 |

Amiga fonts options

1274 |
    1275 |
  • 1276 |

    1277 | amiga (alias to Topaz) 1278 |

    1279 |
  • 1280 |
  • 1281 |

    1282 | b-strict (Original B-Strict font) 1283 |

    1284 |
  • 1285 |
  • 1286 |

    1287 | b-struct (Original B-Struct font) 1288 |

    1289 |
  • 1290 |
  • 1291 |

    1292 | microknight (Original MicroKnight version) 1293 |

    1294 |
  • 1295 |
  • 1296 |

    1297 | microknight+ (Modified MicroKnight version) 1298 |

    1299 |
  • 1300 |
  • 1301 |

    1302 | microknightplus (alias to MicroKnight + to be used in URLs) 1303 |

    1304 |
  • 1305 |
  • 1306 |

    1307 | mosoul (Original mO’sOul font) 1308 |

    1309 |
  • 1310 |
  • 1311 |

    1312 | pot-noodle (Original P0T-NOoDLE font) 1313 |

    1314 |
  • 1315 |
  • 1316 |

    1317 | topaz (Original Topaz Kickstart 2.x version) 1318 |

    1319 |
  • 1320 |
  • 1321 |

    1322 | topaz+ (Modified Topaz Kickstart 2.x+ version) 1323 |

    1324 |
  • 1325 |
  • 1326 |

    1327 | topazplus (alias to Topaz+ to be used in URLs) 1328 |

    1329 |
  • 1330 |
  • 1331 |

    1332 | topaz500 (Original Topaz Kickstart 1.x version) 1333 |

    1334 |
  • 1335 |
  • 1336 |

    1337 | topaz500+ (Modified Topaz Kickstart 1.x version) 1338 |

    1339 |
  • 1340 |
  • 1341 |

    1342 | topaz500plus (alias to Topaz500+ to be used in URLs) 1343 |

    1344 |
  • 1345 |
1346 |
1347 | 1348 | 1351 | 1352 |
1349 | Note 1350 | All the amiga fonts come from the excellent Amiga bitmap fonts package by dMG.
1353 |
1354 |
1355 |
1356 |

PC fonts options

1357 |
    1358 |
  • 1359 |

    1360 | 80x25 (Default, code page 437) 1361 |

    1362 |
  • 1363 |
  • 1364 |

    1365 | 80x50 (Code page 437, 80x50 mode) 1366 |

    1367 |
  • 1368 |
  • 1369 |

    1370 | armenian 1371 |

    1372 |
  • 1373 |
  • 1374 |

    1375 | baltic (Code page 775) 1376 |

    1377 |
  • 1378 |
  • 1379 |

    1380 | cyrillic (Code page 855) 1381 |

    1382 |
  • 1383 |
  • 1384 |

    1385 | french-canadian (Code page 863) 1386 |

    1387 |
  • 1388 |
  • 1389 |

    1390 | greek (Code page 737) 1391 |

    1392 |
  • 1393 |
  • 1394 |

    1395 | greek-869 (Code page 869) 1396 |

    1397 |
  • 1398 |
  • 1399 |

    1400 | hebrew (Code page 862) 1401 |

    1402 |
  • 1403 |
  • 1404 |

    1405 | icelandic (Code page 861) 1406 |

    1407 |
  • 1408 |
  • 1409 |

    1410 | latin1 (Code page 850) 1411 |

    1412 |
  • 1413 |
  • 1414 |

    1415 | latin2 (Code page 852) 1416 |

    1417 |
  • 1418 |
  • 1419 |

    1420 | nordic (Code page 865) 1421 |

    1422 |
  • 1423 |
  • 1424 |

    1425 | persian (Iran System encoding standard) 1426 |

    1427 |
  • 1428 |
  • 1429 |

    1430 | portuguese (Code page 860) 1431 |

    1432 |
  • 1433 |
  • 1434 |

    1435 | russian (Code page 866) 1436 |

    1437 |
  • 1438 |
  • 1439 |

    1440 | terminus (Terminus font) 1441 |

    1442 |
  • 1443 |
  • 1444 |

    1445 | turkish (Code page 857) 1446 |

    1447 |
  • 1448 |
1449 |
1450 |
1451 |
1452 |

Bits options

1453 |
    1454 |
  • 1455 |

    1456 | 8 (8-bit) 1457 |

    1458 |
  • 1459 |
1460 |
1461 |
1462 |

Default rendering mode.

1463 |
1464 |
    1465 |
  • 1466 |

    1467 | 9 (9-bit) 1468 |

    1469 |
  • 1470 |
1471 |
1472 |
1473 |

Renders the 9th column of block characters, causing the output to look like it’s displayed in real textmode.

1474 |
1475 |
    1476 |
  • 1477 |

    1478 | ced 1479 |

    1480 |
  • 1481 |
1482 |
1483 |
1484 |

Renders files in black on gray, and limit the output to 78 columns (only available in ANSi loader).

1485 |

Used together with an Amiga font, the output will look like it is displayed on Amiga.

1486 |
1487 |
1488 | 1489 | 1492 | 1493 |
1490 | Note 1491 | It is possible to set custom RGB values by modifying the predefined constants CED_BACKGROUND_COLOR and CED_FOREGROUND_COLOR in the configuration file.
1494 |
1495 |
    1496 |
  • 1497 |

    1498 | thumbnail 1499 |

    1500 |
  • 1501 |
1502 |
1503 |
1504 |

Generate thumbnail, using the full length picture by default.

1505 |
1506 |
1507 | 1508 | 1511 | 1513 |
1509 | Note 1510 | You can adjust the maximum height and the output size by changing the THUMBNAILS_HEIGHT and THUMBNAILS_SIZE options in the configuration file. 1512 | NOTE: It is also possible to change the tag added to the output file name by changing the THUMBNAILS_TAG option in the configuration file.
1514 |
1515 |
    1516 |
  • 1517 |

    1518 | transparent 1519 |

    1520 |
  • 1521 |
1522 |
1523 |
1524 |

Renders files with transparent background (only available in ANSi loader).

1525 |
1526 |
    1527 |
  • 1528 |

    1529 | workbench 1530 |

    1531 |
  • 1532 |
1533 |
1534 |
1535 |

Renders files using Amiga Workbench colors (only available in ANSi loader).

1536 |
1537 |
1538 | 1539 | 1542 | 1543 |
1540 | Note 1541 | It is possible to set custom RGB values by modifying the predefined constants WORKBENCH_COLOR in the configuration file.
1544 |
1545 |
1546 |
1547 |

iCE colors options

1548 |
    1549 |
  • 1550 |

    1551 | 0 (turned OFF) 1552 |

    1553 |
  • 1554 |
  • 1555 |

    1556 | 1 (turned ON) 1557 |

    1558 |
  • 1559 |
1560 |
1561 |
1562 |

Examples

1563 |
1564 |
1565 |
ansilove ansi.ans
1566 | ansilove ansi.ans 80x25 9 (80x25 font, 9-bit)
1567 | ansilove ansi.ans 80x25 thumbnail (80x25 font, thumbnail rendering)
1568 | ansilove ansi.ans 80x50 9 (80x50 font, 9-bit)
1569 | ansilove ansi.ans russian 9 (Russian font, 9-bit)
1570 | ansilove ansi.ans amiga (Amiga font)
1571 |
1572 |
1573 |
1574 |
ansilove pcboard.pcb
1575 | ansilove pcboard.pcb 80x25 9 (80x25 font, 9-bit)
1576 | ansilove pcboard.pcb 80x25 thumbnail (80x25 font, thumbnail rendering)
1577 |
1578 |
1579 |
1580 |
ansilove binary.bin 160
1581 | ansilove binary.bin 160 80x25 9 (80x25 font, 9-bit)
1582 | ansilove binary.bin 160 80x25 thumbnail (80x25 font, thumbnail rendering)
1583 | ansilove binary.bin 160 80x50 9 (80x50 font, 9-bit)
1584 |
1585 |
1586 |
1587 |
ansilove adf.adf
1588 | ansilove adf.adf thumbnail (thumbnail rendering)
1589 |
1590 |
1591 |
1592 |
ansilove idf.idf
1593 | ansilove idf.idf thumbnail (thumbnail rendering)
1594 |
1595 |
1596 |
1597 |
ansilove tundra.tnd
1598 | ansilove tundra.tnd 80x25 9 (80x25 font, 9-bit)
1599 | ansilove tundra.tnd 80x25 thumbnail (80x25 font, thumbnail rendering)
1600 |
1601 |
1602 |
1603 |
ansilove xbin.xb
1604 | ansilove xbin.xb thumbnail (thumbnail rendering)
1605 |
1606 |
1607 | 1608 | 1611 | 1612 |
1609 | Important 1610 | Files with a .DIZ extension are rendered with the exact needed number of columns. White spaces and empty lines at the beginning and end of DIZ files are stripped from the output.
1613 |
1614 |
1615 | 1616 | 1619 | 1620 |
1617 | Note 1618 | You can customize file extensions definitions in the configuration fileby modifying the predefined constant called DIZ_EXTENSIONS
1621 |
1622 |
1623 |
1624 |
1625 |
1626 |

Library usage for doing on the fly conversions on web pages

1627 |
1628 |

Using Ansilove library for doing "on the fly" conversions on Web pages, can be done using these loaders:

1629 |
    1630 |
  • 1631 |

    1632 | load_ansi.php 1633 |

    1634 |
  • 1635 |
  • 1636 |

    1637 | load_pcboard.php 1638 |

    1639 |
  • 1640 |
  • 1641 |

    1642 | load_bin.php 1643 |

    1644 |
  • 1645 |
  • 1646 |

    1647 | load_adf.php 1648 |

    1649 |
  • 1650 |
  • 1651 |

    1652 | load_idf.php 1653 |

    1654 |
  • 1655 |
  • 1656 |

    1657 | load_tundra.php 1658 |

    1659 |
  • 1660 |
  • 1661 |

    1662 | load_xbin.php 1663 |

    1664 |
  • 1665 |
1666 |

Upload the loaders you plan to use, the library ansilove.php, the config file ansilove.cfg.php, along with the fonts directory somewhere on your web site.

1667 |

For security issues, all the files to be rendered must be placed in a directory, which is ansis/ by default (the ending slash is required). This value is defined in the configuration file by the ANSILOVE_FILES_DIRECTORY constant.

1668 |
1669 | 1670 | 1673 | 1674 |
1671 | Caution 1672 | Do NOT unset the ANSILOVE_FILES_DIRECTORY constant, else it’ll be possible to convert files laying in the same directory than the loaders, which could lead to possible security leaks.
1675 |
1676 |
1677 | 1678 | 1681 | 1682 |
1679 | Important 1680 | Please note that the input is sanitized, so it is impossible to use / and .. in paths.
1683 |
1684 |
1685 |

Including custom image tags in HTML code

1686 |
1687 |
1691 |
<img src="load_ansi.php?input=ansi.ans">
1692 | <img src="load_ansi.php?input=ansi.ans&font=80x25&bits=9">
1693 | <img src="load_ansi.php?input=ansi.ans&font=80x25&bits=thumbnail">
1694 | <img src="load_ansi.php?input=ansi.ans&font=russian">
1695 | <img src="load_ansi.php?input=ansi.ans&font=russian&bits=9">
1696 | <img src="load_ansi.php?input=ansi.ans&font=amiga">
1697 | <img src="load_ansi.php?input=ansi.ans&font=80x50&bits=9">
1698 | <img src="load_ansi.php?input=ansi.ans&font=80x25&bits=9&icecolors=1">
1699 |
1700 |
1704 |
<img src="load_pcboard.php?input=pcboard.pcb">
1705 | <img src="load_pcboard.php?input=pcboard.pcb&font=80x25&bits=9">
1706 | <img src="load_pcboard.php?input=pcboard.pcb&font=80x25&bits=thumbnail">
1707 | <img src="load_pcboard.php?input=pcboard.pcb&font=russian">
1708 | <img src="load_pcboard.php?input=pcboard.pcb&font=russian&bits=9">
1709 | <img src="load_pcboard.php?input=pcboard.pcb&font=amiga">
1710 | <img src="load_pcboard.php?input=pcboard.pcb&font=80x50&bits=9">
1711 | <img src="load_pcboard.php?input=pcboard.pcb&font=80x25&bits=9&icecolors=1">
1712 |
1713 |
1717 |
<img src="load_binary.php?input=binary.bin&columns=160">
1718 | <img src="load_binary.php?input=binary.bin&columns=160&font=80x25&bits=9">
1719 | <img src="load_binary.php?input=binary.bin&columns=160&font=80x25&bits=thumbnail">
1720 | <img src="load_binary.php?input=binary.bin&columns=160&font=80x50&bits=9">
1721 | <img src="load_binary.php?input=binary.bin&columns=160&font=80x25&bits=9&icecolors=1">
1722 |
1723 |
1727 |
<img src="load_adf.php?input=adf.adf">
1728 | <img src="load_adf.php?input=adf.adf&bits=thumbnail">
1729 |
1730 |
1734 |
<img src="load_idf.php?input=idf.idf">
1735 | <img src="load_idf.php?input=idf.idf&bits=thumbnail">
1736 |
1737 |
1741 |
<img src="load_tundra.php?input=tundra.tnd">
1742 | <img src="load_tundra.php?input=tundra.tnd&font=80x25&bits=9">
1743 | <img src="load_tundra.php?input=tundra.tnd&font=80x25&bits=thumbnail">
1744 |
1745 |
1749 |
<img src="load_xbin.php?input=xbin.xb">
1750 | <img src="load_xbin.php?input=xbin.xb&bits=thumbnail">
1751 |
1752 | 1753 | 1756 | 1757 |
1754 | Tip 1755 | Check examples/ansilove.html to see the library in action.
1758 |
1759 |
1760 | 1761 | 1764 | 1765 |
1762 | Note 1763 | If you want your HTML code to validate correctly, you should replace the & characters by &amp; and add an alt element to the img tags.
1766 |
1767 |
1768 |
1769 |
1770 |
1771 |

Library usage

1772 |
1773 |

It is also possible to use the library in your PHP applications or scripts:

1774 |
1775 |

Loading ansilove.php library in your PHP source

1776 |
1777 |
1778 |
require_once('ansilove.php');
1779 |
1780 |
1781 |
1782 |

Calling the adequate loaders to convert input files

1783 |
1784 |
1785 |
load_ansi($input,$output,$font,$bits,$icecolors);
1786 |
1787 |
1788 |
1789 |
load_pcboard($input,$output,$font,$bits,$icecolors);
1790 |
1791 |
1792 |
1793 |
load_binary($input,$output,$columns,$font,$bits,$icecolors);
1794 |
1795 |
1796 |
1797 |
load_adf($input,$output);
1798 |
1799 |
1800 |
1801 |
load_idf($input,$output);
1802 |
1803 |
1804 |
1805 |
load_tundra($input,$output,$font,$bits);
1806 |
1807 |
1808 |
1809 |
load_xbin($input,$output);
1810 |
1811 |
1812 |
1813 |
1814 |
1815 |

Retrieve SAUCE Informations

1816 |
1817 |

Retrieving SAUCE informations from files can be done using the load_sauce function:

1818 |
1819 |

Loading ansilove.php library in your PHP source

1820 |
1821 |
1822 |
require_once('ansilove.php');
1823 |
1824 |
1825 |
1826 |

Loading sauce informations

1827 |
1828 |
1829 |
$sauce=load_sauce($input_file_name);
1830 |
1831 |

The load_sauce function will return an array containing the SAUCE informations:

1832 |
1833 |
1834 |
Array
1835 | (
1836 |     [ID] => SAUCE
1837 |     [Version] => 00
1838 |     [Title] => Title
1839 |     [Author] => Author
1840 |     [Group] => Group
1841 |     [Date] => 19970621
1842 |     [FileSize] => 1997
1843 |     [DataType] => 1
1844 |     [FileType] => 1
1845 |     [TInfo1] => 80
1846 |     [TInfo2] => 29
1847 |     [TInfo3] => 0
1848 |     [TInfo4] => 0
1849 |     [Comments] => 10
1850 |     [Flags] => 0
1851 |     [Filler] =>
1852 |     [Comment_Line_01] => Comment Line
1853 |     [...]
1854 |     [Comment_Line_255] => Comment Line
1855 | )
1856 |
1857 |
1858 | 1859 | 1862 | 1863 |
1860 | Note 1861 | You can find detailed informations about SAUCE (including full specifications) here: http://www.acid.org/info/sauce/sauce.htm
1864 |
1865 |
1866 |
1867 |
1868 |
1869 |

License

1870 |
1871 |

Ansilove is released under the BSD 2-Clause license. See LICENSE file for details.

1872 |
1873 |
1874 |
Copyright (c) 2003-2017, Frederic Cambus
1875 | All rights reserved.
1876 | 
1877 | Redistribution and use in source and binary forms, with or without
1878 | modification, are permitted provided that the following conditions are met:
1879 | 
1880 |   * Redistributions of source code must retain the above copyright
1881 |     notice, this list of conditions and the following disclaimer.
1882 | 
1883 |   * Redistributions in binary form must reproduce the above copyright
1884 |     notice, this list of conditions and the following disclaimer in the
1885 |     documentation and/or other materials provided with the distribution.
1886 | 
1887 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1888 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1889 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1890 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
1891 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1892 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1893 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1894 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1895 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1896 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1897 | POSSIBILITY OF SUCH DAMAGE.
1898 |
1899 |
1900 |
1901 |
1902 |

Distribution

1903 |
1904 |

If you want to add an Ansilove download link on your page, please use the following download link:

1905 |
1906 |
1907 |
https://www.ansilove.org/downloads.html
1908 |
1909 |

Ansilove is now also available on GitHub:

1910 |
1911 |
1912 |
https://github.com/ansilove/ansilove-php
1913 |
1914 |
1915 |
1916 |
1917 |

Support and Donations

1918 |
1919 |

Ansilove is the result of countless hours of coding and testing, in order to provide the most accurate possible ANSi and ASCii conversion tool. If you find this program useful, please consider making a donation, thank you <3

1920 |
1921 |
1922 |
1923 |

Author

1924 |
1925 |

Ansilove is developed by Frederic Cambus.

1926 | 1927 |
1928 |
1929 |
1930 |

Contact

1931 |
1932 |

Project Homepage: https://www.ansilove.org

1933 | 1934 |

For bug report, feedback, or any other reasons, please write at the following address:

1935 |
1936 |
1937 |
Frederic Cambus <fred AT statdns DOT com>
1938 |
1939 |
1940 |
1941 |
1942 |

1943 | 1949 | 1950 | 1951 | -------------------------------------------------------------------------------- /documentation/ansilove.txt: -------------------------------------------------------------------------------- 1 | Ansilove 2 | ======== 3 | :Author: Frederic Cambus 4 | :Date: 2017-04-19 5 | :Revision: 1.12 6 | 7 | Description 8 | ----------- 9 | 10 | *Ansilove* is a set of tools to convert ANSi and artscene-related file formats into *PNG* images, supporting *ANSi* (.ANS), *PCBOARD* (.PCB), *BiNARY* (.BIN), *ADF* (.ADF), *iDF* (.IDF), *TUNDRA* (.TND) and *XBiN* (.XB) formats. 11 | 12 | CAUTION: Ansilove/PHP is now deprecated, version 1.12 will be the last release. Users are encouraged to migrate to Ansilove/C which replaces the command line converter, and to Ansilove.js for doing "on the fly" conversions on web pages. 13 | 14 | It includes an all purposes *command line converter*, along with a *library* to use on web pages for doing *"on the fly"* conversions. It creates size optimized *4-bit PNG* files and supports *SAUCE* (Standard Architecture for Universal Comment Extentions), 80x25 and 80x50 PC fonts (including all the 14 *MS-DOS charsets* and some unofficial ones), Amiga fonts, and iCE colors. 15 | 16 | It is written in *PHP*, and can thus be run on any supported system: the command line converter can be used under *Linux*, *Mac OS X*, *Windows*, and so far and so on. 17 | 18 | IMPORTANT: Ansilove doesn't require any Web server: you can use the bundled command line converter to convert files locally on your computer. 19 | 20 | Features 21 | ~~~~~~~~ 22 | 23 | - ANSi (.ANS) format support 24 | - PCBOARD (.PCB) format support 25 | - BiNARY (.BIN) format support 26 | - ADF (.ADF) format support (Artworx) 27 | - iDF (.IDF) format support (iCE Draw) 28 | - TUNDRA (.TND) format support - https://sourceforge.net/projects/tundradraw/ 29 | - XBiN (.XB) format support - http://www.acid.org/info/xbin/xbin.htm 30 | - Small output file size (4-bit PNG) 31 | - SAUCE (Standard Architecture for Universal Comment Extentions) 32 | - 80x25 font support 33 | - 80x50 font support 34 | - Amiga font support 35 | - iCE colors support 36 | 37 | Supported charsets 38 | ~~~~~~~~~~~~~~~~~~ 39 | 40 | - IBM PC (Code page 437) 41 | - Baltic (Code page 775) 42 | - Cyrillic (Code page 855) 43 | - French Canadian (Code page 863) 44 | - Greek (Code pages 737 and 869) 45 | - Hebrew (Code page 862) 46 | - Icelandic (Code page 861) 47 | - Latin-1 (Code page 850) 48 | - Latin-2 (Code page 852) 49 | - Nordic (Code page 865) 50 | - Portuguese (Code page 860) 51 | - Russian (Code page 866) 52 | - Turkish (Code page 857) 53 | 54 | Supported unofficial charsets 55 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | 57 | - Armenian 58 | - Persian (Iran System encoding standard) 59 | 60 | Requirements 61 | ------------ 62 | 63 | *Ansilove* requires 'PHP' with the 'GD' module installed. If you want to convert huge files, you may have to increase the 'memory_limit size' in your 'php.ini' file. 64 | 65 | Installation 66 | ------------ 67 | 68 | Using tarballs 69 | ~~~~~~~~~~~~~~ 70 | 71 | ---- 72 | wget https://www.ansilove.org/files/ansilove-php-1.12.tar.gz 73 | tar xvfz ansilove-php-1.12.tar.gz 74 | ---- 75 | 76 | Using Git 77 | ~~~~~~~~~ 78 | 79 | ---- 80 | git clone git@github.com:ansilove/ansilove-php.git 81 | ---- 82 | 83 | IMPORTANT: Under Windows people must install the PHP binaries: the easiest way is to use the '.exe' installer and enable the GD library. 84 | 85 | Configuration options 86 | ---------------------- 87 | 88 | The configuration options are defined in the 'ansilove.cfg.php' file. 89 | 90 | Options list 91 | ~~~~~~~~~~~~ 92 | 93 | * ANSILOVE_FILES_DIRECTORY 94 | 95 | **** 96 | Defines the directory where all the files to be rendered must be placed when using the library online to do "on the fly" conversions. Default value: 'ansis/' 97 | **** 98 | 99 | * ANSILOVE_LOG_FILE 100 | 101 | **** 102 | Defines the log file used by the error message logger. Default value: 'ansilove.log' 103 | **** 104 | 105 | * PCBOARD_STRIP_CODES 106 | 107 | **** 108 | Defines a serie of comma separated values containing PCBoard codes to be stripped from the output. 109 | 110 | Default value: "@POFF@,@WAIT@", which means all '@POFF@' and '@WAIT@' codes will be stripped. 111 | **** 112 | 113 | * DIZ_EXTENSIONS 114 | 115 | **** 116 | Defines a serie of comma separated values specifying which files to render in DIZ mode. Default value: ".diz,.ion" 117 | **** 118 | 119 | * SUBSTITUTE_BREAK 120 | 121 | **** 122 | Whether or not stop rendering input files when the substitute (SUB) character is encountered. Default value: '1' (*ENABLED*) 123 | **** 124 | 125 | * WRAP_COLUMN_80 126 | 127 | **** 128 | Whether or not enable 80th column wrapping. Default value: '1' (*ENABLED*) 129 | **** 130 | 131 | * CED_BACKGROUND_COLOR 132 | 133 | **** 134 | Defines RGB values of the CED mode background color. 135 | **** 136 | 137 | * CED_FOREGROUND_COLOR 138 | 139 | **** 140 | Defines RGB values of the CED mode foreground color. 141 | **** 142 | 143 | * WORKBENCH_COLOR 144 | 145 | **** 146 | Defines RGB values of the WorkBench mode colors. 147 | **** 148 | 149 | * THUMBNAILS_SIZE 150 | 151 | **** 152 | Defines thumbnails size multiplicator. Default value: '1' (will produce 80 pixels width output) 153 | **** 154 | 155 | * THUMBNAILS_HEIGHT 156 | 157 | **** 158 | Defines maximum thumbnails height (in pixels). Default value: '0' (will produce full height output) 159 | **** 160 | 161 | * THUMBNAILS_TAG 162 | 163 | **** 164 | Defines the tag added to the output file name. Default value: '-thumbnail' 165 | **** 166 | 167 | * SPLIT 168 | 169 | **** 170 | Whether or not split output in multiple images files. Default value: '0' (*DISABLED*) 171 | **** 172 | 173 | * SPLIT_HEIGHT 174 | 175 | **** 176 | Define the height (in pixels) of each splitted pictures. Default value: '4096' 177 | **** 178 | 179 | * SPLIT_SEPARATOR 180 | 181 | **** 182 | Defines the separator used in output file names. Default value: '.' 183 | **** 184 | 185 | Supported options for each file format 186 | -------------------------------------- 187 | 188 | [grid="rows",format="csv"] 189 | [options="header",cols="^,^,^,^,^"] 190 | |=========================== 191 | Format,columns,font,bits,icecolors 192 | ANS,,X,X,X 193 | PCB,,X,X,X 194 | BIN,X,X,X,X 195 | ADF,,,, 196 | IDF,,,, 197 | TND,,X,X, 198 | XB,,,, 199 | |=========================== 200 | 201 | Command line converter 202 | ---------------------- 203 | 204 | The command line converter can be invoked by typing: 205 | 206 | ---- 207 | ./ansilove 208 | ---- 209 | 210 | NOTE: Windows users should use the bundled 'ansilove.bat' file. 211 | 212 | Usage 213 | ~~~~~ 214 | 215 | ---- 216 | ansilove inputfile columns font bits icecolors 217 | ---- 218 | 219 | NOTE: If no options are specified, default settings are used: 80x25, 8-bit font and iCE colors turned off. If no columns are specified for .BIN, default value is 160. 220 | 221 | 222 | Columns options 223 | ~~~~~~~~~~~~~~~ 224 | 225 | IMPORTANT: Used for '.BIN' files only. Skip this option when converting other formats. 226 | 227 | Font options 228 | ~~~~~~~~~~~~ 229 | 230 | - 80x25 231 | - 80x50 232 | - PC or Amiga fonts (8-bit font only) 233 | 234 | Amiga fonts options 235 | ^^^^^^^^^^^^^^^^^^^ 236 | 237 | - amiga (alias to Topaz) 238 | - b-strict (Original B-Strict font) 239 | - b-struct (Original B-Struct font) 240 | - microknight (Original MicroKnight version) 241 | - microknight+ (Modified MicroKnight version) 242 | - microknightplus (alias to MicroKnight + to be used in URLs) 243 | - mosoul (Original mO'sOul font) 244 | - pot-noodle (Original P0T-NOoDLE font) 245 | - topaz (Original Topaz Kickstart 2.x version) 246 | - topaz+ (Modified Topaz Kickstart 2.x+ version) 247 | - topazplus (alias to Topaz+ to be used in URLs) 248 | - topaz500 (Original Topaz Kickstart 1.x version) 249 | - topaz500+ (Modified Topaz Kickstart 1.x version) 250 | - topaz500plus (alias to Topaz500+ to be used in URLs) 251 | 252 | NOTE: All the amiga fonts come from the excellent https://www.trueschool.se/files/fonts/t!s-af10.zip[Amiga bitmap fonts] package by dMG. 253 | 254 | PC fonts options 255 | ^^^^^^^^^^^^^^^^ 256 | 257 | - 80x25 (Default, code page 437) 258 | - 80x50 (Code page 437, 80x50 mode) 259 | - armenian 260 | - baltic (Code page 775) 261 | - cyrillic (Code page 855) 262 | - french-canadian (Code page 863) 263 | - greek (Code page 737) 264 | - greek-869 (Code page 869) 265 | - hebrew (Code page 862) 266 | - icelandic (Code page 861) 267 | - latin1 (Code page 850) 268 | - latin2 (Code page 852) 269 | - nordic (Code page 865) 270 | - persian (Iran System encoding standard) 271 | - portuguese (Code page 860) 272 | - russian (Code page 866) 273 | - terminus (Terminus font) 274 | - turkish (Code page 857) 275 | 276 | Bits options 277 | ~~~~~~~~~~~~ 278 | 279 | - 8 (8-bit) 280 | 281 | **** 282 | Default rendering mode. 283 | **** 284 | 285 | - 9 (9-bit) 286 | 287 | **** 288 | Renders the 9th column of block characters, causing the output to look like it's displayed in real textmode. 289 | **** 290 | 291 | - ced 292 | 293 | **** 294 | Renders files in black on gray, and limit the output to 78 columns (only available in ANSi loader). 295 | 296 | Used together with an Amiga font, the output will look like it is displayed on Amiga. 297 | **** 298 | 299 | NOTE: It is possible to set custom RGB values by modifying the predefined constants 'CED_BACKGROUND_COLOR' and 'CED_FOREGROUND_COLOR' in the configuration file. 300 | 301 | - thumbnail 302 | 303 | **** 304 | Generate thumbnail, using the full length picture by default. 305 | **** 306 | 307 | NOTE: You can adjust the maximum height and the output size by changing the 'THUMBNAILS_HEIGHT' and 'THUMBNAILS_SIZE' options in the configuration file. 308 | NOTE: It is also possible to change the tag added to the output file name by changing the 'THUMBNAILS_TAG' option in the configuration file. 309 | 310 | - transparent 311 | 312 | **** 313 | Renders files with transparent background (only available in ANSi loader). 314 | **** 315 | 316 | - workbench 317 | 318 | **** 319 | Renders files using Amiga Workbench colors (only available in ANSi loader). 320 | **** 321 | 322 | NOTE: It is possible to set custom RGB values by modifying the predefined constants 'WORKBENCH_COLOR' in the configuration file. 323 | 324 | iCE colors options 325 | ~~~~~~~~~~~~~~~~~~ 326 | 327 | - 0 (turned *OFF*) 328 | - 1 (turned *ON*) 329 | 330 | Examples 331 | ~~~~~~~~ 332 | 333 | ---- 334 | ansilove ansi.ans 335 | ansilove ansi.ans 80x25 9 (80x25 font, 9-bit) 336 | ansilove ansi.ans 80x25 thumbnail (80x25 font, thumbnail rendering) 337 | ansilove ansi.ans 80x50 9 (80x50 font, 9-bit) 338 | ansilove ansi.ans russian 9 (Russian font, 9-bit) 339 | ansilove ansi.ans amiga (Amiga font) 340 | ---- 341 | 342 | ---- 343 | ansilove pcboard.pcb 344 | ansilove pcboard.pcb 80x25 9 (80x25 font, 9-bit) 345 | ansilove pcboard.pcb 80x25 thumbnail (80x25 font, thumbnail rendering) 346 | ---- 347 | 348 | ---- 349 | ansilove binary.bin 160 350 | ansilove binary.bin 160 80x25 9 (80x25 font, 9-bit) 351 | ansilove binary.bin 160 80x25 thumbnail (80x25 font, thumbnail rendering) 352 | ansilove binary.bin 160 80x50 9 (80x50 font, 9-bit) 353 | ---- 354 | 355 | ---- 356 | ansilove adf.adf 357 | ansilove adf.adf thumbnail (thumbnail rendering) 358 | ---- 359 | 360 | ---- 361 | ansilove idf.idf 362 | ansilove idf.idf thumbnail (thumbnail rendering) 363 | ---- 364 | 365 | ---- 366 | ansilove tundra.tnd 367 | ansilove tundra.tnd 80x25 9 (80x25 font, 9-bit) 368 | ansilove tundra.tnd 80x25 thumbnail (80x25 font, thumbnail rendering) 369 | ---- 370 | 371 | ---- 372 | ansilove xbin.xb 373 | ansilove xbin.xb thumbnail (thumbnail rendering) 374 | ---- 375 | 376 | IMPORTANT: Files with a .DIZ extension are rendered with the exact needed number of columns. White spaces and empty lines at the beginning and end of DIZ files are stripped from the output. 377 | 378 | NOTE: You can customize file extensions definitions in the configuration fileby modifying the predefined constant called 'DIZ_EXTENSIONS' 379 | 380 | Library usage for doing on the fly conversions on web pages 381 | ----------------------------------------------------------- 382 | 383 | Using Ansilove library for doing "on the fly" conversions on Web pages, can be done using these loaders: 384 | 385 | - load_ansi.php 386 | - load_pcboard.php 387 | - load_bin.php 388 | - load_adf.php 389 | - load_idf.php 390 | - load_tundra.php 391 | - load_xbin.php 392 | 393 | Upload the loaders you plan to use, the library 'ansilove.php', the config file 'ansilove.cfg.php', along with the 'fonts' directory somewhere on your web site. 394 | 395 | For security issues, all the files to be rendered must be placed in a directory, which is 'ansis/' by default (the ending slash is required). This value is defined in the configuration file by the 'ANSILOVE_FILES_DIRECTORY' constant. 396 | 397 | CAUTION: Do *NOT* unset the 'ANSILOVE_FILES_DIRECTORY' constant, else it'll be possible to convert files laying in the same directory than the loaders, which could lead to possible security leaks. 398 | 399 | IMPORTANT: Please note that the input is sanitized, so it is impossible to use / and .. in paths. 400 | 401 | Including custom image tags in HTML code 402 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 403 | 404 | [source,html] 405 | ---- 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | ---- 415 | 416 | [source,html] 417 | ---- 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | ---- 427 | 428 | [source,html] 429 | ---- 430 | 431 | 432 | 433 | 434 | 435 | ---- 436 | 437 | [source,html] 438 | ---- 439 | 440 | 441 | ---- 442 | 443 | [source,html] 444 | ---- 445 | 446 | 447 | ---- 448 | 449 | [source,html] 450 | ---- 451 | 452 | 453 | 454 | ---- 455 | 456 | [source,html] 457 | ---- 458 | 459 | 460 | ---- 461 | 462 | TIP: Check 'examples/ansilove.html' to see the library in action. 463 | 464 | NOTE: If you want your HTML code to validate correctly, you should replace the '&' characters by '\&' and add an 'alt' element to the 'img' tags. 465 | 466 | Library usage 467 | ------------- 468 | 469 | It is also possible to use the library in your PHP applications or scripts: 470 | 471 | Loading 'ansilove.php' library in your PHP source 472 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 473 | 474 | ---- 475 | require_once('ansilove.php'); 476 | ---- 477 | 478 | Calling the adequate loaders to convert input files 479 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 480 | 481 | ---- 482 | load_ansi($input,$output,$font,$bits,$icecolors); 483 | ---- 484 | 485 | ---- 486 | load_pcboard($input,$output,$font,$bits,$icecolors); 487 | ---- 488 | 489 | ---- 490 | load_binary($input,$output,$columns,$font,$bits,$icecolors); 491 | ---- 492 | 493 | ---- 494 | load_adf($input,$output); 495 | ---- 496 | 497 | ---- 498 | load_idf($input,$output); 499 | ---- 500 | 501 | ---- 502 | load_tundra($input,$output,$font,$bits); 503 | ---- 504 | 505 | ---- 506 | load_xbin($input,$output); 507 | ---- 508 | 509 | Retrieve SAUCE Informations 510 | --------------------------- 511 | 512 | Retrieving SAUCE informations from files can be done using the 'load_sauce' function: 513 | 514 | Loading 'ansilove.php' library in your PHP source 515 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | 517 | ---- 518 | require_once('ansilove.php'); 519 | ---- 520 | 521 | Loading sauce informations 522 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 523 | 524 | ---- 525 | $sauce=load_sauce($input_file_name); 526 | ---- 527 | 528 | The 'load_sauce' function will return an array containing the SAUCE informations: 529 | 530 | ---- 531 | Array 532 | ( 533 | [ID] => SAUCE 534 | [Version] => 00 535 | [Title] => Title 536 | [Author] => Author 537 | [Group] => Group 538 | [Date] => 19970621 539 | [FileSize] => 1997 540 | [DataType] => 1 541 | [FileType] => 1 542 | [TInfo1] => 80 543 | [TInfo2] => 29 544 | [TInfo3] => 0 545 | [TInfo4] => 0 546 | [Comments] => 10 547 | [Flags] => 0 548 | [Filler] => 549 | [Comment_Line_01] => Comment Line 550 | [...] 551 | [Comment_Line_255] => Comment Line 552 | ) 553 | ---- 554 | 555 | NOTE: You can find detailed informations about SAUCE (including full specifications) here: http://www.acid.org/info/sauce/sauce.htm 556 | 557 | License 558 | ------- 559 | 560 | Ansilove is released under the BSD 2-Clause license. See 'LICENSE' file for details. 561 | 562 | ---- 563 | Copyright (c) 2003-2017, Frederic Cambus 564 | All rights reserved. 565 | 566 | Redistribution and use in source and binary forms, with or without 567 | modification, are permitted provided that the following conditions are met: 568 | 569 | * Redistributions of source code must retain the above copyright 570 | notice, this list of conditions and the following disclaimer. 571 | 572 | * Redistributions in binary form must reproduce the above copyright 573 | notice, this list of conditions and the following disclaimer in the 574 | documentation and/or other materials provided with the distribution. 575 | 576 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 577 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 578 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 579 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS 580 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 581 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 582 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 583 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 584 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 585 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 586 | POSSIBILITY OF SUCH DAMAGE. 587 | ---- 588 | 589 | Distribution 590 | ------------ 591 | 592 | If you want to add an Ansilove download link on your page, please use the following download link: 593 | 594 | ---- 595 | https://www.ansilove.org/downloads.html 596 | ---- 597 | 598 | Ansilove is now also available on GitHub: 599 | 600 | ---- 601 | https://github.com/ansilove/ansilove-php 602 | ---- 603 | 604 | Support and Donations 605 | --------------------- 606 | 607 | Ansilove is the result of countless hours of coding and testing, in order to provide the most accurate possible *ANSi* and *ASCii* conversion tool. If you find this program useful, please consider making a donation, thank you <3 608 | 609 | Author 610 | ------ 611 | 612 | Ansilove is developed by Frederic Cambus. 613 | 614 | Site: https://www.cambus.net 615 | 616 | Contact 617 | ------- 618 | 619 | Project Homepage: https://www.ansilove.org 620 | 621 | Sister project: https://www.ascii-codes.com 622 | 623 | For bug report, feedback, or any other reasons, please write at the following address: 624 | ---- 625 | Frederic Cambus 626 | ---- 627 | -------------------------------------------------------------------------------- /documentation/documentation.sh: -------------------------------------------------------------------------------- 1 | asciidoc -a icons -a toc ansilove.txt 2 | -------------------------------------------------------------------------------- /documentation/images/icons/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/documentation/images/icons/caution.png -------------------------------------------------------------------------------- /documentation/images/icons/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/documentation/images/icons/important.png -------------------------------------------------------------------------------- /documentation/images/icons/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/documentation/images/icons/note.png -------------------------------------------------------------------------------- /documentation/images/icons/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/documentation/images/icons/tip.png -------------------------------------------------------------------------------- /documentation/images/icons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/documentation/images/icons/warning.png -------------------------------------------------------------------------------- /examples/ansilove.html: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | Ansilove usage example 22 | 23 | 24 | 25 |

Example ANSi (Drawn by Cleaner, August 2004):
cl!-al02.ans

26 |

Example ANSi (Drawn by Avenger, November 2004):
ave-love.ans

27 |

Example ANSi (Drawn by Cleaner, July 2005):
cl!-al03.ans

28 |

Example ANSi (Drawn by Avenging Angel, October 2005):
avg-alove.ans

29 |

Example ANSi (Drawn by Aesthetic, November 2005):
43-nslv1.ans

30 |

Example ANSi (Drawn by Sephiroth, November 2005):
sph_love.ans

31 |

Example ASCii (Amiga Font ON) (Drawn by Yop, March 2006):
yop-ANSilove.ans

32 |

Example ANSi (Drawn by Noches and Avenging Angel, January 2007):
us-alov.ans

33 |

Example ANSi (Drawn by Ansichrist, April 2009):
ns-bp09.ans

34 |

Example ASCii (Amiga Font ON) (Drawn by dMG, April 2009):
dMG-ansilove.asc

35 |

Example ASCii (Amiga Font ON) (Drawn by Cubon, April 2011):
cbn-ansilove.ans

36 |

Example ANSi (Drawn by Knocturnal, June 2013):
k1-alove.ans

37 |

Example ANSi (Drawn by Grymmjack, July 2013):
gj-ansilove.ans

38 |

Example ANSi (Drawn by Enzo and Cleaner, August 2013):
we-alove.ans

39 |

Example ANSi (Drawn by Noches, August 2013):
no-alove.ans

40 |

Example ANSi (Drawn by Filth, August 2013):
fil-ping.ans

41 |

Example ANSi (Drawn by BYM, August 2013):
bym-ansilove.ans

42 |

Example ASCii (Drawn by Spear and Knocturnal, October 2013):
us-alove.asc

43 |

Example ANSi (Drawn by Cleaner, November 2013):
cl!-al04.ans

44 |

Example ANSi (Drawn by Rad Man, November 2013):
rad-love.ans

45 |

Example ANSi (Drawn by Otium, April 2014):
om-ansilove.ans

46 |

Example ASCii (Drawn by Konami, June 2014):
ko-alove.ans

47 |

Example ANSi (Drawn by Andy Herbert, August 2014):

48 | 49 | 50 | -------------------------------------------------------------------------------- /examples/thumbnails.html: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | Ansilove usage example 22 | 23 | 24 | 25 |

Example ANSi (Drawn by Cleaner, August 2004):
cl!-al02.ans

26 |

Example ANSi (Drawn by Avenger, November 2004):
ave-love.ans

27 |

Example ANSi (Drawn by Cleaner, July 2005):
cl!-al03.ans

28 |

Example ANSi (Drawn by Avenging Angel, October 2005):
avg-alove.ans

29 |

Example ANSi (Drawn by Aesthetic, November 2005):
43-nslv1.ans

30 |

Example ANSi (Drawn by Sephiroth, November 2005):
sph_love.ans

31 |

Example ASCii (Amiga Font ON) (Drawn by Yop, March 2006):
yop-ANSilove.ans

32 |

Example ANSi (Drawn by Noches and Avenging Angel, January 2007):
us-alov.ans

33 |

Example ANSi (Drawn by Ansichrist, April 2009):
ns-bp09.ans

34 |

Example ASCii (Amiga Font ON) (Drawn by dMG, April 2009):
dMG-ansilove.asc

35 |

Example ASCii (Amiga Font ON) (Drawn by Cubon, April 2011):
cbn-ansilove.ans

36 |

Example ANSi (Drawn by Knocturnal, June 2013):
k1-alove.ans

37 |

Example ANSi (Drawn by Grymmjack, July 2013):
gj-ansilove.ans

38 |

Example ANSi (Drawn by Enzo and Cleaner, August 2013):
we-alove.ans

39 |

Example ANSi (Drawn by Noches, August 2013):
no-alove.ans

40 |

Example ANSi (Drawn by Filth, August 2013):
fil-ping.ans

41 |

Example ANSi (Drawn by BYM, August 2013):
bym-ansilove.ans

42 |

Example ASCii (Drawn by Spear and Knocturnal, October 2013):
us-alove.asc

43 |

Example ANSi (Drawn by Cleaner, November 2013):
cl!-al04.ans

44 |

Example ANSi (Drawn by Rad Man, November 2013):
rad-love.ans

45 |

Example ANSi (Drawn by Otium, April 2014):
om-ansilove.ans

46 |

Example ASCii (Drawn by Konami, June 2014):
ko-alove.ans

47 |

Example ANSi (Drawn by Andy Herbert, August 2014):

48 | 49 | 50 | -------------------------------------------------------------------------------- /file_id.diz: -------------------------------------------------------------------------------- 1 | ____ ____ 2 | ________|_ (_ _______ _) _|________ 3 | _)) - --|/---\\-----//---\|-- - ((_ 4 | | ' ________ ` | 5 | : ______ ____\ (_ ______ ___ 6 | ___\___ /__ _\_ _\\_ :_\ ___/_____\_(_ 7 | _\ __ /_\ \\/ \\____ \_ | 8 | \ \: : \\ . :/ | | 9 | \\_____\-------------\____|___/------:_ | 10 | _) |-----\\ . _______ . )__| 11 | | | : \\ (_ : 12 | : | .::. .::. |----\_ _/______ . 13 | . | ::::::::::: | :/ __\ ____/__ 14 | _ | `:::::::' | / \ _\ _/ 15 | \ |_ `:::' | _. / \: \_ 16 | \\_______\\ ' |--/___/-----\_____// 17 | - -----------//______|----------------- - 18 | : : 19 | | | 20 | | Ansilove/PHP 1.12 | 21 | | | 22 | | ANSi=>PNG converter & library | 23 | | | 24 | | Supports 7 textmode formats | 25 | | ANS/PCB/BiN/ADF/iDF/TND/XBiN! | 26 | | | 27 | | Supports 14 MS-DOS charsets | 28 | | 80x25, 80x50 and Amiga fonts! | 29 | |_ Supports SAUCE and iCE colors _| 30 | _|/ Small output size (4-bit PNG) \|_ 31 | // \\ 32 | /____ _____\ 33 | ns. ((_ A N S i L O V E _)) ASL 34 | -------------------------------------------------------------------------------- /fonts/ansilove_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_background.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_b-strict.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_b-strict.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_b-struct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_b-struct.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_microknight+.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_microknight+.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_microknight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_microknight.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_mosoul.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_mosoul.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_pot-noodle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_pot-noodle.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_topaz_1200+.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_topaz_1200+.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_topaz_1200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_topaz_1200.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_topaz_500+.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_topaz_500+.png -------------------------------------------------------------------------------- /fonts/ansilove_font_amiga_topaz_500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_amiga_topaz_500.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_80x25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_80x25.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_80x50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_80x50.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_armenian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_armenian.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_baltic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_baltic.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_cyrillic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_cyrillic.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_french_canadian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_french_canadian.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_greek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_greek.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_greek_869.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_greek_869.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_hebrew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_hebrew.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_icelandic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_icelandic.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_latin1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_latin1.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_latin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_latin2.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_nordic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_nordic.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_persian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_persian.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_portuguese.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_portuguese.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_russian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_russian.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_terminus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_terminus.png -------------------------------------------------------------------------------- /fonts/ansilove_font_pc_turkish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansilove/ansilove-php/2cd683e0c409ee267a0ba56495429fa20306f0ee/fonts/ansilove_font_pc_turkish.png -------------------------------------------------------------------------------- /load_adf.php: -------------------------------------------------------------------------------- 1 | 40 | -------------------------------------------------------------------------------- /load_ansi.php: -------------------------------------------------------------------------------- 1 | 42 | -------------------------------------------------------------------------------- /load_binary.php: -------------------------------------------------------------------------------- 1 | 43 | -------------------------------------------------------------------------------- /load_idf.php: -------------------------------------------------------------------------------- 1 | 40 | -------------------------------------------------------------------------------- /load_pcboard.php: -------------------------------------------------------------------------------- 1 | 42 | -------------------------------------------------------------------------------- /load_tundra.php: -------------------------------------------------------------------------------- 1 | 41 | -------------------------------------------------------------------------------- /load_xbin.php: -------------------------------------------------------------------------------- 1 | 40 | --------------------------------------------------------------------------------