Click here to Skip to main content
15,917,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhats the best way to read ini files Pin
Chintoo72325-Oct-05 19:41
Chintoo72325-Oct-05 19:41 
AnswerRe: whats the best way to read ini files Pin
ThatsAlok26-Oct-05 0:55
ThatsAlok26-Oct-05 0:55 
AnswerRe: whats the best way to read ini files Pin
David Crow26-Oct-05 3:16
David Crow26-Oct-05 3:16 
GeneralRe: whats the best way to read ini files Pin
John R. Shaw26-Oct-05 16:48
John R. Shaw26-Oct-05 16:48 
QuestionIntensity problem Pin
Arrun25-Oct-05 19:12
Arrun25-Oct-05 19:12 
AnswerRe: Intensity problem Pin
Christian Graus25-Oct-05 19:22
protectorChristian Graus25-Oct-05 19:22 
GeneralRe: Intensity problem Pin
Arrun25-Oct-05 19:48
Arrun25-Oct-05 19:48 
GeneralRe: Intensity problem Pin
Christian Graus25-Oct-05 20:06
protectorChristian Graus25-Oct-05 20:06 
Arrun wrote:
Intensity means value of each pixel


So, just the RGB value ? Then hard red == hard blue == hard green, how is that useful ?

Arrun wrote:
If I stretch a yellow color square of one unit to two units then after stretching it should be light yellow and if I stretch further more it should me even more lighter.


OK - almost the entire universe does not want this behaviour, which is why you don't get it as standard. If you write your own bilinear filter ( or use the one in my image processing article ), you could work out the factor you've stretched by, and then scale each pixel value accordingly, so if you increase the size of the image by 50%, you can change the filter to also lower the RGB values by 1/3, to get the desired result.


Christian Graus - Microsoft MVP - C++
GeneralRe: Intensity problem Pin
Arrun25-Oct-05 21:07
Arrun25-Oct-05 21:07 
GeneralRe: Intensity problem Pin
Christian Graus26-Oct-05 10:22
protectorChristian Graus26-Oct-05 10:22 
QuestionHow to add more document templates in MDI Pin
shivditya25-Oct-05 17:38
shivditya25-Oct-05 17:38 
AnswerRe: How to add more document templates in MDI Pin
shivditya25-Oct-05 19:11
shivditya25-Oct-05 19:11 
Generalhi shivditya Pin
vikas amin25-Oct-05 19:44
vikas amin25-Oct-05 19:44 
GeneralRe: hi shivditya Pin
shivditya25-Oct-05 19:55
shivditya25-Oct-05 19:55 
Questionmonolithic form classes (repost from "General Discussions") Pin
OlliesDad25-Oct-05 14:53
OlliesDad25-Oct-05 14:53 
AnswerRe: monolithic form classes (repost from "General Discussions") Pin
Christian Graus25-Oct-05 14:57
protectorChristian Graus25-Oct-05 14:57 
GeneralRe: monolithic form classes (repost from "General Discussions") Pin
OlliesDad25-Oct-05 19:29
OlliesDad25-Oct-05 19:29 
QuestionNew Help Needed Check previous post Pin
Tom Moore25-Oct-05 13:40
Tom Moore25-Oct-05 13:40 
AnswerRe: New Help Needed Check previous post Pin
Christian Graus25-Oct-05 14:05
protectorChristian Graus25-Oct-05 14:05 
Questionstident Pin
first090225-Oct-05 13:09
first090225-Oct-05 13:09 
Questionis there a way to programmatically check if right-to-left support in installed in 2K/XP? Pin
Abu Mami25-Oct-05 10:29
Abu Mami25-Oct-05 10:29 
QuestionCharacter comparison NIGHTMARE Pin
adonisv25-Oct-05 8:35
adonisv25-Oct-05 8:35 
AnswerRe: Character comparison NIGHTMARE Pin
kevincwong25-Oct-05 8:52
kevincwong25-Oct-05 8:52 
AnswerRe: Character comparison NIGHTMARE Pin
David Crow25-Oct-05 9:43
David Crow25-Oct-05 9:43 
AnswerRe: Character comparison NIGHTMARE Pin
John R. Shaw25-Oct-05 10:14
John R. Shaw25-Oct-05 10:14 

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.