image

Servlet send image from server and save in client

Hi, I'm new and just developing on J2EE. I am modifying an existing application (an OpenSource project). I need to save an image on a client sent by the server, but I do not know how. This activity must be done in a transparent manner without affecting the existing operation of the application. From the tests done I get this error: java...

Use referrer info to get image from url

Hi I want to get image from another site but I requires referrer information to show image. image address is: http://www.foo.com/hist.gif?21918+201020 this adress show gif image if you came this page from foo.com Think I can do this with curl but I don't know how to do this. I have to show image with img tag ...

GridView out of memory error

I use GridView to display thumbnails from MediaStore. If I launch and close my application 2-3 times it crashes with out of memory error. System.gc() is called in onCreate of main activity. If comment call setImageURI then no errors. Maybe I need to explicitly clear memory somehow? Please, help. public View getView(int position, View...

thresholding to distinguish small features in noisy data

Hi, I'm wondering what type of threshold would work well for distinguishing features that are very small (small in the xy sense) in comparison with the full spread, if that makes sense. The graythresh() function in Matlab that uses the Otsu method doesn't work too well for my data. Otsu is a clustering method where I think the # of pixel...

How to determine loading status of images not attached to the DOM

I am working on a bit of javascript to plot data on a <canvas>. The data points are marked by one of several different (small) image files. I am attempting to have the plot method wait until all the images are loaded. My best attempt thus far is such: var icon = { left : { air : new Image(), bone : new Image(), ...

Uploading image file from website on yahoo server causes 410 gone error message when trying to access it.

I have a form that lets users upload a photo of themselves. This seems to work. The photo does exist on the server once uploaded. When I try to access the file I get a "403 forbidden - you don't have permission to access this url on this sever" and also I get "Additionally, a 410 Gone error was encountered while trying to use an ErrorDoc...

from string of bytes to OpenCV's IplImage in Python?

Hey all, I am streaming some data down from a webcam. When I get all of the bytes for a full image (in a string called byteString) I want to display the image using OpenCV. Done fast enough, this will "stream" video from the webcam to an OpenCV window. Here's what I've done to set up the window: cvNamedWindow('name of window', CV_WIND...

Making a UIImageView appear when screen is tapped

Possible Duplicate: Making images appear How? Hi all, Could someone please tell me how to make an image appear when the user taps the screen and make it appear at the position of the tap. Thanks in advance, Tate ...

Image Cropper UI has white / opaque crop area on ONE machine using IE 8

We are using Defusion.org.uk's Image Cropper UI. It's working fine on all versions of IE/Firefox/Safari, with ONE exception... one machine that I tried it on tonight shows a white area where the transparent crop area should be displayed. Strangely enough, we've tried this on other machines running the same (most recent) version of IE 8...

where i find free icon,images

Am looking free icons,images, logo , is there any free site like iconfinder.net , Refer few site, Regards Bharanikumar ...

CSS: Skip underline in part of link

Is it possible to have a contiguous link, where the text is normally underlined on mouse hover, but in the middle have a section (eg an image) without this underline? This does not work: <a href="#">one <span style="text-decoration:none;">two</span> <img src="img.png" style="border:0px; text-decoration:none;"> three</a> ...

Firefox: window.open prevents img.src from loading

Hi. I've heard some rumors I can't seem te replicate. And now I'm curious if any of you have experiences with this issue. Our analytics system uses JavaScript to generate an image of 1x1 pixels. This 'image' is registering all of our visitors behaviour. Now consider the following (simplified) JavaScript code: function visitLink (url)...

Drupal: Programmatically saving imagefield images

Hey there! I'm trying to write a sync function that saves some data to nodes, which works fine, until I try to save the thumbnail image associated with the node. I've managed to download the file and put it in my sites/default/files folder, but what's the best way to tell Drupal, "put this file in that CCK imagefield"? EDIT To clarify...

How can I pass a raw System.Drawing.Image to an .ashx?

I am developing an application that stores images as Base64 strings in xml files. I also want to allow the user to crop the image before saving it to the file, preferably all in memory without having to save a temp file, and then delete it afterwards. In order to display the newly uploaded image, I need to create a HTTP handler that I ...

Display WinForm Image in WPF application

I have a dll with quite a bit of System.Drawing.Image resources that I have wrapped into static properties so I can update them dynamically. I would like to use the images through xaml in a WPF application, but the only way I can figure is to do it through the code behind manually. Is there a way to do the winform to wpf image converti...

Draw string in canvas

Hey there! I'm having an hard time finding how to draw/print a String in a canvas, rotated 90º, NOT vertical letters. After some different approaches without success I was trying to follow one that would involve printing the Graphics object to an Image object. As the API is reduced it has been a difficult task. So basically what I'm ask...

BlackBerry - Develope Cropit Like Application

hi i want to develop cropit like application, i just want to know how to increase or decrease the size of the rectangle over the image (multitouch events), which define the image portion to be cropped. Thanks alot ...

Is php capable of doing what I want?

Hey stack overflow, I'm working on a biology web based application and trying to figure out what language to use. The features I need to include are: Image viewing frame - This area will display the current image that the biologists wish to see. The application needs to take in a number of coordinates from a file and draw those point...

WPF - How do I save a PNG without any alpha channel?

I have a BitmapSource. I save it to a png like this: PngBitmapEncoder enc = new PngBitmapEncoder(); enc.Frames.Add(myBitmapSource); enc.Save(fs); How can I save it without any alpha channel? ...

Most efficient way to compare a memorystream to a file C# .NET

I have a MemoryStream containing the bytes of a PNG-encoded image, and want to check if there is an exact duplicate of that image data in a directory on disk. The first obvious step is to only look for files that match the exact length, but after this I'd like to know what's the most efficient way to compare the memory against the files....