resizing

Fastest Image Resizing in .NET

I need the fastest library to resize full size images (some up to 9MB in size) to multiple sizes. Here's the scenerio: User uploads a photo a FileSystemWatcher is running in a service watching the drop location (on a SAN) When a new photo appears, the service will create 4 versions of the image at full JPEG quality: 100px wide 320px...

How does WPF solve cyclic dependent sizing?

I'm trying to figure out how come WPF doesn't go crazy when I set a window to resize to its content and then set its content to take all the available space... Any idea? ...

Resizing iFrame with jQuery UI

I have this code and it works fine: Head <script> $(document).ready(function() { $("#test").resizable({minHeight: 50, minWidth: 50}); }); </script> Body <div id="test" style="border: .1em solid black;"> </div> However when I change my "div" into "iframe" I can't resize it anymore. Body <iframe id="test" style="border: ....

Animating form resize in VB.NET

I have a form positioned slightly above the taskbar/system tray in the bottom right corner of my desktop window. It's sort of like a pop-up notification. The notification itself looks great, but there's a button on it which resizes the form up, animating the sizing in increments of 5px whilst keeping it's position relative to the botto...

How can I size imageboxes to the image dimensions in Crystal Reports?

How can I size imageboxes to the image dimensions in Crystal Reports? i am doing a project in tat i having 3 type of image with different size from db how can i set image ...

Start an app and set its size and position in windows

In Windows I would like to be able to run a script or application that starts an another application and sets its size and location. An example of this would be to run an application/script that starts notepad and tells it to be 800x600 and to be in the top right corner. Does anyone have any ideas regardless of language? ...

WPF bug? Grid's column does not accommodate ListBox scrollbar

In the following example, the leftmost column's width does not increase to accommodate the ListBox's scrollbar that appears when the UserControl's height is decreased: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Example"> <...

Flowdocument isnt using the full width/height

Hi i have a FlowDocument which i want to fill the entire width and height of my window. I have tried using the flowdocumentpageViewer (no luck) and are now using a documentpageview. I still cant get it to dock/fill the entire space, its just sitting in the middle, in the minimum size it can create (does it make sense?) here is my code: ...

Yahoo Resizing Hover Events

Does anyone know if it's possible subscribe to an event (possible a mouseOver) while using Yahoo!'s resizing library? I need to disable some other listeners when a user hovers over the handles of my object, however, I don't see anything in the documentation to do so. Thanks. ...

VB.NET: Resize an image (jpg,gif,png) to avoid out of memory error in Picturebox Control on .NETCF 2.0

I'm searching for a solution to resize image(jpg) being passed in from an array in Picturebox Control on .NETCF 2.0 in VB.NET without resorting to using the opennetcf library, is it possible? ...

Streching and shrinking Image when pinching on the image

Hi, In my app i want to drag a image any where in the view and want to resize the image by pinching,gestures. I am able to drag the image any where by using - (void) touchesBeganNSSet*)touches withEventUIEvent*)event and - (void) touchesMovedNSSet*)touches withEventUIEvent*)event . But am not able to resize the image can any please he...

How to resize image upon uploading to database in asp.net mvc?

i want to resize an image before it is saved on my mysql database.. how will i process it? i have here the code for view, controller, and model. View: <form method="post" enctype="multipart/form-data" action="<%=url.action("PhotoInsert") %>"> <%Using Html.BeginForm()%> <p> <label for="despcription">Caption :</label> <%=...

How to get rid of the empty space in the right part of DBGrid Delphi

Although the question seems simple, I couldn't find the answer to it. I have a DBGrid component with lots of columns, and as a result they don't fit into the page and scrollbar appears. I also have column-autofix mechanism, which makes each column have width of the longest element in the table. When I scroll DBGrid to the right-end the...

How do you prevent a user from resizing the column width of a clistctrl (report view)?

How do you prevent a user from resizing the column width of a clistctrl (report view)? ...

How to auto resize JFrame according to content

I have created a custom JPanel that displays images (lets call it MyPanel), I have added this to JFrame's contentPane. I want JFrame to be resized automatically to fit the MyPanel when image changes. It looks like I need to call frame.pack() to do this. Calling pack() from MyPanel increases coupling so I don't want to do that. To solv...

How do I keep a wx.html.HtmlWindow at the same position during resize (without flicker)?

I want to be able to resize an html window but keep the scroll position. This example almost works, but flickers. To test: - load a good sized html file using the Load Html File button - scroll down - resize the window. The window keeps its same position through resizes, but it flickers horribly. The code for htmlwindow is resetting t...

Ghost-borders ('ringing') when resizing in GDI+

What happens (only noticeable on certain images) is I will see a 1 pixel white border that is inset one pixel. It seems to happen in areas that are light but not white (e.g. the sky). It is similar to when something is oversharpened and a ghost border can be seen next to high contrast edges. Here is the repro code that reproduces it per...

C# Very Simple Image Resizer

I am in need of a very simple c# image resizer. By simple, I mean simple. This is just a program that loops through a single directory and changes all the pictures in that directory to the same resolution. Here's what I have so far. private void Form1_Load(object sender, EventArgs e) { string[] files = null; ...

How to Resize using Lanczos

I can easily calculate the values for sinc(x) curve used in Lanczos, and I have read the previous explanations about Lanczos resize, but being new to this area I do not understand how to actually apply them. To resample with lanczos imagine you overlay the output and input over eachother, with points signifying where the pixel...

How can i produce a select handle by css

hi guys... I want to produce a sort of select/resiz border when some on click on the div, and when i move mouse over that the cursor should change accordingly. I want the user to be able to drag the element border and the element re-size accordingly thanks.... ...