when I stretch the image to the size of the division the quality of the image has come down. Is that possible to Resize the Image while keeping its quality in Windows 8 Metro HTML5 apps ? Image dimension is 360x480 pixels.
HTML5 code:
<div id="imageSection" >
<input type="image" id="homepageimage" >
</div>
css file code:
#imageSection {
height: 90%;
}
#homepageimage {
width: 100%;
background-image: url(../images/kidsphoto.jpg);
background-size:100% 100%;
background-repeat:no-repeat;
height:100%
}