resolution

How to view web pages at different resolutions.

I am developing a web site and need to see how it will look at different resolutions. The catch is that it must work on our Intranet. Is there a free solution? ...

C++ overload resolution

Given the following example, why do I have to explicitly use the statement b->A::DoSomething() rather than just b->DoSomething()? Shouldn't the compiler's overload resolution figure out which method I'm talking about? I'm using Microsoft VS 2005. (Note: using virtual doesn't help in this case.) class A { public: int DoSomething(...

Get the resolution of a jpeg image using C# and the .NET Environment?

Our clients will be uploading images to be printed on their documents and we have been asked to come up with a way to get the resolution of the image in order to warn them if the image has too low of a resolution and will look pixalated in the end-product If it comes to it we could also go with the dimensions if anyone knows how to get ...

How do I get the resolution of the main monitor in Mac OS X in C++?

I have a graphical app that needs to test the resolution of the display it is starting up on in Mac OS X to ensure it is not larger than the resolution. This is done before the window itself is initialized. If there is more than one display, it needs to be the primary display. This is the display that hardware accelerated (OpenGL) a...

Programmatically change screen resolution?

Is there a way to programmatically change the screen resolution or enable/disable multiple monitors in Windows XP? For example to change from 1024x768 with one monitor to 1280x104 on two monitors? I would be most interested in a win32 function to do this but anything that can be tied to a windows shortcut would suffice. ...

Installer Dialog comes up with Scroll bars on 800x480 resolution

I am building an msi using WISE. The Dialogs appear fine when run on a 1280x800 resolution screen. But when I run the same msi on a 800x480 resolution screen, the installer dialog appears really huge and you cannot see the whole dialog on the screen.However, the dialog now comes up with a vertical and horizontal scrollbar allowing you to...

Image DPI Explained

Attempting to write a definition of DPI has lead me to: DPI (dots), PPI (points), LPI (lines) all refer to the same concept hereafter referred to as DPI. DPI is a device dependent measurement. It says, "This is the resolution of this device." Vector based files are not tied to any one DPI (they expand and contract to conform to a cer...

C# WPF resolution independancy?

Hello, I am developing a map control in WPF with C#. I am using a canvas control e.g. 400 x 200 which is assigned a map area of e.g. 2,000m x 1,000m. The scale of the map would be: canvas_size_in_meters / real_size_in_meters. I want to find the canvas_size_in_meters. The canvas.ActualWidth gives the Width in DIU's (Device Independan...

What is your laptop's display size?

I want to get a new laptop and not sure what display size is the optimal. I need it for programming while I'm traveling. So the balance is between portability and usability. My old laptop is 15.4" and I think it's big and heavy for travel. ...

Are there algorithms for increasing resolution of an image?

Are there any algorithms or tools that can increase the resolution of an image - besides just a simple zoom that makes each individual pixel in the image a little larger? I realize that such an algorithm would have to invent pixels that don't really exist in the original image, but I figured there might be some algorithm that could inte...

Tool that resizes .NET winform to resolution

Is there a freeware tool that can resize a .NET winform window on a running application to a specific resolution? If I'm running on a large resolution and want to see what a window looks like at a specific resolution, this tool should resize a single window to that resolution. I use to have something like this but not sure what the nam...

How do you compare DateTime objects using a specified tolerance in C#?

By default C# compares DateTime objects to the 100ns tick. However, my database returns DateTime values to the nearest millisecond. What's the best way to compare two DateTime objects in C# using a specified tolerance? Edit: I'm dealing with a truncation issue, not a rounding issue. As Joe points out below, a rounding issue would introd...

Ghostscript and high resolutions?

Hi! I am writing a script that reads some markup data, generates a tex document and converts it to a png image. As long as I use a resolution up tp 286 px/inch everything works fine. Unfortunately GhostScript, which I use to create picture data, does nothing when I use higher values. How can I fix this behaviour? ...

how to force Java print graphics in 300dpi

as I googled for problem, somehow java printing API is crippled with limitation that all pictures sent to printer must be printed in 72dpi resolution. We are using jasper report to print documents and no matter how big barcode we draw, barcode reader won't scan it.. any similar experiences? How to solve this issue? ...

Recommended website resolution (width and height)?

Hi, Is there any standard on common website resolution? We are targeting newer monitors, perhaps at least 1280px wide, but the height may varies, and each browser may have different toolbar heights too. Is there any sort of standard to this? Thanks in advance! ...

Clarification needed: How does .NET runtime resolve assembly references from parent folder?

...

Dynamic backgroundimages PHP GD

Hi Stackers, Problem Basicly, it's impossible to use a full-size photograph with the background-image in a proper way imo. Different resolutions, wide-screen etc etc. What im looking for is a JS/PHP GD solution for this problem. Technique From what i hear, it would be as follows. Javascript looks up available screensize (browser window...

Solution for: Element <element> is not a known element warning in vs2008 when using User controls

I had a VS2008 project that was showing this warning, and I couldn't find a solution anywhere - perhaps my google-fu is weak. In any case, the apparent solution to this is to make sure that the TagName is the name of control class. So for my example, the following displayed the warning: <%@ Register Src="~/path/to/Control.ascx" TagNam...

Choosing the right image size in Compact Framework

hello, i'm developping an application in CF 3.5 for windows Mobile 6 Pro using C# and i have a little issue requiring the advice of someone that knows better. Basically, i want my application to run and scale on multiple device sizes and resolutions. Eveything scales properly but the images. Some images that are for example 16X16 will l...

What's the max size I should use for a WinForm dialog ?

I'm designing some dialog boxes, and I'm having a hard time to fit everything. (and it has to fit on a single dialog box by design, so please don't tell me I should make two dialogs instead of one:)) I'm wondering what's the max size a dialog can have before being annoying for the end user. Of course it should't be bigger than his resol...