![]() |
|
#1
|
|||
|
|||
Help!!! A Problem with Camera ResolutionI have a problem with camera resolution.
During runtime, my application must run with 320*240 camera resolution. If a client user always uses 640*480 as his/her default camera resolution. How should I change the camera resolution 640*480 into 320*240 by "in process"? |
|
#2
|
||||
|
||||
|
...I have no idea :-P
__________________
-Aaron |
|
#3
|
||||
|
||||
|
Quote:
?? - This doesn't really sound like a C/C++ question. If it isn't you should try posting in the hardware forums here. If it is a C/C++ question could you clarify what you are looking for? Do you want to write a program that will reduce a 640x480 jpg to a 320x240 jpg? |
|
#4
|
||||
|
||||
|
Nah... someone else was doing some camera stuff awhile ago, and I'm pretty sure there's some code process that changes the camera recording resolution from 640*480 to 320*240.
__________________
-Aaron |
|
#5
|
|||
|
|||
Clarify My QuestionQuote:
Thanks dsmith! Because I use C++ for my programming language. So this is a question with C++ programming technique. However, the important thing is to clarify my question. This is not a question with "reducing a 640x480 jpg to a 320x240 jpg?" Reducing a 640x480 jpg to a 320x240 jpg is a question on "image processing". What I want to question is a "camera display resolution". I recently created a program for education. During the initializing of my app, the runtime envronment should be 320*240 resolution to display camera image. But if a user usually use 640*480 or other resolution not 320*240, my app will not allow such envrinment to run and will be termated. How should I change camera resulotion, during my app runtime, into 320*240 without any notification for user(that is in process) if the user is not using 320*240? Thanks dsmith! |
|
#6
|
|||
|
|||
Give Me a HintQuote:
Thanks aaroncohn! You can have a reference to my reply to dsmith about clarifying my question. If there's process code to handle such question domain, please give me a hint or instruction or reference or even source code, anyway. Thanks aaroncohn! |
|
#7
|
||||
|
||||
|
http://www.gidforums.com/t-2569.html
I remember that you posted this awhile ago, and it appears to contain a function call to initialize the camera with a certain size. CPP / C++ / C Code:
__________________
-Aaron Last edited by JdS : 20-Jun-2004 at 04:55.
Reason: Please insert [thread]thread number[/thread] tags to create links to other threads here
|
|
#8
|
|||
|
|||
|
Quote:
Thanks aaroncohn! Yes! I had posted such program code like: BOOL Init(HWND hwnd, int width=320, int height=240); But the purpose of this code is to DISPLAY camera image with 320*240 and to run my app normally "but not to CHANGE camera resolution into 320*240 under the circumstance of user who do not use 320*240 as his/her camera default resolution." My question is: If a user usually use 640*480 or other resolution not 320*240, my app will not allow such envrinment to run and will be terminated. How should I "CHANGE" camera resulotion, during my app runtime, into 320*240 without any notification for user(that is in process) if the user is not using 320*240? |
|
#9
|
||||
|
||||
|
uhh... refer to my first post... the one near the top
__________________
-Aaron |
Recent GIDBlog
Toyota - 2008 November Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Problem with Microsoft VFW.dll | Melvin Lin | C++ Forum | 0 | 15-Jun-2004 00:27 |
| C I/O problem | kelly80 | C Programming Language | 4 | 27-Apr-2004 21:15 |
| Another FX 5600 problem (but with details that might shed light on this) | BobDaDuck | Computer Hardware Forum | 2 | 16-Apr-2004 08:53 |
| unwanted scrollbar problem | kelly001 | Web Design Forum | 3 | 24-Oct-2003 11:44 |
| screen resolution | zuzupus | Web Design Forum | 0 | 29-Jul-2003 03:50 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The