Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8399325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:16:21+00:00 2026-06-09T21:16:21+00:00

See http://jsfiddle.net/aJ333/1/ in Chrome and then in either Firefox or Internet Explorer. The image

  • 0

See http://jsfiddle.net/aJ333/1/ in Chrome and then in either Firefox or Internet Explorer. The image is originally 120px, and I’m scaling down to 28px, but it looks bad pretty much no matter what you scale it down to.

The image is a PNG and it has an alpha channel (transparency).

Here’s the relevant code:

HTML:

<a href="http://tinypic.com?ref=2z5jbtg" target="_blank">
    <img src="http://i44.tinypic.com/2z5jbtg.png" border="0" alt="Image and video hosting by TinyPic">
</a>​

CSS:

a {
    width: 28px;
    height: 28px;
    display: block;
}

img {
    max-width: 100%;
    max-height: 100%;
    image-rendering: -moz-crisp-edges;
    -ms-interpolation-mode: bicubic;
}

The image-rendering and -ms-interpolation-mode lines of CSS didn’t seem to do anything, but I found them online while doing some research on the problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:16:23+00:00Added an answer on June 9, 2026 at 9:16 pm

    It seems that you are right. No option scales the image better:
    http://www.maxrev.de/html/image-scaling.html

    I’ve tested FF14, IE9, OP12 and GC21. Only GC has a better scaling that can be deactivated through image-rendering: -webkit-optimize-contrast. All other browsers have no/poor scaling.

    Screenshot of the different output: http://www.maxrev.de/files/2012/08/screenshot_interpolation_jquery_animate.png

    Update 2017

    Meanwhile some more browsers support smooth scaling:

    • ME38 (Microsoft Edge) has good scaling. It can’t be disabled and it works for JPEG and PNG, but not for GIF.

    • FF51 (Regarding @karthik ‘s comment since FF21) has good scaling that can be disabled through the following settings:

      image-rendering: optimizeQuality
      image-rendering: optimizeSpeed
      image-rendering: -moz-crisp-edges
      

      Note: Regarding MDN the optimizeQuality setting is a synonym for auto (but auto does not disable smooth scaling):

      The values optimizeQuality and optimizeSpeed present in early draft
      (and coming from its SVG counterpart) are defined as synonyms for the
      auto value.

    • OP43 behaves like GC (not suprising as it is based on Chromium since 2013) and its still this option that disables smooth scaling:

      image-rendering: -webkit-optimize-contrast
      

    No support in IE9-IE11. The -ms-interpolation-mode setting worked only in IE6-IE8, but was removed in IE9.

    P.S. Smooth scaling is done by default. This means no image-rendering option is needed!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Google-chrome renders the font family(type) fantasy in bold. see http://jsfiddle.net/Q7mQD/ image http://imageshack.us/photo/my-images/26/capturexgd.jpg/ How to
See http://jsfiddle.net/e5tsL/ In chrome the button renders as it should, only in FireFox it
I'm running this code in Firefox 11 on Windows 7. (See http://jsfiddle.net/QStkd/ ). $('<div><input
See the fiddle: http://jsfiddle.net/stefek99/9m5NZ/1/ Get the source: http://pastie.org/3654715 Chrome 17 : just works. IE
Please see http://jsfiddle.net/jaWjB/1/ The line break happens in between the second image and its
I have the following fiddle for people to see http://jsfiddle.net/defaye/DhaHP/4/ The result on full
I've got a toggle menu, please see http://jsfiddle.net/Wp2em/41/ for code and functions. On the
See here: http://jsfiddle.net/zYcJm/ The jQuery should be validating each field to check if they
I have a menu with tiled images w/text under them. See Fiddle: http://jsfiddle.net/techydude/GF8tS/ Is
Please see demo here: http://jsfiddle.net/mA6qm/1/ (expand console) Why aren't events being sent or received

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.