Click here to Skip to main content
15,908,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioni need ocr code in c++ Pin
Member 119511281-Sep-15 6:20
Member 119511281-Sep-15 6:20 
QuestionFloating view in Visual Studio Style Project Pin
Member 85340351-Sep-15 6:15
Member 85340351-Sep-15 6:15 
QuestionCOMPILER DESIGN Pin
Member 1194299628-Aug-15 5:32
Member 1194299628-Aug-15 5:32 
AnswerRe: COMPILER DESIGN Pin
Afzaal Ahmad Zeeshan28-Aug-15 5:44
professionalAfzaal Ahmad Zeeshan28-Aug-15 5:44 
QuestionRe: COMPILER DESIGN Pin
David Crow28-Aug-15 9:24
David Crow28-Aug-15 9:24 
QuestionCan somebody help me determining what is the preferred data structures for CPU scheduling algorithms or Rate monolithic algorithms and why? Pin
anup7226-Aug-15 20:00
anup7226-Aug-15 20:00 
QuestionColor difference between old and new application Pin
gopi_cpp25-Aug-15 19:04
gopi_cpp25-Aug-15 19:04 
AnswerRe: Color difference between old and new application Pin
enhzflep25-Aug-15 21:02
enhzflep25-Aug-15 21:02 
Howdy, I'm not so sure I understand your question.

rgb(198,93,82) looks like This , while rgb(120,27,20) looks like This

Obviously, these 2 colours are not only very different in terms of their RGB values and their HSL values for that matter, but they also appear very different to anyone not unfortunate enough to be hit with R-G colour blindness. Aren't you actually telling us yourself that the colours appear differently?

Their pantone numbers are also very different, 180 U vs 1815 C

I can't help but wondering 3 things:

1) What is the format of the input in the text-file and the exact input that produces these colours?
2) How is this being transformed into a colour by your application?
3) What difference did you find when you stepped through the conversion process in your debugger in each of the versions of the application?

I'm not familiar with the conversion process between rgb <--> pantone to know if a small difference in precision could produce such a wildly different result, or if it's an integer-only process that could suffer from a signed/unsigned error. Showing the input and the way it results in a final colour could well help, though it may not.
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon

GeneralRe: Color difference between old and new application Pin
gopi_cpp25-Aug-15 23:08
gopi_cpp25-Aug-15 23:08 
GeneralRe: Color difference between old and new application Pin
enhzflep26-Aug-15 1:28
enhzflep26-Aug-15 1:28 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 2:11
gopi_cpp26-Aug-15 2:11 
GeneralRe: Color difference between old and new application Pin
enhzflep26-Aug-15 3:59
enhzflep26-Aug-15 3:59 
AnswerRe: Color difference between old and new application Pin
Richard MacCutchan25-Aug-15 21:19
mveRichard MacCutchan25-Aug-15 21:19 
GeneralRe: Color difference between old and new application Pin
gopi_cpp25-Aug-15 23:12
gopi_cpp25-Aug-15 23:12 
GeneralRe: Color difference between old and new application Pin
Richard MacCutchan25-Aug-15 23:23
mveRichard MacCutchan25-Aug-15 23:23 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 0:45
gopi_cpp26-Aug-15 0:45 
SuggestionRe: Color difference between old and new application Pin
Richard MacCutchan26-Aug-15 0:53
mveRichard MacCutchan26-Aug-15 0:53 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 1:00
gopi_cpp26-Aug-15 1:00 
GeneralRe: Color difference between old and new application Pin
Richard MacCutchan26-Aug-15 1:02
mveRichard MacCutchan26-Aug-15 1:02 
AnswerRe: Color difference between old and new application Pin
basementman4-Sep-15 4:21
basementman4-Sep-15 4:21 
QuestionMDI Application How to change Views Title Pin
Member 853403525-Aug-15 3:36
Member 853403525-Aug-15 3:36 
QuestionRe: MDI Application How to change Views Title Pin
David Crow25-Aug-15 4:05
David Crow25-Aug-15 4:05 
AnswerRe: MDI Application How to change Views Title Pin
Member 853403525-Aug-15 4:28
Member 853403525-Aug-15 4:28 
AnswerRe: MDI Application How to change Views Title Pin
Member 853403525-Aug-15 4:47
Member 853403525-Aug-15 4:47 
QuestionSystem-Restore programatically Pin
Krishnakumartg24-Aug-15 1:19
Krishnakumartg24-Aug-15 1: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.