Jaffro
01-18-2004, 06:10 PM
Just thinking out loud here...
Here's what im thinking, and im not sure how well it would work with browser resizes. If you had a master image for each of the key XGA and VGA sizes you could then downsize without pixelation. Although you could get distortion - but, could you not write a javascript that would constrain the height and width to be in relationship 1:1 ?
Here's why im thinking it. Am i the only person who browses several sites at a time in windowed browsers of different sizes? What im getting at is just because you detect the screen res of the user doesnt mean the browser is at that res too does it? Also you need to take into consideration extra bar's like the address bar, google toolbar! etc, that all cuts off the actual space thats browsed in.
Is it possible to use javascript or something to detect the browser space size? IE the pixel widthxheight where the webpage is actually displayed, not the screen res or full browser window res.
-----
Chro, a note about your comments in the other stretching image post. Distortion will only properly occur when re-sizing non square images or resizing height and width independitly of eachother. Technically (i know this is pointless but im thinking..) if it was a square image (pixel ratio of 1:1) and you sized it up it would become pixelated, not distorted as that would require the shape to change. Is this right?
-----
Here's what im thinking, and im not sure how well it would work with browser resizes. If you had a master image for each of the key XGA and VGA sizes you could then downsize without pixelation. Although you could get distortion - but, could you not write a javascript that would constrain the height and width to be in relationship 1:1 ?
Here's why im thinking it. Am i the only person who browses several sites at a time in windowed browsers of different sizes? What im getting at is just because you detect the screen res of the user doesnt mean the browser is at that res too does it? Also you need to take into consideration extra bar's like the address bar, google toolbar! etc, that all cuts off the actual space thats browsed in.
Is it possible to use javascript or something to detect the browser space size? IE the pixel widthxheight where the webpage is actually displayed, not the screen res or full browser window res.
-----
Chro, a note about your comments in the other stretching image post. Distortion will only properly occur when re-sizing non square images or resizing height and width independitly of eachother. Technically (i know this is pointless but im thinking..) if it was a square image (pixel ratio of 1:1) and you sized it up it would become pixelated, not distorted as that would require the shape to change. Is this right?
-----