53 Commits

Author SHA1 Message Date
Aaron Helton
70219a37ad Minor edits to grammar. 2018-01-23 11:14:05 -05:00
Aaron Helton
9267fc5bd3 Added clarification comment for implementation of check() 2017-07-14 23:20:51 -04:00
Aaron Helton
c422a9bed9 Add small note to README 2017-07-14 23:20:02 -04:00
Aaron Helton
c63db580e4 Added default file to test main 2017-07-14 11:32:12 -04:00
Aaron Helton
1fc460069f Fixed weird hack in test.c 2017-06-22 20:14:13 -04:00
Aaron Helton
a1b9f70549 Changed getter/setter functions to normalize coordinates for top-left, as many graphics systems work. 2017-05-04 21:14:37 -04:00
Aaron Helton
40b5c7a7ec Updated the README to more properly reflect current project status. 2017-05-03 23:15:06 -04:00
Aaron Helton
a02088c488 Fixed tga_set_x/get_x functions for correct byte-ordering. 2017-05-03 23:04:01 -04:00
Aaron Helton
0435c04b5d Fixed mode to 644 from 755 2017-05-02 21:52:41 -04:00
Aaron Helton
cb2534f747 Made small modification to read_unencoded function. 2017-04-27 08:09:05 -04:00
Aaron Helton
2da42c88f7 Corrected offset error in tga_set_pixel_block. 2017-04-27 02:07:47 -04:00
Aaron Helton
811376fe23 Revert to producing executable. 2017-04-27 04:38:00 -04:00
Aaron Helton
cc5639d42d Fixed new_tga_image to actually set correct values. 2017-04-27 04:37:21 -04:00
Aaron Helton
ae66079443 Added additional modifier methods and convenience methods for setting pixel values. 2017-04-27 02:37:27 -04:00
Aaron Helton
684806f68e Changed CMakeLists.txt to produce an actual library instead of an executable. 2017-04-27 02:37:03 -04:00
Aaron Helton
08aa954847 Implemented support for setting/getting all truecolor and monochrome channels that aren't colormapped. 2017-04-26 20:31:37 -04:00
Aaron Helton
d12fd64051 Fixed a signed-ness warning. 2017-04-26 20:31:07 -04:00
Aaron Helton
8bf08690df Added headers to SOURCE_FILES variable for VS's benefit. 2017-04-25 16:23:57 -04:00
Aaron Helton
595153eeab Added Visual Studio gitignores from template .gitignore for VS. 2017-04-25 16:23:25 -04:00
Aaron Helton
2cf8b20176 Began implementing modify capabilities. 2017-04-20 19:44:28 -04:00
Aaron Helton
2298aa9d77 Fixed typo 2017-04-20 19:43:34 -04:00
Aaron Helton
d629eda203 Make test.c print more information. 2017-04-20 19:42:56 -04:00
Aaron Helton
a9130ecfd4 Enable write support for Monochrome TGA Images. 2017-04-20 00:17:29 -04:00
Aaron Helton
d797b1e56d Update .gitignore 2017-04-20 00:17:02 -04:00
Aaron Helton
aabe660c6e Implement Read capability for encoded Truecolor and Monochrome TGA Images. 2017-04-17 19:50:08 -04:00
Aaron Helton
a70296f3a1 Renamed MARBLES.TGA to marbles.tga and put in appropriate folder. 2017-04-16 16:39:24 -04:00
Aaron Helton
2e2466cedd Reorganized Images 2017-04-16 16:38:24 -04:00
Aaron Helton
21a423a1d9 Implemented very basic read support for ColorMapped (Non-Encoded) TGA. 2017-04-16 16:31:06 -04:00
Aaron Helton
3dcb255e74 Added an error string set by check() macro. 2017-04-16 01:09:15 -04:00
Aaron Helton
fe276fa7b3 Fixed small error in encoding file. 2017-04-15 21:40:28 -04:00
Aaron Helton
f3467b1db1 Merge branch 'write-support' 2017-04-15 21:33:33 -04:00
Aaron Helton
c5dada8baa Added rudimentary write support for Truecolor TGA Images. 2017-04-15 21:32:21 -04:00
Aaron Helton
b2b25d636f Fixed various inconsistencies. 2017-04-15 21:28:05 -04:00
Aaron Helton
cf58805477 More appropriately reflect standard when querying existence of Color Map. 2017-04-15 16:07:56 -04:00
Aaron Helton
281fdd124a Remove unncessary print statements from TGADecode.c 2017-04-15 15:24:51 -04:00
Aaron Helton
b63e019008 Fixed permissions on images. 2017-04-15 14:43:46 -04:00
Aaron Helton
a87455164a Fixed bit-ordering on origin bits and attribute bits. 2017-04-15 14:10:20 -04:00
Aaron Helton
4eaf1ba3ac Fix README typo. 2017-04-13 20:22:14 -04:00
Aaron Helton
703f0677dd Updated README with more complete information and build instructions. 2017-04-13 20:20:49 -04:00
Aaron Helton
82eb6b018d Cleanup enums in TGAImage.h and actually print error value in the test file. 2017-04-13 20:11:20 -04:00
Aaron Helton
376bad5aee Properly fail on Encoded or Colormapped images. 2017-04-13 19:45:23 -04:00
Aaron Helton
f512ae4d16 Fixed printing of debug messages in debug mode. 2017-04-13 19:33:35 -04:00
Aaron Helton
009b78d0f1 Made coding style more consistent 2017-04-13 19:17:04 -04:00
Aaron Helton
93fd5fd168 Fixed read error with existing image data. Introduced tga_clear_error(). 2017-04-13 18:50:44 -04:00
Aaron Helton
c30668f19a Changed the check macro to set an error value. 2017-04-13 15:22:09 -04:00
Aaron Helton
d0bfb9d488 Fixed CMakeLists.txt (Again) 2017-04-13 15:21:36 -04:00
Aaron Helton
0d691b8179 Fixed CMakeLists SOURCE_FILES variable. 2017-04-10 15:44:18 -04:00
Aaron Helton
e94e2d45d4 Removed Makefile. Switched completely to CMake. 2017-04-10 15:42:11 -04:00
Aaron Helton
d43bf864e2 Further Reorganize and Trim project. Removed unneeded features/files. 2017-04-10 15:41:55 -04:00
Aaron Helton
adc6efe136 Fix CMakeLists.txt to properly match the Makefile 2017-04-07 02:40:10 -04:00