****************** * GB2JPEG README * ****************** Author of the program GB2JPEG.EXE: Ji Zhang, **************** * Program name * **************** GB2JPEG -- Chinese GB and BIG5 to JPEG image convertor. *********** * Version * *********** Version 0.5 on WinNT 4.0, 1998-AUG Runs on DOS Prompt (Win32 console). Hope it also works on Win95. (I do not have Win95, and did not test.) Executable codes for Free i386 PC unix system -- BSD/OS and SGI IRIX 6.2 are availabe. ************************** * Who needs the software * ************************** (1)Who wants to read Chinese articles, e-mails without Chinese software, such as in English Windows NT environment and do not have any Chinese editor, viewer. (2)Who is a university student, and has a number of PCs to access, but those PCs are for all students and not allow to install any personal software. So the student can put gb2jpeg with cna16.hbf GB font and chinese16.hbf BIG5 font on a single floppy disk, whenever who wants to read Chinese articles, just inserts the floppy disk and types one line command, Ha Ha ..., ready to read. (3)Who is a Web master, and wants to generates Web pages in image from a Chinese article (a story, one issue Chinese E-magazine); or anybody who even does not understand HTML and wants to generate Web page from a Chinese article. Both wants to "type one command and done everything" (3)others. **************** * Installation * **************** Download the executable code GB2JPEG.EXE to your disk. You are ready to use. The program needs at least one 16x16 or 24x24 Chinese GB or BIG5 HBF bitmap font. If you do not have one, you may ftped from ftp.ifcss.org/pub/software/font/ and saved on your disk. That is all you need to do for installation -- so easy ! ************** * How to Use * ************** Type gb2jpeg on DOS promt with options in any order. You need to provide the Chinese file name which you want to convert and the hbf font name which you want to use, for BIG5 file, you need type additional option -big5 1. You may include any other options. If type gb2jpeg, you will get help message. Examples: (1) type: gb2jpeg -hbf cna16.hbf -in testA.gb where: cna16.hbf is Chinese GB HBF font testA.gb is a GB file you want to convert. You will get A001.jpg A002.jpg ...and you can view them by any jpeg image viewer, such as LV, netscape, IE. (2) type: gb2jpeg -hbf cna16.hbf -in testA.gb -out A -w 300 -bg 0000ff -quality 40 -htm 1 You will get A001.jpg A002.jpg ..A001.htm A002.htm ... width 300 pixels, blue background, reduced image quality 40/255 You can view them by netscape A001.htm and follow link to other pages. (3) type: gb2jpeg -hbf chinese16.hbf -in testB.bg5 -out B -big5 1 -w 320 -bg ff0000 -htm 1 You will get B001.jpg B002.jpg ...B001.htm B002.htm ... width 320 pixels, red background (4) type: gb2jpeg -hbf chinese16.hbf -in testB.bg5 -out B -big5 1 -w 320 -bg ff0000 -htm 1 -progress 1 You will get progressive images B001.jpg B002.jpg ... and B001.htm B002.htm ...width 320 pixels, red background You can set background color and foreground color by option -bg rrggbb -fg rrggbb, where rrggbb are Red-Green-Blue in hex, for example: ff0000 is red, 0000ff is blue. You can set image size by option -w width -h height , for example: -w 320 -h 400 ************************* * How to Contact Author * ************************* Send e-mail to one of addresses: Ji.Zhang@NRC.CA Ji.Zhang@Ottawa.Com jizhang@fhy.net zhang@tappet.ime.nrc.ca ********* * Files * ********* --------------------------------------------------------- You need: gb2jpeg.exe -- GB2JPEG executable (196K) need or not need: READ.me -- this file (3K) --------------------------------------------------------- You may ftp these fonts from ftp.ifcss.org or chose other 16x16 or 24x24 GB|BIG5 HBF fonts: cna16.hbf -- cclib 16x16 GB HBF font spec file (2K) cclib.16 -- cclib 16x16 GB font file 1 of 2 (237K) cclib.16a -- cclib 16x16 GB font file 2 of 2 (6K) chinese16.hbf -- BIG5 chinese 16x16 font spec file (2K) chinese.16 -- BIG5 chinese 16x16 font file 1 of 1 (442K) ---------------------------------------------------------