Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionplease help Pin
not insane yet!3-Jul-06 21:10
not insane yet!3-Jul-06 21:10 
AnswerRe: please help Pin
_AnsHUMAN_ 3-Jul-06 21:21
_AnsHUMAN_ 3-Jul-06 21:21 
QuestionPicture & Bitmap Pin
Diglu3-Jul-06 21:07
Diglu3-Jul-06 21:07 
QuestionRe: Picture & Bitmap Pin
Sarath C3-Jul-06 21:31
Sarath C3-Jul-06 21:31 
AnswerRe: Picture & Bitmap Pin
Hamid_RT3-Jul-06 21:51
Hamid_RT3-Jul-06 21:51 
GeneralRe: Picture & Bitmap Pin
Sarath C3-Jul-06 22:24
Sarath C3-Jul-06 22:24 
GeneralRe: Picture & Bitmap Pin
Diglu3-Jul-06 22:39
Diglu3-Jul-06 22:39 
AnswerRe: Picture & Bitmap Pin
Rilhas9-Jul-06 5:06
Rilhas9-Jul-06 5:06 
Your question might lead to several philosophical discussions, because it is not at all specific. So, it is not easy to try to use proper definitions without a minimum context to focus on. Anyway, I'll try.

A picture is a general term for a visual representation of something. A picture, by this definition, has to contain both aspects: it must be a representation, and it must be visual.

A bitmap, by itself, will not be a picture. It will just be a sequence of bits. It will become a picture when you display it on a screen, or when you print it on a piece of paper, or when you make it visible in any way.

So, generally speaking, a bitmap is a way to store image data, so that it can be represented as a picture (when used by a display device). Note that so do JPEG, TIFF, GIF, PNG, and many more image data storage formats. None of them are pictures until they are displayed.

Most often with computers the term bitmap is used to refer to the storage of picture data without compression. In this form, there is a data unit for each pixel. For example, an RGB bitmap will contain 3 bytes for each pixel. In a 6 mega-pixel image from your digital camera the bitmap would then have 18 MB in size.

The general oposite of using the term bitmap is usually to refer to compressed images. In these formats, a data unit is used to represent a larger number of pixels. For example, a high quality JPEG would typicall have 0.3 bytes per pixel (about 10 times less than bitmaps). By allowing JPEG compression to discard more and more information then you can have as few as 0.06 bytes per pixel (a single byte will generate enough information to draw more than 16 pixels) and you may still recognize the picture it intends to represent. There are also, of course, lossless compression formats.

To back this up here are google's definitions:

define:picture - a visual representation (of an object or scene or person or abstraction) produced on a surface; "they showed us the pictures of their wedding"; "a movie is a series of images projected so rapidly that the eye integrates them"

define:bitmap - The method of storing information that maps an image pixel, bit by bit. There are many bitmapped file formats, .bmp, .pcx, .pict, .pict-2, tiff, .tif, .gif (89a), and so on. Most image files are bit mapped. This type of file gives you the ´jaggies´, when examined closely you can see the line of pixels that create edges. Bitmap images are used by all computers. The desktop or screen information for all Windows machines uses .bmp files, while the Macintosh uses pict files.

If you take these definitions too far you will run into problems. People could argue that you can have a bitmap of all black pixels, representing no light at all, and that that bitmap can never be represented as a picture. The basis for this argument, is that since a picture is defined as a visual representation, then it must contain some light. If it does not show any light then it is not a picture. However, the bitmap can have all its pixels coded as "light absence" (or black) thus, in fact, that bitmap could be said to represent no picture.





QuestionCustom Command Routing for Different Views in SDI. [modified] Pin
Uday Janaswamy3-Jul-06 20:26
Uday Janaswamy3-Jul-06 20:26 
QuestionDelete directory Pin
see me3-Jul-06 19:42
see me3-Jul-06 19:42 
AnswerRe: Delete directory Pin
Aqueel3-Jul-06 19:49
Aqueel3-Jul-06 19:49 
AnswerRe: Delete directory Pin
_AnsHUMAN_ 3-Jul-06 19:53
_AnsHUMAN_ 3-Jul-06 19:53 
GeneralRe: Delete directory Pin
see me3-Jul-06 19:57
see me3-Jul-06 19:57 
GeneralRe: Delete directory Pin
Hamid_RT3-Jul-06 20:13
Hamid_RT3-Jul-06 20:13 
GeneralRe: Delete directory Pin
_AnsHUMAN_ 3-Jul-06 20:21
_AnsHUMAN_ 3-Jul-06 20:21 
QuestionUpdateResource problem Pin
Rajesh R Subramanian3-Jul-06 18:55
professionalRajesh R Subramanian3-Jul-06 18:55 
AnswerRe: UpdateResource problem Pin
Viorel.3-Jul-06 21:49
Viorel.3-Jul-06 21:49 
AnswerRe: UpdateResource problem Pin
Hamid_RT3-Jul-06 21:49
Hamid_RT3-Jul-06 21:49 
AnswerRe: UpdateResource problem Pin
Michael Dunn3-Jul-06 21:50
sitebuilderMichael Dunn3-Jul-06 21:50 
QuestionRemotely controll Pc Pin
_tasleem3-Jul-06 18:53
_tasleem3-Jul-06 18:53 
AnswerRe: Remotely controll Pc Pin
Rilhas9-Jul-06 5:12
Rilhas9-Jul-06 5:12 
GeneralRe: Remotely controll Pc Pin
_tasleem10-Jul-06 7:20
_tasleem10-Jul-06 7:20 
QuestionBeep beep beep beep beep, boop! (Need beeping code) Pin
Lord Kixdemp3-Jul-06 18:30
Lord Kixdemp3-Jul-06 18:30 
AnswerRe: Beep beep beep beep beep, boop! (Need beeping code) Pin
Sarath C3-Jul-06 20:56
Sarath C3-Jul-06 20:56 
GeneralRe: Beep beep beep beep beep, boop! (Need beeping code) Pin
Lord Kixdemp4-Jul-06 11:53
Lord Kixdemp4-Jul-06 11:53 

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.