resize

importing .png image into flash CS3

While importing a .png file in Flash CS3, i noticed that it automatically gets resized. It gets imported smaller than its original size. Im importing it to the stage and not inside any symbol. Can anyone explain why this happens? Do i have to change any settings to get the original size as it is? ...

Image resizing efficiency in C# and .NET 3.5

I have written a web service to resize user uploaded images and all works correctly from a functional point of view, but it causes CPU usage to spike every time it is used. It is running on Windows Server 2008 64 bit. I have tried compiling to 32 and 64 bit and get about the same results. The heart of the service is this function: p...

Resize and crop images before displaying in UITableViewCells

Hello, i have an UITableView in my app and i have to load some images that have a fixed width but different heights. I download the images async using an NSOperationQueue and for resizing and cropping i tried to use the solution provided by Jane Sales in this post link text. i made a custom UITableViewCell class and in it i have a meth...

Image GD resize to 100px while keep the ratio

Hay Guys. I was wondering if anyone can help with resizing an image to 100px (wide, or high). While keep it's ratio and quality. All this needs to do is open a given file, resize it and overwrite the file with the new version (keeping the filename). It should only beable to do jpegs,gifs and pngs. I'm not fussed about transparencies...

resizing a iframe when opening a pdf

I have a iframe that i want to open pdf's into from a list on the side bar. I have everything working but the pdf shows up in a little 500 by 200 box on the and wont "resize" to so the user can read the entire page. the live site is located here http://www.markonsolutions.com/opportunities.php and the code behind it is <!DOCTYPE htm...

How can I implement a "maximize" button in JavaScript?

I have one parent DIV, with two inner DIVs, each taking up 50% of the screen. Looking for suggestions to achieve the following: I would have a 'Maximize button' on each of those inner DIVs, which would set the width of the DIV on which the button was clicked to 100% width of the parent DIV, making the other one invisible. I believe j...

TabCtrl_SetItemSize and user drawn tab controls

Hello. I have this Win32 user-drawn tab control that is created as: CONTROL "Tab1",IDC_TAB_CONT,"SysTabControl32",TCS_BOTTOM | TCS_OWNERDRAWFIXED | NOT WS_VISIBLE,0,14,185,88 I'd like for this control to have its tabs resize as never to have to see the "sliding arrows": Now, pretty much everything about this contr...

How to merge transparent PNG with image using PHP?

Hello, The situation is this: I have a small 50x50 pic. I also have a small 50x50 transparent picture which contains a frame for the 50x50 pic, so I basically want to put the transparent png on top of the image and merge those two which would lead to a done third picture that looks something like this: http://img245.imageshack.us/i/50x5...

Adobe Flex - any way to automatically change font size to fit in its container?

I have a component in Flex, and part of that component is a label. Is there a way to automatically adjust the font size to fit into its container? ...

Automatically align and resize 3 images into a small image with PHP?

I don't know if this is even possible with PHP, but I figured if it is, someone here will know how. I'm currently working on a project where users can customize a full body main avatar to be used throughout the site. There are a bunch of different face, hair, etc transparent png images that can be selected to make their custom avatar. ...

WPF layout on a Window

I have a couple of listboxes on a WPF Windows, with Height="Auto" Width="Auto" set on the form The form sizes perfectly on different resolutions, but the problem is that when I press the maximise button a thick "Black L" is visible while the form resizes. I have seen this on quite a few WPF applications, but not had to solve the proble...

How can I dynamically resize an image in ASP.NET MVC?

Question How can I dynamically resize an image in ASP.NET MVC? Background I'm trying to automatically create thumbnails from images that are already on the server. In ASP.NET Webforms, I created a HTTPHandler to do this and added verbs in the web.config for all image extensions to pass through the handler. The handler was nice in tha...

[jQuery] Resizable DIV only horizontally

I need a plugin to resize a DIV vertically just use jQuery ( not jq UI ). here is a sample of the HTML : <div class="wrapper" style="width:300px; height:300px; padding:50px; border:1px solid black;"> <div class="resizable" style="height:300px; width:150px; background:green;float:left"> TEST TEST </div> <div clas...

Delphi: How to know when a TEdit changes size?

i need to update items around an edit box when it changes size. TEdit has no OnResize event. An edit box can resize at various times, e.g.: changing width/height in code form scaled for DPI scaling font changed And i'm sure others i don't know about. i need a single event to know when an edit box has changed its size. Is there a W...

Streaming Jpeg Resizer

Does anyone know of any code that does streaming Jpeg resizing. What I mean by this is reading a chunk of an image (depending on the original source and destination size this would obviously vary), and resizing it, allowing for lower memory consumption when resizing very large jpegs. Obviously this wouldn't work for progressive jpegs (...

WPF: How can I have controls in a grid automatically resize when the grid is resized?

I'm very new to WPF: I need to have buttons on a grid resize as the form is resized. The spaces between the buttons also need to stay constant. Is there some property that I can set? I played around with width/height as auto, but that didn't work. ...

Detecting div height on resize [Updated]

I am trying to detect the height of a div that I am loading content into. This div does not have a specified height, as I am loading pages into it and they themselves fill up the div in different amounts. I think the code I am using is not working… The #content div is getting the correct height on document load, however I cannot get the...

wpf window ghosting problem when resizing over two screens

The title pretty much describes it. If I resize my WPF app so that it stretches over two monitors in a dual monitor setup, and resize it back, there will be a ghost window in the second monitor that does nothing, but is still moved when I move the original window in the first screen. Has anyone had issues like this? I think its a refres...

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...

Dynamic resize of Layout Manager areas

In which Swing layout manager it is possible to change layout areas programmatically? And how to do this with lowest cost? I have to create component with functionality similar to JSplitPane but with three panels from scratch. One of the moments is to Expand/Collapse one of the panels after clicking oneTouchExpandable button on the divi...