Click here to Skip to main content
15,901,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Saving File as JPEG - Encoding problems Pin
Richard MacCutchan11-Oct-11 5:21
mveRichard MacCutchan11-Oct-11 5:21 
AnswerRe: Saving File as JPEG - Encoding problems Pin
Luc Pattyn11-Oct-11 6:03
sitebuilderLuc Pattyn11-Oct-11 6:03 
GeneralMessage Removed Pin
11-Oct-11 16:29
Naniw11-Oct-11 16:29 
GeneralRe: Saving File as JPEG - Encoding problems Pin
Luc Pattyn11-Oct-11 16:33
sitebuilderLuc Pattyn11-Oct-11 16:33 
GeneralRe: Saving File as JPEG - Encoding problems Pin
Naniw11-Oct-11 16:38
Naniw11-Oct-11 16:38 
GeneralRe: Saving File as JPEG - Encoding problems Pin
Luc Pattyn11-Oct-11 22:33
sitebuilderLuc Pattyn11-Oct-11 22:33 
GeneralRe: Saving File as JPEG - Encoding problems Pin
Naniw11-Oct-11 1:10
Naniw11-Oct-11 1:10 
AnswerRe: Saving File as JPEG - Encoding problems Pin
Chris Losinger11-Oct-11 3:35
professionalChris Losinger11-Oct-11 3:35 
Member 8250612 wrote:
Proper jpeg files have characters that look like this:

 

*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³

no, they don't.

well, let me rephrase that: nothing in the JPEG spec requires such a sequence of bytes. you might get an image which encodes to that, but that's entirely coincidental.

the most you can say about a JPEG is that it probably starts with these three bytes: FFD8FF. beyond that, the only constant is the structure defined by the file format; and that works with little four-byte headers which precede the various blocks of data and none of those blocks is required to look like that.


modified 11-Oct-11 15:58pm.

QuestionRe: Saving File as JPEG - Encoding problems Pin
David Crow11-Oct-11 4:07
David Crow11-Oct-11 4:07 
QuestionSetting a bmp as a window background Pin
jkirkerx10-Oct-11 13:40
professionaljkirkerx10-Oct-11 13:40 
AnswerRe: Setting a bmp as a window background Pin
TheGreatAndPowerfulOz10-Oct-11 14:45
TheGreatAndPowerfulOz10-Oct-11 14:45 
GeneralRe: Setting a bmp as a window background Pin
jkirkerx10-Oct-11 16:01
professionaljkirkerx10-Oct-11 16:01 
GeneralRe: Setting a bmp as a window background Pin
jkirkerx10-Oct-11 16:14
professionaljkirkerx10-Oct-11 16:14 
GeneralRe: Setting a bmp as a window background Pin
Richard MacCutchan10-Oct-11 22:15
mveRichard MacCutchan10-Oct-11 22:15 
GeneralRe: Setting a bmp as a window background Pin
jkirkerx11-Oct-11 7:01
professionaljkirkerx11-Oct-11 7:01 
GeneralRe: Setting a bmp as a window background Pin
Richard MacCutchan11-Oct-11 7:43
mveRichard MacCutchan11-Oct-11 7:43 
GeneralRe: Setting a bmp as a window background Pin
jkirkerx11-Oct-11 8:41
professionaljkirkerx11-Oct-11 8:41 
GeneralRe: Setting a bmp as a window background Pin
Richard MacCutchan11-Oct-11 10:56
mveRichard MacCutchan11-Oct-11 10:56 
GeneralRe: Setting a bmp as a window background Pin
CPallini10-Oct-11 22:28
mveCPallini10-Oct-11 22:28 
GeneralRe: Setting a bmp as a window background Pin
jkirkerx11-Oct-11 7:02
professionaljkirkerx11-Oct-11 7:02 
QuestionCDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Code-o-mat10-Oct-11 9:36
Code-o-mat10-Oct-11 9:36 
AnswerRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Richard MacCutchan10-Oct-11 10:26
mveRichard MacCutchan10-Oct-11 10:26 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Code-o-mat10-Oct-11 10:30
Code-o-mat10-Oct-11 10:30 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Richard MacCutchan10-Oct-11 10:34
mveRichard MacCutchan10-Oct-11 10:34 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Code-o-mat10-Oct-11 22:06
Code-o-mat10-Oct-11 22:06 

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.