Click here to Skip to main content
15,563,228 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 7:29
professionalAlaric_1-Jul-07 7:29 
GeneralRe: Read width & Height of jpeg file Pin
Luc Pattyn1-Jul-07 7:40
sitebuilderLuc Pattyn1-Jul-07 7:40 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 7:45
professionalAlaric_1-Jul-07 7:45 
GeneralRe: Read width & Height of jpeg file Pin
Luc Pattyn1-Jul-07 7:55
sitebuilderLuc Pattyn1-Jul-07 7:55 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 8:06
professionalAlaric_1-Jul-07 8:06 
GeneralRe: Read width & Height of jpeg file Pin
Luc Pattyn1-Jul-07 8:15
sitebuilderLuc Pattyn1-Jul-07 8:15 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 9:01
professionalAlaric_1-Jul-07 9:01 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 9:15
professionalAlaric_1-Jul-07 9:15 
right...I knew that the BITMAPINFOHEADER was for a bmp & not a jpg Poke tongue | ;-P ...but I was hoping that something could be done to mimic its usage. (My bmp viewer is in C++...never ported it to .NET) ...bmp's are actually extremely simple, barely a step up from a PPM.

I'm sure you could find it yourself, but the header just looks like this:
height field
bits per pixel field
compression field
colors field
important colors field


...then you just have to remember that bitmaps are encoded as BGR values instead of RGB, so you have to map them accordingly

Welcome my son...Welcome..to the Machine

GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 10:14
professionalAlaric_1-Jul-07 10:14 
GeneralRe: Read width & Height of jpeg file Pin
Luc Pattyn1-Jul-07 10:20
sitebuilderLuc Pattyn1-Jul-07 10:20 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 14:29
professionalAlaric_1-Jul-07 14:29 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 14:35
professionalAlaric_1-Jul-07 14:35 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 14:50
professionalAlaric_1-Jul-07 14:50 
GeneralRe: Read width & Height of jpeg file Pin
Luc Pattyn1-Jul-07 15:06
sitebuilderLuc Pattyn1-Jul-07 15:06 
GeneralRe: Read width & Height of jpeg file Pin
Luc Pattyn1-Jul-07 15:19
sitebuilderLuc Pattyn1-Jul-07 15:19 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 15:23
professionalAlaric_1-Jul-07 15:23 
GeneralRe: Read width & Height of jpeg file Pin
Alaric_1-Jul-07 15:24
professionalAlaric_1-Jul-07 15:24 
GeneralRe: Read width & Height of jpeg file Pin
Luc Pattyn1-Jul-07 15:56
sitebuilderLuc Pattyn1-Jul-07 15:56 
GeneralRe: Read width & Height of jpeg file [modified] Pin
Alaric_1-Jul-07 17:03
professionalAlaric_1-Jul-07 17:03 
GeneralRe: Read width and height of jpeg file Pin
Luc Pattyn1-Jul-07 23:09
sitebuilderLuc Pattyn1-Jul-07 23:09 
GeneralRe: Read width and height of jpeg file Pin
Alaric_2-Jul-07 10:51
professionalAlaric_2-Jul-07 10:51 
Questionhexadecimal compare ? Pin
B.A30-Jun-07 21:49
B.A30-Jun-07 21:49 
AnswerRe: hexadecimal compare ? Pin
B.A30-Jun-07 22:12
B.A30-Jun-07 22:12 
AnswerRe: hexadecimal compare ? Pin
Guffa30-Jun-07 22:27
Guffa30-Jun-07 22:27 
QuestionLibrary management system Pin
Diana181130-Jun-07 19:05
Diana181130-Jun-07 19:05 

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.