www.webdeveloper.com
Results 1 to 3 of 3

Thread: Resizing Images with Anti-Alias

  1. #1
    Join Date
    Sep 2006
    Location
    MA
    Posts
    494

    Resizing Images with Anti-Alias

    I was looking on Digg today, and I realized that my image resizing script resizes images much more choppy than Digg's does. I know Digg is built using PHP as it has been mentioned many times before, and on the jobs pages there are many jobs for PHP developers, so Digg must be using PHP to resize the images, but I'm not sure how they get them to look so crisp. Here is the difference:

    Digg's Images:

    30px by 30px
    http://i37.tinypic.com/ak7u6f.png

    16px by 16px
    http://i34.tinypic.com/m7yt0m.png

    My Images:

    30px by 30px
    http://i34.tinypic.com/t56rgz.jpg

    16px by 16px
    http://i35.tinypic.com/11spe1g.jpg

    As you can tell there is quite a difference between Digg's images and mine, and I'm not sure if there is some type of built-in anti-aliasing with PHP image resizing. If anybody has any idea, please let me know!

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    18,918
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Sep 2006
    Location
    MA
    Posts
    494
    I threw the question up on both PHP forums because I figured somebody would figure it out sooner or later, but it looks like the problems been all fixed! If anybody else is curious you can check the phpbuilder thread that nogdog linked.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles