home *** CD-ROM | disk | FTP | other *** search
- IMED256
- -------
- By Nigel Salt (c) 1991
-
- IMED256 is one of a family of products:
-
- PCGRA (pcgdem.zip is the shareware version)
- is a font/BitMap editor. It allows you to edit an image up
- to 3x3 characters (24x48 pixels). It has a full range of
- BitMap editing tools such as inversion, rotation,
- mirroring, copying and moving blocks
- You can save blocks of pixels in many ways one of which is
- as a binary Microsoft image
-
- 16to256 converts 16 colour images saved by PCGRA into 256 colour
- images as used by IMED256. This utility is available only
- to registered users of PCGRA.
-
- IMED256 is a tools for colouring Microsoft images including those
- saved by PCGRA. If you do not use PCGRA you can still use
- IMED256 but you lose out on the sophisticated BitMap
- editing tools in PCGRA.
-
- GETTING STARTED
- ---------------
- Load up imed256 and you will find yourself at the main menu. To
- the left is a 24x48 empty grid. Below the menu is an array of the
- 248 colours supported by the VGA adapter. Your cursor is flashing
- in the colour box at the top left corner.
-
- If you press an arrow key the cursor will move. Shifted arrow
- keys move the cursor further. Ctrl and the Home, PgUP, End, and
- PgDn keys takes you to a corner of the box.
-
- Put the cursor on a colour that you like and press Tab.
-
- You will now find a flashing cursor at the top left corner of the
- grid to the left of the screen. Cursor controls are just the same
- as they are in the colour box. Move around a bit if you like.
-
- If you press SPACE,or INSERT, or ENTER the pixel under the cursor
- will change to the colour selected in the colour box. If you look
- at the box under the colour box you will see thet the pixel
- corresponding to your grid position has now been plotted.
-
- If you press + the colour under the cursor will be increased by
- 1. Nothing happens to the colour box cursor unless you press F3.
- F3 moves the colour box cursor to the colour under your grid
- cursor.
-
- If you now press - the colour under your grid cursor will be
- reduced by 1.
-
- Plot a box of pixels. Move inside the box then press F2. Confirm
- your coice and you will see that the box is filled. Filling can
- be dangerous. If the area is not completely surrounded by the
- current colour then the fill will escape and obliterate your
- image.
-
- Now Tab back to the colour box and select a new colour before
- Tabbing back to the grid. Position your cursor on one of the
- pixels in your box and press F1. You will see that all of the
- pixels that were the colour under the cursor are now the current
- colour.
-
- If you now Tab back to the colour box you can save the image.
- Press F2 and follow the prompts. Tab to the grid
-
- Make a few changes then Tab back to the colour box. Now press F1
- and follow the prompts to load the image that you saved.
-
- That concludes the operation of IMED256 the remainder of tgis
- document explains the usage of the images that you create.
-
- FILE FORMATS
- ------------
-
- Both PCGRA and IMED256 can save images in Microsoft C image
- format but because the two programs operate in different video
- modes the format differs
-
- Images saved in 640x480 16 colour mode by PCGRA have the following
- format:
- integer width in pixels
- integer height in pixels
- for each row there are 4 planes representing Blue Green Red and
- Intensity.
- Each plane is (width+7)/8 bytes long
- To find the colour of a pixel you OR together the corresponding
- bits on each of the planes.
-
- Images saved by IMED256 are in a much simpler format
- Integer width (pixels*8)
- Integer length pixels
- Block of length x width bytes
- Each byte is the colour information for a single pixel.
-
- sp256c.c demonstrates the loading and display of images created
- by IMED256.
-
-
- I HOPE THAT YOU ENJOY MY PROGRAM
-
- Nigel Salt
-
- REGISTRATION
- ------------
- If you wish to continue using this product please send $25/£10 to
- the address below.
-
- Nigel Salt
- 25 Lower Station Rd
- Crayford
- Kent
- DA1 3PY
- Phone 0322 553260
- CIX ID nao@cix.complink.co.uk
- RAX Nigel Salt on node 2:440/52.49
-