473,651 Members | 2,670 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

prevent image scaling for high dpi displays

Hello all,

I need your help. Internet Explorer 6+ has a registry setting (UseHR)
that will automatically scale images for displays with high resolution
(DPI).

I am building a web based monitoring application that has some very
detailed graphs and charts. I DO NOT want these images scaled under any
circumstances. In fact, my graphs look better on high DPI screens when
the are not scaled.

However, as the web app developer, I cannot control the users IE
settings. Is there anyway whatsoever to prevent images from scaling
from within the web application?

You help is greatly appreciated.

Yofnik

Jan 25 '07 #1
3 2525
Scaling, in IE, occurs when the picture is directly viewed. Embed it in an
HTML table and it wll not scale natively.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** **************
Think outside the box!
*************** *************** **************
"Yofnik" <yo****@comcast .netwrote in message
news:11******** **************@ k78g2000cwa.goo glegroups.com.. .
Hello all,

I need your help. Internet Explorer 6+ has a registry setting (UseHR)
that will automatically scale images for displays with high resolution
(DPI).

I am building a web based monitoring application that has some very
detailed graphs and charts. I DO NOT want these images scaled under any
circumstances. In fact, my graphs look better on high DPI screens when
the are not scaled.

However, as the web app developer, I cannot control the users IE
settings. Is there anyway whatsoever to prevent images from scaling
from within the web application?

You help is greatly appreciated.

Yofnik
Jan 25 '07 #2
Excellent - I will try that. Thank you.

Does the table need to have height and width set? What about a div,
will that work too?

Thanks.
On Jan 25, 12:26 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo... @comcast.netNoS pamMwrote:
Scaling, in IE, occurs when the picture is directly viewed. Embed it in an
HTML table and it wll not scale natively.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBAhttp://gregorybeamer.s paces.live.com

*************** *************** **************
Think outside the box!
*************** *************** **************" Yofnik" <yof...@comcast .netwrote in messagenews:11* *************** ******@k78g2000 cwa.googlegroup s.com...
Hello all,
I need your help. Internet Explorer 6+ has a registry setting (UseHR)
that will automatically scale images for displays with high resolution
(DPI).
I am building a web based monitoring application that has some very
detailed graphs and charts. I DO NOT want these images scaled under any
circumstances. In fact, my graphs look better on high DPI screens when
the are not scaled.
However, as the web app developer, I cannot control the users IE
settings. Is there anyway whatsoever to prevent images from scaling
from within the web application?
You help is greatly appreciated.
Yofnik- Hide quoted text -- Show quoted text -
Jan 25 '07 #3
That did not seem to help. Let me provide a little more detail.

I have developed a web based application that shows some very detailed
graphs. On one laptop that has a display set at 96 DPI, the images
look great. On a second laptop that has a DPI setting of 120, the
images are enlarged and the detail looks unattractive. If I change the
UseHR registry setting on the second laptop, the image looks
fantastic, but it is much smaller than the image on the first (96 dpi)
laptop. This is expected because it is fitting more pixels into a
single inch.

What I want to do is FORCE the browser to display the smaller, more
detailed version of the image for my application. I do not know how to
do this without changing the UseHR registry setting - which I
obviously can't do in my ASP.NET application.

Any ideas?
On Jan 25, 12:26 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo... @comcast.netNoS pamMwrote:
Scaling, in IE, occurs when the picture is directly viewed. Embed it in an
HTML table and it wll not scale natively.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBAhttp://gregorybeamer.s paces.live.com

*************** *************** **************
Think outside the box!
*************** *************** **************" Yofnik" <yof...@comcast .netwrote in messagenews:11* *************** ******@k78g2000 cwa.googlegroup s.com...
Hello all,
I need your help. Internet Explorer 6+ has a registry setting (UseHR)
that will automatically scale images for displays with high resolution
(DPI).
I am building a web based monitoring application that has some very
detailed graphs and charts. I DO NOT want these images scaled under any
circumstances. In fact, my graphs look better on high DPI screens when
the are not scaled.
However, as the web app developer, I cannot control the users IE
settings. Is there anyway whatsoever to prevent images from scaling
from within the web application?
You help is greatly appreciated.
Yofnik- Hide quoted text -- Show quoted text -
Jan 27 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3202
by: Phil Powell | last post by:
$mogResponse = exec("mogrify -size ${width}x$height " . $this->locationPath . '/' . $this->fileName . ' -resize ' . $width . "x$height > +profile " . $this->thumbLocationPath . '/' . $this->fileName .. ' 2>&1'); This attempt at creating a thumbnail only causes the original image to be resized while creating a "ghost image" in the /thumb folder where
1
6339
by: midtoad | last post by:
I'm trying to display a GIF image in a label as the central area to a Tkinter GUI. The image does not appear, though a space is made for it. Why is this so? I notice that I can display a GIF image in the central area of a simple menu-bar app as shown below in the first code sample. But, when I set up my app with a class, as shown below in the second code sample, the image disappears. How can I correct this? I'm sure the answer would...
11
16479
by: Stephane D'Alu | last post by:
Do you know if it is possible to have an image to be scalled to a maximum width/height, but with keeping its aspect ratio. The two ideas I had were: - <img src="toto.jpg" style="max-width: 200px; max-height: 200px;"/> but it doesn't keep the ratio - <div style="width: 200px; height: 200px;"><img src="toto.jpg/></div> but the image flow outside the div
4
3657
by: Michel Joly de Lotbiniere | last post by:
I hope this is the correct newsgroup for this subject. The other day I came across a site www.safesquid.com that specified font-family:Terminal font-size:9pt in the inline css for command-line displays in the page content. On my Windows 2000 PC, Terminal is a bit-mapped font that comes in various fixed sizes. The rendering differences between Mozilla 1.7.2 (which is my default browser) and MS IE 6 (latest patches) are fully illustrated...
16
2437
by: Harry Putnam | last post by:
I keep stumbling around with varius alignment tags, even using STYLE tag with absolute positioning but not getting a simple job done. I have an arrangment like this: ____________________________________________ | | | Large headline that is really an image | | of Elaborate text created in photoshop. | | This is presente in terms of % of page so |
3
2549
by: Larry Serflaten | last post by:
I am taking a 256 color bitmap from a file and scaling it up X 16 to a 32bppPARGB bitmap in memory. I copy that image to the screen. After scaling, the edges of all the lines and colors are blurred. I want the edges all crisp, including inherent pixelation (jaggies). Setting smoothing to none, or adjusting the composting mode on the Graphics object still
3
2510
by: =?Utf-8?B?SlIx?= | last post by:
I would like to add text to an image. I have tried to use DrawString and it works on some images but on others it is very very small. I am pretty sure it has something to do with the size of the image but I have had varying results on multiple images. Is there anyway to make the text a fixed size on the image. Similar to putting a date on a photograph.
1
4746
by: jalpa11 | last post by:
Hi all, I have one EMF image which I want to convert to BMP. I want to scale the BMP and want to display it in my viewport area. If scaled BMP doesn't fit inside the viewport area then I want to change the scale such that image can fit inside it. If device is screen then my image gets scaled properly and fits inside the viewport area. But if my device is printer then my image gets scaled properly but it doesn't fit inside the viewport...
10
2640
by: Arnaud Diederen | last post by:
Hello everyone, and happy new year to all c.l.j'ers! No bad code to post, just a question. I wrote a JavaScript application that lets users view an image, and zoom on it. The way I "zoom" is pretty simple, really (I hope that your newsreaders displays text with a monospace font..) :
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8697
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8465
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7297
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1587
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.