image

Loading image in jQuery doesn't dissapear sometimes

Trying to get a spinner gif to appear at the beginning of an image loading, then disappear when the image is loaded. Works almost everytime, but some times it will keep on displaying and won't go. Any help? (Relevant function showed) $.loadImage = function(imgSrc,imageList){ $("#loading-graphic").fadeIn('slow'); $.clearImage(); ...

.Net: Which one has better performance: setting image property of one control in design time or in run time?

Which one has better performance? setting image property of one control in design-time or in run-time? ...

Silverlight Image Data Binding

I am new to Silverlight, and have an issue with binding. I have a class ItemsManager, that has inside its scope another class Item. class ItemsManager { ... class Item : INotifyPropertyChanged { ... private BitmapImage bitmapSource; public BitmapImage BitmapSource { get { return bitmapSource; } set { bitmapSour...

Updating an image's ImageUrl within a Repeater

I hope someone can help me. It's a pretty newbie question, I'm afraid. I have an image inside a repeater, and I would like to change its IMAGEURL based on parameter that's being passed to it. <asp:Repeater ID="Repeater" runat="server"> <HeaderTemplate> <asp:Image ID="imgType" runat="server" /> </HeaderTemplate> ...

Video-codec rater by image comparison algorithm?

Hi, perhaps anyone knows if this is possible. comparing image quality is almost imposible to describe without subjective influences. When someone rates an image quality as good there is at least one person, that doesn't think so. human preferences are always different. So, I would like to know if there is away to "rate" the image quali...

jQuery fadeIn and fadeOut buggy on hover of image

Hi All, I have four images on a page that on hover, needs to replace the main text with relevant text pertaining to that image. It's working but buggy. If I roll over slowly and roll off slowly, I get the desired effect. When I rollover quickly both div's content show. Here is a thinned out version of what I need to be able to do. <im...

Flex 3 Adding image in datagrid

How do i add a image to a column in the datagrid? Currently my code is <mx:DataGridColumn dataField="image" headerText="Photo Image" editable="false"> <mx:itemRenderer> <mx:Component> <mx:HBox height="30" horizontalAlign="center"> <mx:Image source="{'assets...

How can I link axes of imshow plots for zooming and panning?

Suppose I have a figure canvas with 3 plots... 2 are images of the same dimensions plotted with imshow, and the other is some other kind of subplot. I'd like to be able to link the x and y axes of the imshow plots so that when I zoom in one (using the zoom tool provided by the NavigationToolbar), the other zooms to the same coordinates, ...

C++ - How could I do some operation on bmp file?

I am interesting to do some transformation, like change one color to another, count all used colors, and resize image. I DO NOT want to use any exist library, I would like write myslelf all code. Summing up: How could I open BMP file and change it? ...

Creating Thumbnails in Build Phase of iPhone App Xcode project?

Hey All, I have a group of png files in my bundle; but I also want smaller versions of them to be used at my app as well. Right now I am just resizing them all manually and putting them in the bundle as well: so i might have Graphic_1.png and Graphic_1-thumbnail.png. Instead, is there anyway to do something like: at build time, take al...

jQuery and Canvas.toDataURL

I'm working on a script, and a small part of that involves taking a canvas and converting it to a downloadable image. To do this, I do: var thumb_jpeg = thumbnail.toDataURL("image/jpeg"); $("#" + options.dest).attr('src',thumb_jpeg); ...where thumbnail is a canvas tag and options.dest is the name of an img id. This code works perfec...

external images needed by nib file

Hi, I have this nib file, with a large number of NSImageViews that use a large number of Images in my application bundle. I'm hoping to change the images displayed though while the application is running. What I want to do is to externalize these images into an application support folder so that when I want to modify them, I don't hav...

php,imageresizing

function rezizecode() { $config['image_library'] = 'gd2'; $config['source_image'] = 'system/application/images/manu.jpg'; $config['create_thumb'] = TRUE; $config['maintain_ratio'] = TRUE; $config['width']= 25; $config['height']= 30; $this->load->library('image_lib', $config); $this->image_li...

Can not load the images in Java Swing when running from a .jar-file

I can run my Java Swing application from Eclipse without problems. But when I run it from a .jar-file, the images fails to load. I load my images with: setIconImage(Toolkit.getDefaultToolkit(). getImage(getClass().getResource("../images/logo.png"))); How can I load the images so they work even when I'm running from a .jar-file? The ...

Crystal Reports and WMF image

I have a problem with inserting a vector graphics (WMF) into report (Crystal Reports v10.5 from Visual Studio 2008). The image is static, inserted by choosing "Insert Picture" during report design in VS. The problem is that it displays differently (size and aspect ratio) on machines with different operating systems and screen resolutio...

Drag/Drop image url in IE

I have a requirement in our web app. to allow users to drag an image from an external site and drop it in a text editor they have open in our app. This is, as you'd expect, to let them embed the image in the document (its a rich text editor). In IE 8 this functionality appears to be broken. If I drag/drop, IE uses a relative URL for the...

Attachment_fu error

Hello, I am getting an error while trying to upload images on an Ubuntu machine that's running Rails 2.3.4, Ruby 1.8.6 using attachment_fu with image science. FreeImage exception for type ???: IPTC: Invalid key 'Tag 0x025C' The error seems to point to this line in the image_science_processor in the attachment_fu plugin: def with_imag...

Is there any control that take System.Drawing.Image object and view as image ?

I return array of images ( System.Drawing.Image[] ) from database and i want to show them in datagrid or datalist .. Can any tell me how to do that ? ...

addField type image and thumbnail path

Hello, I have a Magento webshop and just created a custom module with the extension (Modulecreator). This module comes with a standard admin interface that can handle file uploads. I found out that if you want to show thumbnails you can use the 'image' field type (addField('myfield', 'image')) instead of the 'file' type field. But now ...

Sharpening an image in a java applet

I have a scanned image that I'm viewing in a java applet. The image is in a jpeg format. When I look at the same image in Internet Explorer, it looks sharper. I would like to make the image quality in my application be as sharp as what I'm seeing in IE. Any ideas on how to sharpen the image rendered in java? Thanks, Elliott ...