image

Animating the filling of a mask

Hi, I have taken the popular colorizeImage procedure and modified it to display incremental section fills for an image using a mask. Now I am trying to give a look of the image filling up gradually, I have tried to use Basic Animation to do this but I get a fade between the two images, and if I try and add it to an animationgroup and a...

jQuery Image Map Question

I'm working on an image map of the united states where a user rolls over the image and that states information displays on the right side, you can see it here: http://www.quiznosforsale.com/test/ Now I need to have that rollover effect stop when one clicks on the state so that they could potentially click on the information that appear...

How to display images in Rails without plugins like Paper Clip?

I'm trying to display images using my web application written in Rails. I've come across solutions like PaperClip, Attachment Fu etc; but they modify my data model and require to save the image through UI. The problem is that, the images content is not stored using Rails, but a Java Servlet Application. Is there a way to just display the...

Vertical aligning an absolute positioned div inside a containing div

I'm using the jQuery Cycle plugin to rotate images in a slideshow type fashion. That works fine. The problem I'm having is getting these images (of different sizes) to center in the containing div. The images are inside a slidshow div that has it's position set to absolute by the Cycle plugin. I've tried setting line-height/vertical-ali...

Image Intro at iphone application starting

hi guys i wanna create an intro image (fade in and fade out ) for my my application here is my code but ! when i run app on the device i have some problem : 1-my main nib page been displayed ! 2-my image fade in then fade out ... again fade in , fade out !! 3 times here is my code and my attached file ! plz check it out : .h @inter...

Deleting a window's background image WPF

I'm having a problem in WPF where a window doesn't release it's file-lock on the background image file after closing, before another part of the application tries to write to the image. So as an example; say I have a WPF app consisting of 3 windows, 1 "menu" selection window and 2 others. Both of the windows create an ImageBrush using a...

Images will not work in a .jar file

When a .jar of an application is created, the images in the application no longer appear. An example of our code for loading images is: ImageIcon placeHolder = new ImageIcon(src\Cards\hidden.png); We have no idea why this is happening. The application runs as expected if we do not compress it to a .jar; as a .jar, the images simply dis...

jquery: displaying image in top right corner

hello, i am pretty new to jquery and hope this is the right place to ask. my problem is the following. when i mouseover a certain element on a page, i want that a certain image is displayed in the top right corner of the page, no matter where the it is currently scrolled. how can i achieve that? thanks a lot! ...

ClassLoader.getResource() doesn't work from .jar file

I have the following code: private final ImageIcon placeHolder = new ImageIcon(this.getClass().getClassLoader().getResource("Cards\\trans.png")); But this does not work once my application exported into a .jar file. ...

How to create an image from a string in python

Hi, I'm currently having trouble creating an image from a binary string of data in my Python program. I receive the binary data via a socket but when I try the methods I read about on here like this: buff = StringIO.StringIO() #buffer where image is stored #Then I concatenate data by doing a buff.write(data) #the data from the socket...

jQuery image grid effect

I have an image sitting on a page that I want to create a grid type overlay (that covers the image with a black fill) which will be partitioned into 50x50 pixels (what ever size, tbh) squares. The squares on the grid will then flip over, one at a time, in random positions revealing the image below it. The only way I can think of accomp...

How can I grab an image dragged from Firefox?

Based on this drag/drop article: http://delphi.about.com/od/adptips2005/qt/dropontimage.htm I'm trying to catch an image dragged from Firefox onto a TPanel, I've got something that nearly works, but when I go to copy the file (that I thought would be temporarily created), the file did not exist, what did I miss? procedure TformMain.For...

How to show captured images in a sequence so it look like a video?

Hi, I am currently capturing diffrent images using java.... Now i want to show all these images in a sequence so that it should look like a video... How should i do this? I have been suugested that I need to use JMF.But i dnt have any idea about JMF....Can anybody help me? ...

IE6 image scaling with bicubic filter

I have a project where I have to resize some images in the actual browser side. IE8, FF3 et al all apply a filter to smooth the resizing of the image, so in these browsers everything looks good. In IE7 I have applied the following fix which works great: -ms-interpolation-mode:bicubic; In IE6 however I can only find references to t...

how should i store and retrieve images with django on appengine?

I'm using appengine patch with django 1.1 (came with appengine patch). I have a page with multiple columns and multiple files. In the admin I want to be able to upload an image and write text in a column like so: This is the sory of bugs bunny ... <img src="/pages/file/agphZXAtc2FtcGxlchALEgpwYWdlc19maWxlGAUM/" alt="didnt work" /> some ...

How can I rotate an image in .NET and output it to the client as a PNG?

I have an .aspx file that outputs an image using the following methods: Server.MapPath("somefile.png") Response.ContentType = "image/png"; Response.WriteFile(fileURI); I have a function that rotates the image by 0-360 degrees and returns it as a bitmap. How can I take this in-memory bitmap and then write it out to the client as a ...

Crop whitespace from image in PHP

Is it possible to remove the whitespace surrounding an image in PHP? NOTE: to clarify I mean something like photoshops trim feature. Thanks. ...

Jpeg compression with high quality in c#

I want to save images with c# but while using .net jpeg format it reduces quality and compression is not enough. It must save the file like its orjinal quality and size. I am using this code but It has not enough quality and compression. I am archiving studio photos and quality and compression is very important. Thanks. Bitmap bm = (Bit...

How can I get pyplot images to show on a console app?

I'm trying to create an image using matplotlib.pyplot.imshow(). However, when I run the program from my console, it doesn't display anything? This is the code: import matplotlib.pyplot myimage = gen_image() matplotlib.pyplot.gray() matplotlib.pyplot.imshow(results) But this shows nothing. ...

How to change Image Loading Order (for Lightbox)

I've got a page with a lot of images (thumbnails). You should be able to expand the images via Lightbox. I need to encourage the browser to load the image in the Lightbox before any other image (thumbnail). I remember some articles (I can't find anymore) on how to influence the loading mechanism of the browser (use a different subdomain...