Click here to Skip to main content
15,891,204 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need some clarification Pin
Hamid_RT11-Nov-07 19:46
Hamid_RT11-Nov-07 19:46 
AnswerRe: Need some clarification Pin
Llasus11-Nov-07 19:51
Llasus11-Nov-07 19:51 
QuestionImage scaling Pin
Deepu Antony11-Nov-07 18:53
Deepu Antony11-Nov-07 18:53 
AnswerRe: Image scaling Pin
Hamid_RT11-Nov-07 19:11
Hamid_RT11-Nov-07 19:11 
AnswerRe: Image scaling Pin
Hamid_RT11-Nov-07 19:36
Hamid_RT11-Nov-07 19:36 
AnswerRe: Image scaling Pin
Llasus11-Nov-07 19:47
Llasus11-Nov-07 19:47 
GeneralRe: Image scaling Pin
Deepu Antony11-Nov-07 20:34
Deepu Antony11-Nov-07 20:34 
GeneralRe: Image scaling Pin
Llasus11-Nov-07 21:10
Llasus11-Nov-07 21:10 
Is your output going to be a resized two dimensional array? Or you only need to resize its the image (no need for the matrix to be resized)?

If you are going to resize the two dimensional matrix, what I can only think of is to load the image to a CDC handler (through SetPixel), resize it (using StretchBlt), and use the GetPixel to pass the pixel data to a new resized matrix. This though will take some time (if the image is very large).

If you only need the image to be resized, you can use the StretchBlt after setting the pixels to the CDC handler.
GeneralRe: Image scaling Pin
Deepu Antony12-Nov-07 3:06
Deepu Antony12-Nov-07 3:06 
QuestionException in socket programming Pin
gReaen11-Nov-07 18:51
gReaen11-Nov-07 18:51 
AnswerRe: Exception in socket programming Pin
Llasus11-Nov-07 19:30
Llasus11-Nov-07 19:30 
AnswerRe: Exception in socket programming Pin
Hamid_RT11-Nov-07 19:34
Hamid_RT11-Nov-07 19:34 
QuestionFlag for Protected system files? Pin
bholoo11-Nov-07 18:38
bholoo11-Nov-07 18:38 
QuestionCTreeCtrl and undo/redo Pin
Hans Dietrich11-Nov-07 18:33
mentorHans Dietrich11-Nov-07 18:33 
QuestionVC+ADO, Can I get the position of the current record in Recordset directly? Pin
followait11-Nov-07 18:07
followait11-Nov-07 18:07 
Questionwrong forum, sorry.... Pin
mwholt11-Nov-07 16:42
mwholt11-Nov-07 16:42 
QuestionRe: wrong forum, sorry.... Pin
Hamid_RT11-Nov-07 18:13
Hamid_RT11-Nov-07 18:13 
QuestionHow to process VK_F10 in CChildView? Pin
followait11-Nov-07 16:30
followait11-Nov-07 16:30 
AnswerRe: How to process VK_F10 in CChildView? Pin
Roger Broomfield11-Nov-07 17:28
Roger Broomfield11-Nov-07 17:28 
GeneralRe: How to process VK_F10 in CChildView? Pin
followait11-Nov-07 17:43
followait11-Nov-07 17:43 
GeneralRe: How to process VK_F10 in CChildView? Pin
followait11-Nov-07 17:50
followait11-Nov-07 17:50 
GeneralRe: How to process VK_F10 in CChildView? Pin
Roger Broomfield11-Nov-07 18:27
Roger Broomfield11-Nov-07 18:27 
GeneralRe: How to process VK_F10 in CChildView? Pin
followait11-Nov-07 21:38
followait11-Nov-07 21:38 
AnswerRe: How to process VK_F10 in CChildView? Pin
Nelek11-Nov-07 22:26
protectorNelek11-Nov-07 22:26 
QuestionC++ Clearing command console Pin
Pollaj14516111-Nov-07 12:19
Pollaj14516111-Nov-07 12:19 

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.