Ruby Pixels allows you to read and write RGB/RGBA pixel data stored in uncompressed TGA (Targa) image files without consuming large amounts of memory.
Dwayne C. Litzenberger
gem "ruby-pixels", "~> 0.0.1"