home *** CD-ROM | disk | FTP | other *** search
/ In'side Shareware 1994/1995 January / ish194-95.iso / stereo / popout / bmp2tga.txt < prev    next >
Text File  |  1994-03-25  |  2KB  |  49 lines

  1. BMP2TGA.EXE is a DOS command line utility we've included that
  2. will convert either a 16 or 256 color BMP file to a Type 1
  3. Targa file.
  4.  
  5. This is a very simple utility, and is not full of bells and
  6. whistles.  The intent is simply to give the POPOUT user an
  7. easy mechanism to convert Paintbrush-viewable BMP images into
  8. Targa format.  Note that this is NOT a generic BMP to TGA
  9. converter!
  10.  
  11. The PRIMARY reason for including this utility was to give
  12. the user the ability to convert the EXAMPI2.BMP image into
  13. TGA format so it could be used as a POPOUT Source File.
  14. Using this utility on non-depth encoded, non-greyscale
  15. TGA images may result in an undesired resultant image.
  16.  
  17. All that aside, here's how the utility works:
  18.  
  19. If the BMP file is 16 color, BMP2TGA expects that the 16 colors
  20. be the same colors defined in POPOUT.PAL.  These colors are listed
  21. in the POPOUT.HLP help file.  These 16 colors will be converted
  22. to shades of grey in the resultant targa file.  Colors other than
  23. these 16 will be translated to black in the targa file.  Remember,
  24. there's really no need to do this; POPOUT will accept the 16-color
  25. BMP file as a Source File just as easily as it will accept the
  26. Targa file.
  27.  
  28. If the BMP file is 256 color, the resultant targa file is
  29. suitable either as a POPOUT Source File or Background File.
  30. Be careful with this.  Since POPOUT will accept Type 1 Targa
  31. files as valid Source Images, you may be temped to take any
  32. old 256-color BMP file and convert it.  This doesn't mean
  33. that you'll like the results.  Remember, your generic old
  34. 256-color images do not contain any depth information, and
  35. POPOUT will not therefore be able to generate a stereogram
  36. with a meaningful content.
  37.  
  38. The usage of the utility is:
  39. bmp2tga input_bmp output_tga
  40.  
  41. where input_bmp is the name of the 16 or 256 color BMP you 
  42.  want to convert, and
  43. where output_tga is the name of the Type 1 TGA file that
  44.  you want bmp2tga to create.
  45.  
  46. The EXAMPI2.BMP sample image can be converted to a usable
  47. POPOUT source file using BMP2TGA.  Type:
  48. BMP2TGA EXAMPI2.BMP EXAMPI2.TGA
  49.