Click here to Skip to main content
15,891,902 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Storing data in a database.. Pin
Steve S17-May-06 6:41
Steve S17-May-06 6:41 
AnswerRe: Storing data in a database.. Pin
Jim Crafton17-May-06 9:27
Jim Crafton17-May-06 9:27 
Questionwrite/read file simulatenusly Pin
big_denny_20017-May-06 5:42
big_denny_20017-May-06 5:42 
AnswerRe: write/read file simulatenusly Pin
Russell'17-May-06 5:53
Russell'17-May-06 5:53 
AnswerRe: write/read file simulatenusly Pin
Jim Crafton17-May-06 9:34
Jim Crafton17-May-06 9:34 
QuestionGetScrollPos Pin
Sarath C17-May-06 5:01
Sarath C17-May-06 5:01 
QuestionGet dimenstion from image files Pin
Happyjojo17-May-06 4:45
Happyjojo17-May-06 4:45 
AnswerRe: Get dimenstion from image files Pin
Ted Ferenc17-May-06 5:03
Ted Ferenc17-May-06 5:03 
It depends on what the type of image file it is.

Normally the width and height is stored in the header, i.e. the first few bytes of the bitmap file.

To find out about file formats see http://www.wotsit.org/search.asp?s=graphics[^]

So all you do it read the first few bytes of the file.



"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
GeneralRe: Get dimenstion from image files Pin
Maximilien17-May-06 5:27
Maximilien17-May-06 5:27 
GeneralRe: Get dimenstion from image files Pin
Russell'17-May-06 5:30
Russell'17-May-06 5:30 
GeneralRe: Get dimenstion from image files Pin
Happyjojo17-May-06 5:43
Happyjojo17-May-06 5:43 
GeneralRe: Get dimenstion from image files Pin
Ted Ferenc17-May-06 6:15
Ted Ferenc17-May-06 6:15 
GeneralRe: Get dimenstion from image files Pin
Russell'17-May-06 6:17
Russell'17-May-06 6:17 
AnswerRe: Get dimenstion from image files Pin
Russell'17-May-06 5:03
Russell'17-May-06 5:03 
AnswerRe: Get dimenstion from image files Pin
Chris Losinger17-May-06 6:23
professionalChris Losinger17-May-06 6:23 
QuestionSocket funcions and IOCompletion port questions? Pin
followait17-May-06 4:24
followait17-May-06 4:24 
AnswerRe: Socket funcions and IOCompletion port questions? Pin
Peter Mares17-May-06 5:02
Peter Mares17-May-06 5:02 
QuestionCedric Moonen Pin
Sarath C17-May-06 4:01
Sarath C17-May-06 4:01 
AnswerRe: Cedric Moonen Pin
Cedric Moonen17-May-06 4:04
Cedric Moonen17-May-06 4:04 
GeneralRe: Cedric Moonen Pin
Laxman Auti17-May-06 4:09
Laxman Auti17-May-06 4:09 
GeneralRe: Cedric Moonen Pin
Russell'17-May-06 5:26
Russell'17-May-06 5:26 
GeneralRe: Cedric Moonen Pin
ThatsAlok17-May-06 20:36
ThatsAlok17-May-06 20:36 
GeneralRe: Cedric Moonen Pin
Cedric Moonen17-May-06 20:41
Cedric Moonen17-May-06 20:41 
GeneralRe: Cedric Moonen Pin
ThatsAlok17-May-06 19:41
ThatsAlok17-May-06 19:41 
GeneralRe: Cedric Moonen Pin
Cedric Moonen17-May-06 20:31
Cedric Moonen17-May-06 20:31 

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.