![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jul 2007
Posts: 16
Rep Power: 0
![]() |
How to save image
Hi all
I have an image withinf Picture Control. how to save it on Disk at specified location?? Pls help |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 215
Rep Power: 3
![]() |
Dude, stop spamming this forum with crappy vague help requests. Read the forum rules and try again.
Information such as libraries, what type of picture control you are using etc are all good for starters. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jul 2007
Posts: 16
Rep Power: 0
![]() |
No Spamming dear....
Unfortunately lot of work has been assigned to me. that i have to accomplised very soon. I am not MFC programmer but i have to it....... |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Jul 2007
Posts: 16
Rep Power: 0
![]() |
PlaySound has solved my purpose...
: laySound(str,NULL,SND_NOSTOP); |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 215
Rep Power: 3
![]() |
Of course its spamming. PlaySound has absolutely no relevance to your problem in this thread!
Back to the problem "presented" in this thread. Thank you for informing me that you are using MFC. If you check the documentation, you will see the CImage class has a save member function allowing the image to be saved as one of the following. ImageFormatBMP An uncompressed bitmap image. ImageFormatPNG A Portable Network Graphic (PNG) compressed image. ImageFormatJPEG A JPEG compressed image. ImageFormatGIF A GIF compressed image. Further info can be found here: http://msdn2.microsoft.com/en-us/lib...hw(VS.80).aspx I highly recomend u using the Microsoft Developer Network. Its there for this purpose. |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Jul 2007
Posts: 16
Rep Power: 0
![]() |
Thanks a lot....
|
|
|
|
|
|
#7 |
|
Newbie
Join Date: Jul 2007
Posts: 16
Rep Power: 0
![]() |
I posted wrong thread where i mentioned Playsound Function by Mistake and i am sorry for that
|
|
|
|
|
|
#8 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 215
Rep Power: 3
![]() |
Yes but please understand, you have created 4 threads askin for help. none of which mention what libraries you are using. For all we know you could be using Win32, wxWidgets, Qt, and so on.
We can't help you if we don't have a clue what you are talking about, and having 4 threads spammed in one day is kind of frustrating. Being a new member, I suggest reading the forum rules and take a moment to think about the problem you require to ask. Especially before Dawei comes on the board :x |
|
|
|
|
|
#9 |
|
Sexy Programmer
|
Omg! I Just Learned How To Program And My Program Won't Compile! Help!!
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#10 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Oh, DaWei's read 'em all.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on save and save as methods | Yarvin | Python | 2 | Nov 9th, 2006 8:01 PM |
| OnlineTextEditor.Com! | Sane | Show Off Your Open Source Projects | 43 | Jun 16th, 2006 8:55 AM |
| Image float, wrap text, oh boy! | DaveQB | HTML / XHTML / CSS | 1 | May 20th, 2006 12:34 AM |
| Image Viewer (Urgent Bèta testing) | SoniX | Visual Basic .NET | 8 | Sep 21st, 2005 5:25 PM |
| Checking source codes of image, audio and video files | on_auc | C++ | 3 | Feb 21st, 2005 8:36 PM |