dimensions

Can I determine FLV dimensions using FlowPlayer?

I'm currently integrating a custom Flash Video player plugin into a .Net CMS. The plugin editor currently requires the user to provide the video's width and height in order for my code to push out the relevant dimensions to the FlowPlayer. I was wondering, is there a way to automatically determine the FLV width and height rather than h...

Android Reduce Picture dimension Taken

How do I reduce the picture dimension taken in Android? By Default whenever I take a picture, the dimension is 2048x1536. Camera.Parameters parameters = camera.getParameters(); parameters.setPictureSize(1028, 768); This is how I should do it? ...

what is Dim, what is Fact?

I have an application that I know would make a great cube and would be useful for more than the standard flat Reporting Services report. We're about to jump into BI stuff with a consultant, but I'd like to give it a shot before we do, mostly so I know something of what we're going to do. The application tracks surveys in nursing homes ...

Flex4 get height and width of an mx:Image

I want to find out what the original height and width is for an uploaded image. 1) I want to control the height and width of the image manually relative to it's original dimensions. 2) I want to measure the DPI of the image as it is being scaled. 3) I'm having difficulty populating spark List containers without manually adding heig...

Getting Height and Width of Image in Java without an ImageObserver.

Hi everyone, I am trying to get the heigh and width of images (via a url) in Java without an ImageObserver. My current code is: public static void main(String[] args) throws IOException { // TODO Auto-generated method stub File xmlImages = new File("C:\\images.xml"); BufferedReader br = new BufferedReader(new F...

Detect physical screen dimensions

I know that it is possible for a website to detect a user's screen dimensions in pixels, but is there a way to detect the physical size of a user's monitor (in inches)? ...

jQuery - find out the width of an element as specified in CSS (e.g. in %age if it was specified in %age, not just in px)

Similar to this question: http://stackoverflow.com/questions/744319/get-css-rules-percentage-value-in-jquery However, I am writing a plugin and it needs to deal with it gracefully dependent on how the width was originally specified. If the element was originally specified in pixels it is fine as that is the value that .width(), .innerWi...

How to handle large image in HTML page

I have a large JPEG image about 3500 x 2500 pixels and 4 MB size. I want to display this image in a HTML page so that it takes about 3/4 of the screen, and also compress it, so that it loads quickly, but without compromising the quality too much. Is this feasible ? ...

jQuery used height of Div element

Hi, I try to get the exact used Height of a div element. It should be .outerHeight() but this does not work if the last child of the div has a border bottom. I did a little example: Html: <div id="iWantThisHeight" class="box"> <div id="div1" style="">innerDiv1</div> <div id="div2" style="">innerDiv2</div> </div> Css: .box div{ ...

Flex/Actionscript 3 dynamic width/height change

Hello. Is it possible to dynamically (not in the project's options) change the dimensions of the stage by using ActionScript 3? I'd want to create a 400x300px loader, but I also want it to load animations that have bigger or smaller dimensions. I would then change the width and height of the loader to make the loaded animations fit well....

Jquery/JS hidden elements dimention/position - with accordion and AJAX :(

HTML <div id='accordion'> <h5>Header 1</h5> <ul> <li>section 1 content visible</li> <li> <div id=showhide> <textarea id=usertext> user entered text here,scalable </textarea> </div> </li> </ul> <h5>Header 2</h5> ...

java function to determine height of an image with the given width?

im having an image(some dimensions) i set the width of some pixel position. i need a java method to calculate the height of the image to display properly... please help me.... urgent.. ...

Shouldn't window.screen.width/height correspond to actual screen width/height?

Toying around with the WebKit browser in the new Kindle 3G, I noticed that window.screen.width and window.screen.height don't reflect the actual screen dimensions. The physical screen (or rather, paper) dimensions are 800 x 600. I get: 800 x 506 in landscape mode 600 x 706 in portrait mode But interestingly, both Chrome and Safari (w...

Photo dimensions & conversions of user albums?

Are there any php libraries for this to re-scale or re-size photos down to whatever limit we set for height/width/size and also if users upload photos in gif png, or bmp then convert them to jpeg? ...

SSAS - Facts that happened over a time range

Hi, I don't really know how to handle facts that happened over a period of time. I sually deal with facts that happened on a specific date. In clear, my facts have a start_date and an end_date. So, let's say my start_date is 01/01/2008 and my end_date is 01/01/2011. I need to get the number of those facts that happened in 2009 and thos...

Calculate width and height of Flv and Swf using C#

Hi, I think the title says it all. I can't work out how to calculate the width and height dimensions of a .flv video or .swf file using C# .NET. Thanks in advance! ...

SSAS Dynamic Dimension Security based on another dimension attribute

Hello guys, In my project I have to apply security based on a dimension attribute. I think the best way to explain my scenario is with an example, if you need more info please request me and I'll love to told you if it will help me find a solution. I have some main dimension, the dimcustomer, dimseller, fact, data and geographic. The f...

Java Swing: How do I define one minimal dimension (of the two) for components?

To define minimal size successfully, I have to do the following: // setting minimal width AND height Dimension min = new Dimension(100, 100); comp.setMinimumSize(min); comp.setPreferredSize(min); comp.setSize(min); When I left one line out it doesn't work, which is strange, but it's not the point. What do I do to limit just one of tw...

How to extract the size of PDF? (Dimensions, not file size)

I have many hundreds of small PDF images (created in Adobe Illustrator) which will be inserted into a Latex document. I need to know the size of these images in real-world dimensions (e.g. 20mm x 14mm), or at least something that Latex can understand. Is there a command line tool that can produce these dimensions? (I am running Mac OS...

Get image dimensions

I have an url to the image, like $var = http://site.com/image.png How do I get its dimensions to an array, like array([h]=> 200, [w]=>100) (height=200, with=100)? ...