loading tiff files
I've been looking for a source code to load TIFF files, where height and width don't are equal
(640,22).
Can anybody help me with this?
(640,22).
Can anybody help me with this?
If you mean merely loading the image, wotsit.org is your friend; if you mean creating a texture using that NPoT image, somebody else will have to reply...
Mark Bishop
Using the code here, you can load an image in any format QuickTime can understand:
http://onesadcookie.is-a-geek.net/svn/re...LTexture.c
Also, if you have a choice of image format, I definitely wouldn't recommend TIFF. PNG and JPEG should be all you need for 99.9% or your images.
- Alex Diener
http://onesadcookie.is-a-geek.net/svn/re...LTexture.c
Also, if you have a choice of image format, I definitely wouldn't recommend TIFF. PNG and JPEG should be all you need for 99.9% or your images.
- Alex Diener
Good luck, man.
Time is running out!
Wow, devIL is back under development, thats great!
Anyway, check out SDL_image if you are doing your program in C/C++ and using SDL.
It's pretty straight-forward.
Anyway, check out SDL_image if you are doing your program in C/C++ and using SDL.
It's pretty straight-forward.
Jericho
seven Wrote:Anyway, check out SDL_image if you are doing your program in C/C++ and using SDL.
It's pretty straight-forward.
Pretty straightforward is a bit of an understatement - it's cross platform and a single call to IMG_LoadImage will load just about any format you can think of - TIFF, BMP, JPG, GIF, etc.
Damn, I made that previous post to the wrong thread. I tried to delete it but it won't work. Please, just disregard it.
Time is running out!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| OpenAL - Ogg files vs Caf files | Fred9000 | 8 | 11,758 |
Aug 23, 2011 08:01 PM Last Post: ipeku |
|
| OpenGL Preferred Image Format (BMP, TIFF, ect) | Justin Brimm | 7 | 4,176 |
Apr 18, 2006 03:28 PM Last Post: arekkusu |
|
| error when loading too many bmp files | petr6534 | 1 | 2,618 |
Oct 20, 2004 05:08 PM Last Post: OneSadCookie |
|
| PNG Files only Loading Some of The Time | Nick | 6 | 3,719 |
Aug 29, 2004 01:08 PM Last Post: arekkusu |
|
| Loading TGA files to openGL Textures | Joseph Duchesne | 23 | 11,155 |
Aug 25, 2004 01:20 AM Last Post: NCarter |
|

