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

  1. TGA2BMP.EXE is a simple DOS command line utility we've included
  2. that will convert a Type 1, 2 or 3 Targa file to either a 16 or
  3. 256 color BMP file.
  4.  
  5. This is a very basic utility, not full of great capabilities.
  6. The intent is simply to give the POPOUT user an easy mechanism
  7. of converting Targa files to BMP format so that they can be
  8. viewed using Paintbrush.  This utility is NOT a generic
  9. TGA to BMP converter!  There is a possibility that the
  10. resultant BMP image may be upside down.  The primary reason
  11. for including this utility is to give the user the ability
  12. to take a depth-encoded greyscale Targa file generated by the
  13. PLY2POP utility, and convert it to BMP format so that it
  14. could be viewed using Paintbrush.  That's all.  The EXAMPI2.BMP
  15. image was generated by using a raytracing program to generate
  16. a depth encoded Targa image, then using PLY2POP to convert the
  17. image to greyscale.  TGA2BMP was then used on the result to
  18. generate EXAMPI2.BMP so we could include it with this diskette
  19. in such a way as to use Paintbrush to let you view it. 
  20.  
  21. All that aside, here's how the utility works:
  22.  
  23. Type 1 Targa files will convert to 16-color BMP images by
  24. treating ONLY THE RED as depth information, and will use
  25. 16 colors compatible with the POPOUT BMP Source File.  Type 1
  26. Targa files will convert to 256-color BMP using all 256 colors.
  27.  
  28. Type 2 Targa files will convert to either 16 or 256 color BMP
  29. by looking ONLY AT THE RED channel.  When converting to 16-color
  30. BMP, TGA2BMP will use the 16 colors compatible with the POPOUT
  31. BMP Source File.
  32.  
  33. Type 3 Targa files will convert nicely into either 16 or 256
  34. color BMP files.  Like with the other Targa formats, the 
  35. conversion to 16 color BMP files will use the POPOUT Source
  36. File colors.  The EXAMPI2.BMP image was generated from a 
  37. Type 3 Targa generated by PLY2POP.
  38.  
  39.