[comp.sys.acorn] 8-bit: PPM to Mode 2 converter, nearly!

ian@ob1.uws.EDU.AU (Ian Walsh) (01/15/91)

	The guy who wrote PBMPLUS is about to release a new version of it,
which will include a 'proper' (read 'better') way to convert a PPM file
to an 8-colour dither. So I won't bother posting my program. What I will do
is post a C program to compress these 'dithered' PPM files to 15K files (all
the easier to d/load to the Beeb!), and a BBC BASIC program to display
them in Mode 2.

	I'll also start working on a way to convert BBC screens into this
format (PPM). Once a file is in this format you'll be able to convert it to
GIF (using ppmtogif) or other formats.

					Andrew Leahy
					(who's this Ian Walsh guy!)

				Bowen Mt., NSW, Australia
				email: a.leahy@nepean.uws.edu.au
				Posted from Uni. Western Sydney - Hawkesbury

kortink@utrcu1.UUCP (Kortink John) (01/16/91)

In article <1991Jan15.060726.3857@ob1.uws.EDU.AU> ian@ob1.uws.EDU.AU (Ian Walsh) writes:
>
>	The guy who wrote PBMPLUS is about to release a new version of it,
>[...]
>	I'll also start working on a way to convert BBC screens into this
>format (PPM). Once a file is in this format you'll be able to convert it to
>GIF (using ppmtogif) or other formats.
>					Andrew Leahy
>				email: a.leahy@nepean.uws.edu.au

It is already possible to convert 20 different graphics formats to GIF
and/or TIFF by using my utilities Translator, MakeGIF and MakeTIFF (for
the Archimedes however, not the Beeb).

There is no 'standard' for BBC screen files. It is best to convert BBC
screens to Archimedes sprite, or Clear file. Then it can be converted
to GIF/TIFF. The problem with good old Beeb's screens is that you cannot
deduct the resolution/mode from the data itself (a 20K file could be
mode 0, mode 1 or mode 2).

Greetings,

John Kortink

-----------------------------------------------------------------------------
Student of Informatics at the University of Twente, The Netherlands
MAIL : kortink@utrcu1.uucp
DISCLAIMER : you know ....             "If language were liquid
                                        it would be rushing in
                                        Instead here we are
    Suzanne Vega (Solitude standing)    in a silence more eloquent
                                        than any word could ever be"
------------------------------------------------------------------------------

gpvos@cs.vu.nl (Gerben 'P' Vos) (01/20/91)

kortink@utrcu1.UUCP (Kortink John) writes:

>There is no 'standard' for BBC screen files. It is best to convert BBC
>screens to Archimedes sprite, or Clear file. Then it can be converted
>to GIF/TIFF. The problem with good old Beeb's screens is that you cannot
>deduct the resolution/mode from the data itself (a 20K file could be
>mode 0, mode 1 or mode 2).

There were these two programs "LdPic" and "SvPic". They also compressed the
data. I should still have LdPic somewhere.
Could be an idea to incorporate them into your program. Or then, maybe not.

-					Gerben
--
--- Gerben Vos - Aconet: BIGBEN!Gerben Vos - Internet: gpvos@cs.vu.nl
---- The fact that the first act under the "new world order" Bush is speaking
----- of is a war, makes me wonder what this new world order is all about.