Skip to content

Library for work with .tga format in C language.

License

Notifications You must be signed in to change notification settings

Levsha1337/libtga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

libtga

Library for work with .tga format in C language.

Install

  • Copy .h & .c files to any directory
  • Compile .c with:
gcc -c tga_img.c -o tga_img.o
  • Move .o file to archive with:
ar -q -c -s libtga.a tga_img.o
  • Move .h & .a files to any directory (I'm using the root directory - /libs)
mkdir /libs
mv tga_img.h /libs/
mv libtga.a /libs/

Usage

  • In your .c file add next string:
#include "tga_img.h"
  • Use functions from .h file in your code (comments in .h are quite understandable)
  • Compile your program with:
gcc your_prog.c -o out_file -ltga -I/libs -L/libs
  • Done!

(The documentation will be completed some time later...)

About

Library for work with .tga format in C language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages