resolution

How can I get the resolution (width and height) for a video file from a linux command line?

I've been digging through the mplayer/mencoder and ffmpeg documentation and I can't seem to come up with anything. I'm not especially picky as to the output format as I can use a regular expression to pull it out, I just can't seem to get the data in the first place. Thanks in advance! ...

Sync Services Ado.net define Range Id

is there a way to define a range of id's for insertions in a table in a client DB, using Sync Services for ado.net? does Sync services have any predicted support for such a case? tks ...

WPF Resize Windows

I maintain a touch screen application that I'm re-writing into .Net. Through the years the resolution of the touch screens has increased greatly. Not only is the resolution higher, but the pixels are also much more dense making it harder to see/operate the touch buttons. Is there a way with WPF to force application windows to scale t...

Service Host Resolving - C# Equivalent to RMI Registry?

I'm taking a Masters capstone course early and doing my project in C# while everyone else is doing theirs in Java. The project has 4 services and requires a name server that maps service names to sockets. The instructor is suggesting that the students use RMI to build this registry. Since I'm not very familiar with Java, and the instr...

How does Windows XP use a monitor's EDID to determine allowable display modes?

I'm working on a video display device that uses custom timings for resolutions at848x480 and 800x480 that do not conform to any VESA standard. The device has an EDID that specifies these timings. I would like to know the process that Windows XP uses to determine the resolution to display at, and how it presents the user with a list of c...

Change the resolution of a jpeg image using C#

I need to modify the vertical and horizontal resolutions without changing the image dimensions. ...

What's the standard "minimum" resolution I should support with a website?

Duplicate: Recommended website resolution (width and height)? I tend to think of 1024x768 as the minimum Screen Resolution that a modern web browser will run in, but I worry when using this resolution for a business website because I feel that I might be hurting the folks out there who are stuck with something smaller/older. So I a...

How can I crop image without changing its resolution in C#.Net ?

Hi, I made small program to divide large pictures and take part of them. When i import image that made by "Microsoft Paint" this image is "96 dpi" so my program doing well. But I've pictures that made by Photoshop its resolution is 71.6 dpi when i crop these pictures the new cropped picture take 96 dpi resolution so the size is deferen...

can php detect client browser monitor size/resolution?

Php can detect IP, hostname, client agent etc. Can php detect client browser monitor size/resolution? ...

C#: Retain size despite different resolution using Graphics.DrawImage

I am trying to draw two images side-by-side using the C# Drawing namespace. Here is a very simple example that assumes we have two images of the same height: Image[] oldImages = GetOldImages(); var newImage = new Bitmap(oldImages[0].Width + oldImages[1].Width, 800); using (var newImageGraphics = Graphics.FromImage(newImage)) { ne...

Change OS info, Change resolution Info, IE Webbrowser Control .NET C#

Hi, I recently created an auto browser windows form app that browsers various places just for fun at this point. But I noticed when going to tracemyip.org that information related to my operation system and resolution are available to them. Is there any way to change only the appearance of my resolution and OS when browsing to these type...

Windows CE Emulation @ 320x320 resolution

Hi, I am looking for a way to debug my CF application on a 320x320 resolution WinCE Emulator, currently all CE emulators in the device emulator have lower resolutions so i was wondering whether there is a registry entry or other way to force this resolution. Thanks in advance. ...

Optimal Screen Resolution to capture screen cast for a demo

Hi, I am making a screen cast nor capture of the functionality of our application.I am doing it on my laptop,I am supposed to connect a projector or a tv to show the demo.What would be the optimal screen resolution? Or is there something like that? What is the resolution you choose.Sometime the projector or tv doesnt support some resolut...

Designing an MFC App That Will Work on All Resolutions?

I'm currently designing my first ever GUI for Windows. I'm using MFC and Visual Studio 2008. The monitor I have been designing my program on has 1680x1050 native resolution. If I compile and send my program to one of my coworkers to run on their computer (generally a laptop running at 1024x768), my program will not fit on their screen. ...

java print api - printing JComponent at 300dpi

please tell me if I am doing something wrong. I want to print barcodes onto labels, so I need high quality printout for these barcodes so I am pushing printer to print in 300dpi. What I've done: made a big JFrame; width: 2490px, height: 3515px so it represents A4 paper in 1:1 measure (this is A4 paper resolution if print is to be 300...

How do I make an Action Script 3 class, used in two SWF files, resolve to the same class when one SWF dynamically loads the other?

Background I am developing a highly modular application in pure Action Script 3 (we are using Flex 4 SDK to automate our builds, but all our code must be able to compile directly in Flash CS4 Professional). We have a "framework.swc" file which contains interface definitions which are shared between all our modules, we have a "mainmodul...

Capturing a time in milliseconds

The following piece of code is used to print the time in the logs: #define PRINTTIME() struct tm * tmptime; time_t tmpGetTime; time(&tmpGetTime); tmptime = localtime(&tmpGetTime); cout << tmptime->tm_mday << "/" <<tmptime->tm_mon+1 << "/" << 1900+tmptime->tm_year << " " << tmptime->tm_hour << ":" << tmptime->tm_min << ":" << tmptim...

Image.SetResolution results in A generic error occurred in GDI+

Hello! For some reason if I call on a 600 dpi image: myImage.SetResolution(72, 72) It gives me "A generic error occurred in GDI+". Moreover, if I try to create a new 72 dpi bitmap, create graphics object from that and use DrawImage to draw original 600 dpi image in the graphics object created from the new bitmap, I also get this err...

Why do I need to specify a resolution for cropping?

I wrote a method to crop images in C#. It does it by creating a new Bitmap and drawing onto it a specified rectangle (the area to be cropped) from the original image. For the images I've tried with it was generating wrong results. The size of the resulting image was right, but the content was it. It was like if the image has been scaled...

WebLogic XML External Entity Resolution: Is there another way besides using the XML Registry?

We have an application that uses SiteMesh, and when WebLogic tries to parse the TLD files, it sees the DOCTYPE specification, containing the reference to the TLD DTD, at "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd". The server can not initiate outbound connections to the Internet, and so cannot retrieve the DTD, which causes the ...