| View previous topic :: View next topic |
| Author |
Message |
uber0ne
Joined: 14 Jun 2006 Posts: 4
|
Posted: Mon Jul 10, 2006 6:38 am Post subject: TGA Picture Display? |
|
|
| The eLoader Displays a .tga file for the background what lib would i use to do this? or do i just use mytgafile = loadImage("./images/blank.tga"); and then blit the image if so what librarys do i include? |
|
| Back to top |
|
 |
sg57
Joined: 14 Oct 2005 Posts: 154
|
Posted: Mon Jul 10, 2006 8:23 am Post subject: |
|
|
1. eLoader most likely has a TGALoader source file from FileAssistant.
2. You cannot use the Portable Network Graphics Library to load a TGA image as it will read the pixels placement/bytes wrong, or 90% of the time, return an error saying what it couldnt do.
I suggest getting hte Fileassisnt source for all your 2d needs :) |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Mon Jul 10, 2006 8:45 am Post subject: |
|
|
TGA is a very easy format to parse _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
LarryTM
Joined: 04 Jul 2006 Posts: 30
|
|
| Back to top |
|
 |
|