1. ## pixel in Bitmap??

Hey, guys!!

I just wonder about the pixel size in bitmap, if it is already defined or variable.
For instance:

if one squre bitmap with width and height are 10 mm, and each side has 10 pixels, so there are 100 pixels in this squre ( 10 x 10)
so each pixel has 1mm long width and height.

but if I increase this squre bitmap twice larger, e.g width and height are 20mm. so, how about pixel size then?
they are 2mm for each?

I hope you can understand my question
thnx

2. Well, if a pixel has the size 1x1 mm^2 in a 10x10 bitmap then the pixels should be 2x2 mm^2 in a 20x20 mm^2 bitmap (assuming it's still 10x10 pixels).

However, the size of the pixels depends on what monitor you use and what resolution you have.

3. Thanks, buddy,

I check the bitmap properties by right click, let's say if the bitmap is 50 X 50 (in pixel). Then I enlarge the bitmap size by double, and then I check the properties, and it becomes to 100 X 100 (in pixel), so, what is that then? number of pixel increases ^2 ?

thanx again

4. If you double the width and double the height, you enlarge the picture 2 * 2 = 4 times.

Check it:
50 * 50 * (2 * 2) = 100 * 100
2500 * 4 = 10000
10000 = 10000

5. sure, I made this mistake, but I mean the number of the pixels increases if the size of bitmap increases?

6. That is the number of pixels the image can contain.

The way it sounds, you probably need the definition of a pixel.

pixel stands for picture element. A screen (or buffer, or bitmap, etc.) is like a grid of these pixels. When you hear someone saying the resolution of a surface they are talking about how many pixels are on that surface. For example: My screen is set up right now in 800x600 resolution, which means I got 800 pixels a row and 600 rows. Higher reolutions make smaller pixels, which allows for more detail, and/or bigger screens. Pixels sizes are not universal. If you set a 15" monitor running 800x600 and a 22" monitor running 800x600 next to each other, the 22" monitor's pixels will be bigger. A standard bitmap is set up sort of the same way; it is a table of pixels.