I have a HTML <img width="50%"....> The browser calculates the height.

The <area> tags only work properly when the image is rendered close to full pixel size.

Can JavaScript fix this? Are there routines already written to handle this problem?