|
-
June 1st, 2006, 06:56 PM
#1
images
is there anyway to display images in an application and if you can how do you do it?
-
June 1st, 2006, 10:25 PM
#2
Re: images
What kind of images? Every image type has its own format.
Vinod
-
June 2nd, 2006, 12:42 AM
#3
Re: images
 Originally Posted by drbearded
is there anyway to display images in an application and if you can how do you do it?
It's dependent on the system your running under.
For example, in Windows, you'd basically use
the BitBlt() api to draw a bitmap to a windows device context (dc).
In DOS, one would probably draw the bitmap by physically writing
the video memory of the graphics adapter.
In other systems, there will be some method similar to BitBlt() above,
but the refs. for those api:s are contained in the particular sdk for the
operating system...
It takes seconds for rating…that actually compensates the minutes taken for giving answers
The biggest guru-mantra is: Never share your secrets with anybody. It will destroy you.
Regards, Be generous->Rate people
Jayender!!
-
June 2nd, 2006, 12:54 AM
#4
Re: images
 Originally Posted by drbearded
is there anyway to display images in an application and if you can how do you do it?
u r not mention clearly what type of image . if it is .bmp then u use the following API's
LoadImage () ; or LoadBitmap() and corrosponding DestryObject() ;
BitBlt(); or StretchDIBits();
pls try.
-
June 2nd, 2006, 02:14 AM
#5
Re: images
Check the articles at http://www.codeguru.com/Cpp/G-M/bitmap/ to learn more about loading/saving/displaying/manipulating images.
-
June 2nd, 2006, 11:23 AM
#6
Re: images
the image i wanted to use is a gif
-
June 4th, 2006, 06:07 AM
#7
Re: images
 Originally Posted by drbearded
the image i wanted to use is a gif
Did you even bother to take a look at the link I posted?
The first link says: Going from a JPG/GIF/BMP File to a HBITMAP File Using Plain API
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|