Click here to Skip to main content
16,015,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTransfer AUDIO BUFFER to AUDIO STREAM Pin
es19686-Mar-03 5:34
es19686-Mar-03 5:34 
GeneralAfter 8 hours of working the PC claims "Not enough virtual memory..." Pin
Joan M6-Mar-03 5:18
professionalJoan M6-Mar-03 5:18 
GeneralRe: After 8 hours of working the PC claims "Not enough virtual memory..." Pin
benjymous6-Mar-03 5:35
benjymous6-Mar-03 5:35 
GeneralRe: After 8 hours of working the PC claims "Not enough virtual memory..." Pin
dazinith6-Mar-03 6:02
dazinith6-Mar-03 6:02 
GeneralRe: After 8 hours of working the PC claims "Not enough virtual memory..." Pin
Neville Franks6-Mar-03 9:34
Neville Franks6-Mar-03 9:34 
GeneralRe: After 8 hours of working the PC claims "Not enough virtual memory..." Pin
Ravi Bhavnani7-Mar-03 2:52
professionalRavi Bhavnani7-Mar-03 2:52 
GeneralOpenig RAW images Pin
djordj6-Mar-03 4:53
djordj6-Mar-03 4:53 
GeneralRe: Openig RAW images Pin
Chris Losinger6-Mar-03 5:40
professionalChris Losinger6-Mar-03 5:40 
1. RAW (almost by definition) has no specified format. it's usually the 'raw' uncorrected data dump from a CCD, scanner or some other device, in some undocumented format, not meant for your use.

2. CreateBitmap expects the data to be in a specific format, one which .RAW almost certainly doesn't conform to. (specifically, word-aligned pixel rows, probably with bottom-up scanlines and in BGR/BGRA channel order for 24/32 bpp images)

your best bet is to try to find out the format that your particular "RAW" image uses (good luck, and don't assume it applies to every other file with a .RAW extension), parse it into the format that CreateBitmap expects (32-bit RGBx is probably the easiest). then, you might get an image, though it will likely be in some color space (maybe logarithmic RGB , for fun) that you'll need to post-process. and, the image might need color balancing, color correction, sharpening, scaling, etc. before it looks like any kind of reasonable image.

Smile | :)

-c



When history comes, it always takes you by surprise.

GeneralRe: Openig RAW images Pin
djordj6-Mar-03 5:42
djordj6-Mar-03 5:42 
GeneralRe: Openig RAW images Pin
Chris Losinger6-Mar-03 7:40
professionalChris Losinger6-Mar-03 7:40 
Generalcatch text changes inside MDI Pin
Zizilamoroso6-Mar-03 4:41
Zizilamoroso6-Mar-03 4:41 
GeneralRe: catch text changes inside MDI Pin
Chris Richardson6-Mar-03 9:46
Chris Richardson6-Mar-03 9:46 
Generallinks or docs about GUI design for database applications Pin
Braulio Dez6-Mar-03 4:19
Braulio Dez6-Mar-03 4:19 
GeneralDetermining if a CPoint belogs to a line Pin
Crercio O. Silva6-Mar-03 4:14
Crercio O. Silva6-Mar-03 4:14 
GeneralRe: Determining if a CPoint belogs to a line Pin
Chris Losinger6-Mar-03 4:24
professionalChris Losinger6-Mar-03 4:24 
GeneralModal dialog question Pin
ns6-Mar-03 4:13
ns6-Mar-03 4:13 
GeneralRe: Modal dialog question Pin
Chris Losinger6-Mar-03 4:28
professionalChris Losinger6-Mar-03 4:28 
Generalok. thanks. Pin
ns6-Mar-03 4:51
ns6-Mar-03 4:51 
GeneralRe: ok. thanks. Pin
Ravi Bhavnani6-Mar-03 8:40
professionalRavi Bhavnani6-Mar-03 8:40 
GeneralRe: ok. thanks. Pin
ns6-Mar-03 8:49
ns6-Mar-03 8:49 
GeneralRe: ok. thanks. Pin
Ravi Bhavnani7-Mar-03 2:35
professionalRavi Bhavnani7-Mar-03 2:35 
GeneralRe: ok. thanks. Pin
ns7-Mar-03 2:42
ns7-Mar-03 2:42 
GeneralRe: ok. thanks. Pin
Ravi Bhavnani7-Mar-03 2:48
professionalRavi Bhavnani7-Mar-03 2:48 
QuestionHow to change title bar? Pin
Jakob Bysewski6-Mar-03 4:10
Jakob Bysewski6-Mar-03 4:10 
AnswerRe: How to change title bar? Pin
Daniel Strigl6-Mar-03 4:13
Daniel Strigl6-Mar-03 4:13 

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.