Click here to Skip to main content
15,924,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about timer Pin
happy_ram3-Jul-06 2:17
happy_ram3-Jul-06 2:17 
AnswerRe: about timer Pin
Hamid_RT3-Jul-06 3:14
Hamid_RT3-Jul-06 3:14 
Questionhow can i debug my project ! Pin
jalsa G3-Jul-06 1:52
jalsa G3-Jul-06 1:52 
AnswerRe: how can i debug my project ! Pin
Maximilien3-Jul-06 1:55
Maximilien3-Jul-06 1:55 
GeneralRe: how can i debug my project ! Pin
jalsa G3-Jul-06 2:07
jalsa G3-Jul-06 2:07 
GeneralRe: how can i debug my project ! Pin
jalsa G3-Jul-06 2:21
jalsa G3-Jul-06 2:21 
QuestionPicture & Bitmap Pin
Diglu3-Jul-06 1:34
Diglu3-Jul-06 1:34 
AnswerRe: Picture & Bitmap Pin
Rilhas9-Jul-06 5:21
Rilhas9-Jul-06 5:21 
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.


Rilhas
QuestionIsThereany DirectShow People? Pin
atimpoo3-Jul-06 1:34
atimpoo3-Jul-06 1:34 
QuestionC++ project Pin
Nirmal Khatri3-Jul-06 1:13
Nirmal Khatri3-Jul-06 1:13 
AnswerRe: C++ project [modified] Pin
see me3-Jul-06 1:25
see me3-Jul-06 1:25 
GeneralRe: C++ project Pin
Hamid_RT3-Jul-06 1:42
Hamid_RT3-Jul-06 1:42 
AnswerRe: C++ project [modified] Pin
_AnsHUMAN_ 3-Jul-06 1:27
_AnsHUMAN_ 3-Jul-06 1:27 
AnswerRe: C++ project Pin
Hamid_RT3-Jul-06 1:40
Hamid_RT3-Jul-06 1:40 
QuestionIBM DB2 SQL Error Code to String Pin
Christopher Stratmann3-Jul-06 1:12
Christopher Stratmann3-Jul-06 1:12 
AnswerRe: IBM DB2 SQL Error Code to String Pin
Garth J Lancaster3-Jul-06 2:52
professionalGarth J Lancaster3-Jul-06 2:52 
GeneralRe: IBM DB2 SQL Error Code to String Pin
Christopher Stratmann3-Jul-06 5:32
Christopher Stratmann3-Jul-06 5:32 
QuestionProblem in CSocket Pin
zahid_ash3-Jul-06 0:34
zahid_ash3-Jul-06 0:34 
AnswerRe: Problem in CSocket Pin
Ganesh_T3-Jul-06 2:29
Ganesh_T3-Jul-06 2:29 
QuestionVisual C++ Pin
tamasan3-Jul-06 0:16
tamasan3-Jul-06 0:16 
AnswerRe: Visual C++ Pin
_AnsHUMAN_ 3-Jul-06 0:20
_AnsHUMAN_ 3-Jul-06 0:20 
AnswerRe: Visual C++ Pin
Benoy Bose3-Jul-06 1:27
Benoy Bose3-Jul-06 1:27 
AnswerRe: Visual C++ [modified] Pin
Niklas L3-Jul-06 3:22
Niklas L3-Jul-06 3:22 
QuestionTrying to Display HWND as String Pin
redfish342-Jul-06 23:37
redfish342-Jul-06 23:37 
AnswerRe: Trying to Display HWND as String Pin
Justin Tay2-Jul-06 23:58
Justin Tay2-Jul-06 23:58 

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.