stumpy_tga

stumpy_tga

WORK IN PROGRESS

TGA (Targa) files reader and writer designed for use with stumpy_core

Supports only types 1, 2, 9 and 10 (Color mapped or RGB, with RunLength encoding or without) with pixel depth 16, 24 and 32.

Only reading is supported.

Interface

  • StumpyTGA.read(file) : Canvas - Read TGA file
  • StumpyTGA.read_raw(file) : StumpyTGA::TGA - Read a TGA file into special structure

Installation

Add this to your application's shard.yml:

dependencies:
  stumpy_tga:
    github: unn4m3d/stumpy_tga

Usage

require "stumpy_tga"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/unn4m3d/stumpy_tga/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

stumpy_tga

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • almost 8 years ago
  • March 6, 2017
License

MIT License

Links
Synced at

Sat, 21 Dec 2024 17:52:28 GMT

Languages