summaryrefslogtreecommitdiff
path: root/sys/src/cmd/jpg/readtga.c
AgeCommit message (Collapse)Author
2013-06-01readgif, readjpg: fix incorrect malloc arguments: use sizeof(Rawimage*) ↵ppatience0
instead of sizeof(Rawimage**) and 2*sizeof(Rawimage*) instead of sizeof(Header) readtga: switch calloc arguments: nelem is supposed to first, elsize second
2013-01-24tga, file: 15-bit tga imagesftrvxmtrx
2013-01-22tga: fix flip/reflectftrvxmtrx
2013-01-20readtga: fix b/w, add color-mapped images supportftrvxmtrx
2013-01-20readtga: clean-upftrvxmtrx
2012-12-25bio: remove useless Breadn() as it does the same as Bread()cinap_lenrek
Bread() always reads exactly nbytes of data if it can. only when it reaches end of file or an error it will return less. so the Breadn() function that was introduced has been removed. sorry for the confusion.
2011-10-06jpg: use Breadn() instead if Bread() to guard aganst short readscinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen