Click here to Skip to main content
15,911,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem with dialogs and windows themes Pin
Mathefreak26-Jun-05 21:27
Mathefreak26-Jun-05 21:27 
QuestionHow to copy ONLY the updated data from a large file? Pin
jahfer26-Jun-05 21:27
jahfer26-Jun-05 21:27 
AnswerRe: How to copy ONLY the updated data from a large file? Pin
khan++27-Jun-05 1:29
khan++27-Jun-05 1:29 
GeneralRe: How to copy ONLY the updated data from a large file? Pin
jahfer27-Jun-05 2:19
jahfer27-Jun-05 2:19 
GeneralRe: How to copy ONLY the updated data from a large file? Pin
khan++27-Jun-05 2:59
khan++27-Jun-05 2:59 
AnswerRe: How to copy ONLY the updated data from a large file? Pin
John M. Drescher1-Jul-05 8:00
John M. Drescher1-Jul-05 8:00 
GeneralImage Transformation Pin
ThatsAlok26-Jun-05 20:12
ThatsAlok26-Jun-05 20:12 
GeneralRe: Image Transformation Pin
FlyingTinman26-Jun-05 21:50
FlyingTinman26-Jun-05 21:50 
I haven't done such a fade in filter but for a smooth
transition--one image fading to another--I'd guess you
just need to scale each pixel's R,G & B values in the
'old' image toward the R,G & B values of the corresponding
pixels in the new image.

e.g if you want to do a full fade from old image to identically
sized new image in 10 steps :

for ( each pixel position in the image(s) ){
<font color=#FBEDB5>__<font color=#000000>for (Step = 1; Step<=10; Step++){
<font color=#FBEDB5>____<font color=#000000>IntermediateR = OldR + (NewR-OldR)/10 * Step;
<font color=#FBEDB5>____<font color=#000000>IntermediateG = OldG + (NewG-OldG)/!0 * Step;
<font color=#FBEDB5>____<font color=#000000>IntermediateB = OldB + (NewB-OldB)/10 * Step;
<font color=#FBEDB5>__<font color=#000000>}
}


(Be sure to use signed types for the RGB values so that
the scaling will correctly handle the cases where R, G or B
in the old image are larger than the corresponding R, G or B
value in the new image.)

If you want to fade to (or from) a 'blank' screen just substitute
the constant 'blank' RGB values for the new (or old) image pixel
position RGB values as required.

Steve T
GeneralRe: Image Transformation Pin
ThatsAlok26-Jun-05 22:47
ThatsAlok26-Jun-05 22:47 
GeneralUsing databases in vc++ Pin
smartymanav26-Jun-05 20:06
smartymanav26-Jun-05 20:06 
GeneralRe: Using databases in vc++ Pin
ThatsAlok26-Jun-05 20:15
ThatsAlok26-Jun-05 20:15 
GeneralRe: Using databases in vc++ Pin
smartymanav26-Jun-05 20:55
smartymanav26-Jun-05 20:55 
GeneralRe: Using databases in vc++ Pin
ThatsAlok26-Jun-05 21:11
ThatsAlok26-Jun-05 21:11 
GeneralRe: Using databases in vc++ Pin
smartymanav26-Jun-05 21:19
smartymanav26-Jun-05 21:19 
GeneralRe: Using databases in vc++ Pin
ThatsAlok26-Jun-05 21:24
ThatsAlok26-Jun-05 21:24 
GeneralRe: Using databases in vc++ Pin
smartymanav26-Jun-05 21:26
smartymanav26-Jun-05 21:26 
GeneralRe: Using databases in vc++ Pin
ThatsAlok27-Jun-05 2:21
ThatsAlok27-Jun-05 2:21 
GeneralRe: Using databases in vc++ Pin
smartymanav27-Jun-05 21:00
smartymanav27-Jun-05 21:00 
GeneralRe: Using databases in vc++ Pin
ThatsAlok27-Jun-05 21:04
ThatsAlok27-Jun-05 21:04 
GeneralRe: Using databases in vc++ Pin
smartymanav27-Jun-05 21:29
smartymanav27-Jun-05 21:29 
GeneralRe: Using databases in vc++ Pin
smartymanav27-Jun-05 21:30
smartymanav27-Jun-05 21:30 
GeneralRe: Using databases in vc++ Pin
ThatsAlok27-Jun-05 21:33
ThatsAlok27-Jun-05 21:33 
GeneralRe: Using databases in vc++ Pin
smartymanav27-Jun-05 22:20
smartymanav27-Jun-05 22:20 
GeneralRe: Using databases in vc++ Pin
ThatsAlok27-Jun-05 22:40
ThatsAlok27-Jun-05 22:40 
GeneralRe: Using databases in vc++ Pin
Michael P Butler26-Jun-05 22:01
Michael P Butler26-Jun-05 22:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.