resize

Flex: Auto-resize contents of a group to fit a printed page

Hello all, I have a large Group which contains two rulers and labels for distances, and a varied amount of smaller groups consisting of images and labels. Now my task is to print the large group on a page with a header and a footer. The large group extends outside the edge of the page and pushes the footer off the page. If I was printin...

Making an image fit an IE window

I need to make an image change its size according to the window size, that is, if the window is re-sized the image needs to be re-sized to fit the window. This problem is easy enough with Chrome and Firefox, I just set 'width=100%', but IE isn't as kind... This problem was raised several times, but I couldn't find a coherent answer, it ...

In JavaScript - after I open a window using window.open - can I resize its dimensions at will?

I realize that most browsers block window resizing but was wondering that since I am the parents of this newly opened window, would I have any priveleges over sizing it not just on the Open but after? I am not trying to annoy users either :) I specifically need to keep 2 windows in sync (Same size). thanks! ...

How to use Python re module to replace \n with nothing in a single file

Regards to all. I'm developing a Image compression system using Python Image Library. The basic workflow is: Read all images of a certain directory with : find /opt/images -name *.jpg > /opt/rs/images.txt Read this file and storage the result in a Python list Iterate the list, create a Image object and passing like a argument to the co...

Java JTable Resize Row

Is it possible by default to resize a JTable row in the same way you can resize a column by dragging the mouse at the header? If so, how can you do this? ...

How to scale an embedded flash video and not crop it?

Hello, I have embedded a flash video on my website. http://zombiestrategies.com/howto I am having the problem that it seems to rescale fine in Firefox on the Mac, but in Firefox in Windows it just crops the video. Here it my HTML <object width="650" height="500"> <param name="movie" value="How To Add A Location"> <embed src="http://...

How to zoom in and out to a bitmap without loosing resolution ?

I am trying to implement pinch zoom and it is working but when i zoom out and then zoom in again the resolution of the image(bitmap) decreases. I am aware that this is just normal behavior of my code and i want to know how to do this with right way . here is the relevant code : Matrix matrix = new Matrix() ; float scale = newDist / old...

Resize embed code PHP

Can I automatically resize an embed code efficiently using PHP (maybe with regex?) Here's an example of the embed code: <object width="500" height="350"> <param name="movie" value="http://www.megavideo.com/v/"&gt;&lt;/param&gt; <param name="allowFullScreen" value="true"></param> <embed src="http://www.megavideo.com/v/" type...