www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/08/20:16:42

From: cat AT animal DOT u-net DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Please Help. Virtual Console seeks Image Viewer as mate.
Message-ID: <384eeda4.88459122@news.f9.net.uk>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 57
Date: Thu, 09 Dec 1999 00:01:13 GMT
NNTP-Posting-Host: 212.56.95.248
X-Complaints-To: abuse AT plus DOT net DOT uk
X-Trace: wards 944698984 212.56.95.248 (Thu, 09 Dec 1999 00:23:04 GMT)
NNTP-Posting-Date: Thu, 09 Dec 1999 00:23:04 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

   Basic Image Processing.

   Please help me.

   I want to know where I can find a DOS executeable program which can
do image conversions of .gif and .jpg to ASCII style files such as
LINUX .xbm files and so on. What I am really seeking is something I can
add in a DJGPP program through the system(str); library routine where
the conversion is specified by a simple command line such as:

  exefile {conversion options} input_file { > output_file}.

  Preferably the program should be the same for DOS and LINUX.

  I don't want to build new libraries into the application I have,
because the idea is to display images as ascii form on special virtual
text consoles with thousands of rows and columns.

   The DOS program should be as small as possible (<200Kb), and it would
be helpful to have a bit of documentation in a readme type file, in
plain ASCII.

   Full details of the project are available on the website below. The
source code available shows how to bypass termcaps and build up a
common 'full screen' interface with a similar look on LINUX and DOS.
Another 're-invention of the wheel' is the dynamic creation of .com
files on the fly to set VGA soft fonts.

    The DJGPP compiler is very good, and the Make utility makes it easy
to port from UNIX to Windows. It took me longer to download DJGPP than
to port the d4 interpretor from 16 bit turbo-c to 32-bit DJGPP.
Simulating a memory mapped screen with DJGPP uses the same method I
used on SUN/SPARC and LINUX.

    The D4-shell has built in vi, grep, sed, awk, find, tar and du
look-alikes that can run under MS/Windows DOS. This means that reading
the .inf files is no problem. The 'vi' lookalike is also configured to
work like a hypertext editor, so that a user can automatically look at
a header (.h) file by typing ^L for link on the #include line. The
editor can also be configured to edit hebrew files, working from right
to left. The same can be done with Arabic. Chinese viewing and
character entry software is available for the .hz format.
                                        Tony Goddard


 D4X.EXE
 (C)   Tony Goddard Belfast & Sheffield
 +44(0) 114 2817156 cat AT animal DOT u-net DOT com
 http://www.webstrand.org/tony/pics.htm
 BAKPAGE SOFTWARE
 ftp://ftp.webstrand.org/d4





- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019