rem: uint8 packethead = (count - 1);
add: uint8 packethead = count - 1;
context: copy_raw_packet(uint8 *ptga, uint8 *praw, uint8 count,	color_space fromspace, const color_map *pmap,	int32 bitsBytesPerPixel){	// copy packet header	// (made of type and count)	uint8 packethead = (count - 1);	memcpy(ptga, &packethead, 1);	ptga++;		return pix_bits_to_tga(praw, ptga, fromspace,		count, pmap, bitsBytesPerPixel) + 1;}