🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.graphics.misc
3 messages
3 total messages Started by Karen Jenkin Mon, 18 Mar 1996 06:08
Turbo C Graphics Import/Export Help
#7
Author: Karen Jenkin
Date: Mon, 18 Mar 1996 06:08
26 lines
1555 bytes
Hi Peoples,

I have written code to generate some graphics screens in Turbo C 2.0 (DOS).
However, I now wish to export those screens (prob. through the structure from
getimage()) to a BMP or PCX format so I can "touch them up" using an external
graphics tool, and then be able to import them back into my Turbo C code
(prob through reading into the same structure for putimage()).

I have scoured the SimTel site and had a brief look at the bmp2bgi.zip,
bmp2imc.zip and sprgen10.zip files, but they seem to convert only from an
external format INTO BGI - I can't seem to find any software that will
convert my BGI format into BMP/PCX (I don't particularly want to start
my screens from scratch again!!). Perhaps I overlooked the more generic
graphics conversion/library files that would be able to do this??

Oh, I have also been using a SVGA driver and intend on using 256 colours;
this seems to not be supported with the previously mentioned conversion
routines. 

Please email me privately with any info/advice you may have:

	k.jenkin@trl.telstra.com.au


Thanks in advance,
Karen
Re: Turbo C Graphics Import/Export Help
#8
Author: Norman Wong
Date: Tue, 19 Mar 1996 01:01
32 lines
1622 bytes
In article <4iiulk$rj9@newsserver.trl.OZ.AU>, kjenkin@brahma.trl.OZ.AU
(Karen Jenkin) wrote:

> Hi Peoples,
> 
> I have written code to generate some graphics screens in Turbo C 2.0 (DOS).
> However, I now wish to export those screens (prob. through the structure from
> getimage()) to a BMP or PCX format so I can "touch them up" using an external
> graphics tool, and then be able to import them back into my Turbo C code
> (prob through reading into the same structure for putimage()).
> 

Have you ever try to capture the screen using some screen capturing
program?  I know it is not a very elegant solution but I think it will
work.  Once captured and touched-up, you could then use the utilities you
mentioned to convert them back to BGI.


> 
> Oh, I have also been using a SVGA driver and intend on using 256 colours;
> this seems to not be supported with the previously mentioned conversion
> routines. 
> 
I am looking for the same info.  I think Turbo C's BGI Library only
support 16 color on EGA/VGA.  If you find otherwise or there is other ways
to access 256 color (or gray-scale) on the same screen.  Please let me
know too.

Thank you.

Norman Wong
wongn@enel.ucalgary.ca
Re: Turbo C Graphics Import/Export Help
#9
Author: Erik W. Anderson
Date: Sat, 23 Mar 1996 05:55
13 lines
1144 bytes
Karen Jenkin wrote:
> 
> Hi Peoples,
> 
> I have written code to generate some graphics screens in Turbo C 2.0 (DOS).
> However, I now wish to export those screens (prob. through the structure from
> getimage()) to a BMP or PCX format so I can "touch them up" using an external
> graphics tool, and then be able to import them back into my Turbo C code
> (prob through reading into the same structure for putimage()).

This is no real help here but wouldn't it be easier to find code documenting
the PCX file format and use that to convert your BGI graphics files back and
forth?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads