resolution

Allegro 5 game: How do I set a resolution that is appropriate for the aspect ratio of the screen?

Using Allegro 5, how do initialize a game in fullscreen mode so that it respects the format of the screen (widescreen 16:9 vs normal 3:4) al_create_display (w, h) Let's you select any ratio you want. For example you can set 640x480, regardless of the screen size. But it will look weird on a widescreen monitor. How do you know which ra...

How to sort images into folders, based on resolution?

Background: I've got a folder full of saved desktop pictures. I'd like to put them into folders, based on their resolution - 1024x768, etc. Creating the folders on the fly is a bonus. Currently, the images are all in a folder, but some of them are in sub-folders. I can merge them by hand, if that makes things easier. I'm using Mac O...

General Browser display statistics

I need to come up with some figures on browser display (resolution) statistics. Obviously there is W3 Schools, however they state that these are results from their site and is biased towards tech savvy users. Does anyone know of some stats that are more general in nature? They need to be credible. ...

Flex : Cross resolution applications

What is the best way to create applications in Flex/AIR, which look and feel the same irrespective of the screen resolution? ...

jQuery Screen Resolution Height Adjustment

In order to better balance out a page I am working on I would like to find a way to increase the top margin of a DIV depending on the screen resolution. What is my best way to set these dimensions with jQuery or Javascript? Thanks in advance. Brad ...

How to Import a Picture in Flash from Photoshop Without the change in quality

I try to import a PNG image from photoshop to flash. But in flash i only get image of lower quality. The image is so blur. Its frustrating for me. Kindly Give me Solution for this ...

Windows App Resolution

Hi, I have a windows app that runs correctly in my PC that is 96DPI but when I use it on a PC that has 120DPI the forms transform and all their components scramble. How can I fix this? Thanks. ...

what is the best screen resolution to develop web pages?

I m, on a daily basis creating web pages. My preferred development screen resolution is: 1600x1200 but what is yours? And do you use any other plug-ins? I use window re sizer 1.0 for Firefox. But are there better options? ...

Python change screen resolution virtual machine

In virtualbox, the screen resolution can be anything - even something strange like 993x451, etc. I tried changing it using pywin32 but I failed:: >>> dm = win32api.EnumDisplaySettings(None, 0) >>> dm.PelsHeight = 451 >>> dm.PelsWidth = 950 >>> win32api.ChangeDisplaySettings(dm, 0) -2L which ends up being: DISP_CHANGE_BADMODE any he...

Get resolution of bitmap from file vb .net

I have a filename that leads to a picture. It is not an embedded resource. My bitmap object always tells me the resolution is 96x96 no matter what, how can I get the actual resolution. Thanks ...

WPF Application moves offscreen during remote access session

Hi, i have a problem in which i am hoping to find the best and easiest to implement solution. I have written a WPF application which can be dragged around the desktop but i usually put it in the top right hand corner of the screen. My problem is that when i remote dial in from another location - where the resolution is always lower - ...

JSP/ HTML page resolution

I have to make a JSP/HTML pages. How to fix height and width on JSP for resolution, which will work for all kind of monitor resolution. If you open page then that must be fit and look good in any kind of monitors. Please advise, how to put height and width in JSP. ...

How can I reliably capture screen resolution using Actionscript?

I have several components who's screen position depends on the resolution of the monitor on which the browser lives. loginBox.x = (flash.system.Capabilities.screenResolutionX - loginBox.width) / 2; loginBox.y = (flash.system.Capabilities.screenResolutionY - loginBox.height) / 2; The problem I'm encountering is that the flash.system.C...

Scaling down to fit resolution, but not up in Flash CS4

My girlfriend is a graphic designer who is currently working on a website. She doesn't know any HTML or CSS and is only familiar with Flash, so she's building the entire website in Flash. It should be noted that I am developer and have close to 0 experience with HTML, CSS or Flash either. Work is progressing nicely, but after I helped h...

Jelly script to reset the issue resolution in JIRA

I am trying to run a jelly script in JIRA to set the resolution to null for all my issues. The following script runs without errors and returns this: <JiraJelly xmlns:jira='jelly:com.atlassian.jira.jelly.JiraTagLib' xmlns:log='jelly:log' xmlns:core='jelly:core' xmlns:jx='jelly:xml' xmlns:util='jelly:util'>org.ofbiz.core.entity.GenericVa...

prolog unification resolution

Why does this work: power(_,0,1) :- !. power(X,Y,Z) :- Y1 is Y - 1, power(X,Y1,Z1), Z is X * Z1. And this gives a stack overflow exception? power(_,0,1) :- !. power(X,Y,Z) :- power(X,Y - 1,Z1), Z is X * Z1. ...

decreasing the quality of an image under Matlab

Greetings, I am trying to find an easy way to manipulate an image so that I can decrease the quality of it from 8bit to 3bit. What would be the easiest way to achieve this? Cheers ...

Average/max viewport height

What is the average and/or max height of viewport (visible area) on 1024x768 resolution screen? I'd like to know what is considered 'below the fold' for this resolution. Thanks! ...

Prolog is vs = with lists.

Why does this fail L is [1,2,3,4], and this works: L = [1,2,3]? But L is 1, and L = 1 both work the same. ...

List of valid resolutions for a given Screen?

Is there a way to get ALL valid resolutions for a given screen? I currently have a dropdown that is populated with all valid screens (using Screen.AllScreens). When the user selects a screen, I'd like to present them with a second dropdown listing all valid resolutions for that display (not just the current resolution). Any help is ...