home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
M.u.C.S. Disc 2000
/
MUCS2000.iso
/
anwend
/
family
/
images
/
images.doc
< prev
next >
Wrap
Text File
|
1996-10-02
|
3KB
|
115 lines
IMAGES FORMATS for FAMILY / HOW TO USE CONVERT.PRG
**************************************************
~~~~~~~~~~~~~~
Images formats
~~~~~~~~~~~~~~
For the photos, the one and only size accepted is: 320x240.
Formats are:
* TGA (2, uncompressed, 24bits/pixel)
header 18 bytes
($00000200, $00000000, $00000000, $4001, $F000, $1820)
then three bytes per pixel: blue, green, red.
Total: 230418 bytes
* TIF (uncompressed, 8bits, 24 bits/pixel)
header 420 bytes starting with 'MM'
then 3 bytes per pixel red, green, blue.
Total: 230820 bytes
* 12B (I did it)
header 14 bytes
'12b>RVBrvb' + width $0140 + height $00F0
then 3 bytes for 2 pixels
RRRRVVVV BBBBrrrr vvvvbbbb
(12bits, 4096 colors)
Total: 115214 bytes
(use CONVERT.PRG)
The use of 12B is highly recommended as it's half the size of the
other formats, and with more than a hundred photos (for my own family), I
saved a lot of place on my HD.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How does Family treat an image?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It uses a bank of images into RAM (its size is indicated upon
start into the alert box). This bank stores the last images to avoid
repeated accesses to the disk.
With my TT+NOVA+18Mo I get:
- 97 images in TC
- 197 images in 256c
- 200 images in 16c (200 is the limit)
With a Falcon 4Mo (NVDI but not MultiTOS):
- 3 images TC
- 17 images 256c
- 40 images 16c
The bank should contain at least one image, else the program
crashes. You need to free memory:
- lower resolution
- no ramdisk
- less fonts with Speedo
- no accessories
- no MultiTOS
Images and sounds share the same loading zone, if an image is
loaded while a sound is playing, it may be stopped!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Number of colors and display
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This program was first designed to run in TC, 16c and 256c were
added after to avoid res-change. Those two last modes don't give the same
quality as TC.
In 32768 or 65536 colors
°°°°°°°°°°°°°°°°°°°°°°°°
Nothing to say, except that on a Falcon 640x480xTC is not always
available.
In 256 colors
°°°°°°°°°°°°°
I use a fixed palette (very fast). If you're satisfied with this
display the name of the photo (into GENS.DAT) must begin with a lower-case
letter. If you're not satisfied, peut an upper-case letter, you'll get a
256 grey display instead (very good, but without colors!).
In 16 colors
°°°°°°°°°°°°
Few images look good with this fixed palette (sorry), if you're
satisfied, the second letter of the image name must be a lower-case
letter, if you're not satisfied, put an upper-case letter, you'll get a 16
grey display.
Examples:
photo.tga : always in colors
Photo.tga : grey only if 256c
pHoto.tga : grey only if 16c
PHoto.tga : grey if 256c or 16c
~~~~~~~~~~~~~~~~~~
How to use CONVERT
~~~~~~~~~~~~~~~~~~
This program allows you to convert images from TGA, TIF or 12B to
TGA, TIF or 12B. It is limited to 320x240 (it doesn't support other
sizes).
You just have to select your source path (with a mask if you
want), the destination format, and the destination path, then click on
Convert!
Only the extension of the file is changed according to its new
format.