Loading Bmp, Png, Tga, Raw
-
Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc
-
Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc
CrocodileBuck wrote:
I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that.
Why "reinvent the wheel" when you can use a library? :confused: Regards, --Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia Introduction to Object-Oriented JavaScript
-
Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc
-
Mark Salsbery wrote:
I don't know about tutorials, but it generally comes down to looking up the published file format and parsing the file appropriately.
or when one can't figure out one needs to do that, perhaps one should start by reading the McDonalds menu. :beer:
led mike
-
Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc
You can also use GDI+ for loading images. Here are some examples: http://www.codeproject.com/KB/cpp/GDI_.aspx[^] http://www.codeproject.com/KB/GDI-plus/GdiPThumbnailsViewer.aspx[^] If you don't want to use GDI+, than you can try CxImage library: http://www.codeproject.com/KB/graphics/cximage.aspx[^] It's really very cool library that can help you to get information about loading images.
-
Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc
For bmp,png,gif,jpeg and I think tiff you can use of CImage class But onthe codeproject you can see CXImage article is very helpful for you.
-
Mark Salsbery wrote:
I don't know about tutorials, but it generally comes down to looking up the published file format and parsing the file appropriately.
or when one can't figure out one needs to do that, perhaps one should start by reading the McDonalds menu. :beer:
led mike
Hey, that would imply that they should consider changing... Ahhh never mind. :doh:
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
For bmp,png,gif,jpeg and I think tiff you can use of CImage class But onthe codeproject you can see CXImage article is very helpful for you.
Thanx for all your help, i hope i can figure it out now ;):cool: ;) Many thanks & Best regards :laugh: ;) :) Croc
-
Thanx for all your help, i hope i can figure it out now ;):cool: ;) Many thanks & Best regards :laugh: ;) :) Croc
I glad our answers were helpful for you. :)