I have “sunset” image in windows xp in “my pictures” folder. Size of this image is 800×600 pixels
I am including this image in my html page. When I include this image , I change the height and width
[code]
<image src=”c:shared foldermy picturessunset.jpg” width=”200px” height=”150px”>
What does this reduction in size do to the image ? Does it compress the whole image leaving the image with same amount of pixels which is 0.5 MP ? or Does it just reduce the size of the image with pixels reducing to 0.03 MP ? If it compresses the image without reducing the number of pixels, how does the rest of the pixels fit in image ?
Else, If it reduces the number of pixels, then from where the pixels are taken from the image because image still looks the same.
This question is not framed properly, because I am not very clear with the idea.
So pls explain in detail.
thanks