Results 1 to 4 of 4

Thread: Deeper into Stretching images..

  1. #1
    Registered
    Join Date
    Jan 2004
    Location
    London, UK
    Posts
    229

    Deeper into Stretching images..

    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?
    -----

  2. #2
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    pixelated is a form of distortion, isn't it? Interestingly it's actually an old word for getting really drunk that pre-dates computing all together

  3. #3
    Registered
    Join Date
    Jan 2004
    Location
    London, UK
    Posts
    229
    someones been using dictionary.com hehe

    Back to my main point tho, could that be done do you think?

  4. #4
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    It wasn't dictionary.com. They don't even recognise it I read it ages ago in the Times newspaper.

    I would imagine it could be done using javascript and dynamic html. Not sure though.

Similar Threads

  1. Free Royalty Free Images
    By incka in forum HTML, CSS, Layout, and Design
    Replies: 31
    Last Post: 01-22-2005, 10:07 AM
  2. Star Rating Images
    By mobilebadboy in forum Website Programming & Databases
    Replies: 5
    Last Post: 05-08-2004, 09:27 AM
  3. Linking Images
    By Mike in forum Search Engine Optimization
    Replies: 5
    Last Post: 03-26-2004, 12:35 AM
  4. Images that stretch
    By Duke in forum Graphics & Multimedia
    Replies: 8
    Last Post: 02-01-2004, 04:16 PM
  5. Attaching images?
    By Best.Flash in forum Site and Forum Feedback
    Replies: 1
    Last Post: 01-22-2004, 07:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •