Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CToolbar and Tooltips Pin
Roger Allen6-Nov-02 7:21
Roger Allen6-Nov-02 7:21 
GeneralRe: CToolbar and Tooltips Pin
Patrik Mueller7-Nov-02 19:46
Patrik Mueller7-Nov-02 19:46 
GeneralHide and show the Menu of a MDI application Pin
Cristiano G.6-Nov-02 3:00
sussCristiano G.6-Nov-02 3:00 
GeneralRe: Hide and show the Menu of a MDI application Pin
Hans Ruck6-Nov-02 6:45
Hans Ruck6-Nov-02 6:45 
GeneralRe: Hide and show the Menu of a MDI application Pin
Cristiano G-6-Nov-02 23:30
sussCristiano G-6-Nov-02 23:30 
GeneralRe: Hide and show the Menu of a MDI application Pin
Hans Ruck7-Nov-02 0:03
Hans Ruck7-Nov-02 0:03 
GeneralNewbie help: Trouble with CVMRotaryFaderCtrl custom control Pin
Andy C6-Nov-02 2:46
Andy C6-Nov-02 2:46 
QuestionBest way to decode raw JPEG data? Pin
jstonge6-Nov-02 2:10
jstonge6-Nov-02 2:10 
I have an application where I have raw JPEG data in a memory buffer. I need to convert this to a raw image in memory and it needs to be pretty fast. I tried the IJG software, and it works for most images that I have, but I have a number of lossless JPEG images that it dies on. Specifically, it errors out because it encounters an SOF3 tag. I'm targeting Windows 2000/NT/XP for this.

My ideas:

1. Wrap my raw JPEG data into a COM class supporting IStream. Send the IStream to GDI+ to create an image. But then what do I do with the image??? I can't figure out how get the raw data out of it without saving it to another IStream as a BMP and then decoding the bitmap. This just seems like a lot of extra overhead and I'd like to find a better solution.

2. Use a codec to do this. However, I've not been able to find information on how to work with a codec.

3. Try to decipher the IJG software and handle/ignore the SOF3 tag.

Any other ideas? Anyone know how to use a codec or whether a codec could do this?

Thanks.
(Sorry if this post appears twice, I pushed submit and it made me login and I don't know if the first submit actually went through)
AnswerRe: Best way to decode raw JPEG data? Pin
Jonathan de Halleux6-Nov-02 4:30
Jonathan de Halleux6-Nov-02 4:30 
GeneralRe: Best way to decode raw JPEG data? Pin
jstonge6-Nov-02 9:47
jstonge6-Nov-02 9:47 
AnswerRe: Best way to decode raw JPEG data? Pin
JT Anderson6-Nov-02 10:14
JT Anderson6-Nov-02 10:14 
QuestionWhen a WebBrowser2 control navigate a Web Page,how to drop selected range's html source to a EditBox control? Pin
ChengMing Liu6-Nov-02 1:57
ChengMing Liu6-Nov-02 1:57 
AnswerRe: When a WebBrowser2 control navigate a Web Page,how to drop selected range's html source to a EditBox control? Pin
Stephane Rodriguez.6-Nov-02 2:01
Stephane Rodriguez.6-Nov-02 2:01 
GeneralRe: When a WebBrowser2 control navigate a Web Page,how to drop selected range's html source to a EditBox control? Pin
ChengMing Liu6-Nov-02 14:13
ChengMing Liu6-Nov-02 14:13 
Questionshowing more than one line of text inside the listcontrols cells? Pin
Joan M6-Nov-02 1:08
professionalJoan M6-Nov-02 1:08 
AnswerRe: showing more than one line of text inside the listcontrols cells? Pin
Paul M Watt6-Nov-02 5:07
mentorPaul M Watt6-Nov-02 5:07 
GeneralOLBs & TLBs Pin
AJ1236-Nov-02 1:05
AJ1236-Nov-02 1:05 
GeneralRe: OLBs & TLBs Pin
Christian Graus6-Nov-02 1:05
protectorChristian Graus6-Nov-02 1:05 
GeneralRe: OLBs & TLBs Pin
Stephane Rodriguez.6-Nov-02 1:40
Stephane Rodriguez.6-Nov-02 1:40 
GeneralPeculiar Resouce problem Pin
Anonymous6-Nov-02 0:37
Anonymous6-Nov-02 0:37 
GeneralClear List Box Pin
Ayush5-Nov-02 23:57
Ayush5-Nov-02 23:57 
GeneralRe: Clear List Box Pin
Anonymous6-Nov-02 0:28
Anonymous6-Nov-02 0:28 
GeneralRe: Clear List Box Pin
RuiSantiago6-Nov-02 5:21
RuiSantiago6-Nov-02 5:21 
GeneralProblem with ownerdrawn menus Pin
Chopper5-Nov-02 23:28
Chopper5-Nov-02 23:28 
GeneralRe: Problem with ownerdrawn menus Pin
includeh106-Nov-02 3:15
includeh106-Nov-02 3:15 

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.