images are made of pixel, then every pixel has got a color, the color is a combination of red-green-blue (RGB).
white is RGB(255,255,255), black is RGB(0,0,0).
Convert your image in a gray scale:
take the color of every pixel (r,g,b) then compute c=(r+g+b)/3, so the gray pixel of a new image can be RGB(c,c,c), but you can simply store c somewhere.
Then compute the mean value of c on all the image and compare it with a treshold.
do something like this:
if c_mean is less then 50 the image is too dark
if c_mean is greater then 200 the image is too light
I got such incomplete information after calling this web service 2 to 3 times. Initially 2 times i got blank reply.
Now When I used HTTPQueryInfo it showed following message
H T T P / 1 . 1 4 0 0 B a d R e q u e s t
S e r v e r : M i c r o s o f t - I I S / 5 . 0
D a t e : F r i , 2 8 S e p 2 0 0 7 0 8 : 3 5 : 5 1 G M T
X - P o w e r e d - B y : A S P . N E T
X - A s p N e t - V e r s i o n : 2 . 0 . 5 0 7 2 7
C a c h e - C o n t r o l : p r i v a t e
C o n t e n t - L e n g t h : 0
My web service contains just one method “HelloWorld” which does not take any input parameters and returns the “HelloWorld” string to the calling application.
This HTTPQueryInfo returns bad request. But this code works fine on Win32 and give Bad Request on WinCE.
Please let me know how should i build soap packet for EVC so that it will call web service on Pocket PC?
I have developed a ActiveX control that is invoked in IE(Internet Explorer) using Java Script. Now when the control is executing something, and the user switches to some other window and then back to IE, IE does not repaint itself. The screen is not getting painted uniformaly and the control does not get displayed until and unless the processing for the task being executed is over.
Has someone ever encountered this problem? I want IE to show even when the processing is done within the ActiveX control.
Any help would be appreciated.
I am making a toolbar for a website. initially the toolbar is normal and when the yser login the toolbar changes and takes the setting for the logged in user as is in the case of Yahoo.
If the user does not work on the website application for 18 minutes i.e. if he takes no action he should be logged out and the toolbar should be in its initial state.
Now the problem for me is i am not able to track that no event has been fired and the session of 18 minutes has expired and because of which I am not able to change my toolbar as a aresult of which what happens is that even if the yser is logged out of the site after 18 minutes still my toolbar is having the users settings.
can anybody tell me how to incorporate MS Office packeage file into my API??? to be specific, i want my API to be executed when somebody tries to open a specific pre decided file of MS Office package....
If I need to do it I will do it, but at the moment... I can give you (and I have given you) the idea how to go in that way. There are articles and message in forum in this website. And you have google. Use it
I have read an article that intercepts mesenger and makes some things. I guess is something similar.
Look for info about HOOKS, THREADS and MESSAGES RECEPTION you should find something to use
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you