home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Graphics / Graphics.zip / scaleos2.zip / readme.os2 < prev    next >
Text File  |  1997-12-27  |  1KB  |  46 lines

  1. SCALE v1.0
  2.  
  3. Scales TGA files
  4.  
  5. This is a little program I developed while working with graphics files which were somewhat
  6. bigger in size then normal.
  7.  
  8. The program will take an TGA picture and scale it by the given factor and write the resulting
  9. TGA file. Sounds simple. It is. But that can be done in any graphics program you say. You are
  10. right, but have you tried that with files of lets say more than 50 MB. Then most graphics programs
  11. need more then twice the size of the picture in memory and which normal system has that.
  12.  
  13. This program just needs a small amount of memory because it simply reads the TGA file and writes
  14. out the resulting points. No keeping of large pieces in memory. It also can be used in a batch file
  15. to manipulate multiple files.
  16.  
  17. To generate the example file:    scale lion.tga lion2.tga 2
  18.  
  19. This will scale the source image by the factor 2
  20.  
  21. Requirements: The executable program requires at least a 386 cpu with OS/2.
  22.  
  23. Files Included
  24.  
  25.     SCALE.C        C source code
  26.     SCALE.EXE        OS/2 executable
  27.     README.OS2    this file
  28.     LION.TGA        source image
  29.  
  30. Compiling source
  31.  
  32. The source code has been compiled and tested with
  33.  
  34.    Borland C++ v2.1 for OS/2
  35.  
  36. Disclaimer:
  37.  
  38. The author assumes no responsibility for the use of the program, source
  39. code, documentation, sample data, and etc. 
  40.  
  41. Have fun.
  42.  
  43. U. A. Mueller
  44. email: sicota.country@usa.net
  45.  
  46. comments welcome