image

getting a good sample of pixels from an image

lets say I have a big image with about 90% greenish pixels, 9% bluish pixels and 1% brownish pixels. I want to get a sample of only 100 pixels from the whole image having around maybe 2000,000 pixels. I don't want the sample to contain pixels relative to their frequency in the original image, rather it should have equal number of greeni...

Grayscaled image

Hello! I have still a problem with saving a gray image with Java. How could I do this? The format is not so important, but there should be no image compression. Does anyone know that? ...

send email with url image

i am including a path to an image like this: $msg.='<img src="http://my.test.ca/images/show.jpg" width="75" height="75" />' in my sendmail function. the path works and the image is in the specified folder. here is what happens to the image src when i get the email: http://my.test.ca/images/sh%20w.jpg it sorts of breaks the image. ...

Display image based on date in PHP

Somewhere on my computer I had a PHP script for displaying an image based on the date, that would allow me to display different images on specific dates, or between selected dates, and display a default date if the current date wasn't one listed with a specific image to display. I recently had a problem with one of my hard drives though...

Jquery Getting a relative path for an image swap (not the rollover image)

I am trying to replace an image when a link in another part of the page is rolled over. I have a hard coded version working, but I would like to get this so that when I upload to a server I do not need to go in and change the path part. $(document).ready(function() { $('.laundryLinks li a').hover(function() { $('.homeLaundryPict').attr...

How to show Image Thumb in Flex DataGrid linked to FileReferenceList

Hello I have a Flex datagrid linked to an array collection that gets filled from a FileReferenceList for uploading images to a server. I want to show a thumbnail of the image in one of the grid columns as a preview. I have seen a lot of examples of doing this with an Item Render but those examples where using images on the server. These...

Help with changing slider colors on an iphone

I need to change slider colors in my iphone app, and I put This: - (UISlider *)ratioSlider { UIImage *stetchLeftTrack = [[UIImage imageNamed:@"grayslide.png"] stretchableImageWithLeftCapWidth:10.0 topCapHeight:0.0]; UIImage *stetchRightTrack = [[UIImage imageNamed:@"grayslide.png"] ...

Duplicate image detection algorithms?

I am thinking about creating a database system for images where they are stored with compact signatures and then matched against a "query image" that could be a resized, cropped, brightened, rotated or a flipped version of the stored one. Note that I am not talking about image similarity algorithms but rather strictly about duplicate det...

Aquaterm: titles and axis labels getting cut off

I'm using aquaterm 1.0.1 through octave and gnuplot - on my mac - to generate printable plots. When aquaterm generates my plots, it has a habit of cutting off or cropping all of the titles and axis labels. Is there another imaging program that works with octave that won't have this problem? Or are there other fixes I haven't thought of?...

UIImageWriteToSavedPhotosAlbum pictures crash my app when I upload to server

The app that I am creating uploads images in four(the fourth is a test function) ways; 1.Directly from UIImagePickerController with UIImagePickerControllerSourceTypeCamera like this: //didFinishPickingImage method if ([picker sourceType] == UIImagePickerControllerSourceTypeCamera) { UIImageWriteToSavedPhotosAlbum(img, nil, nil, nil); }...

Need an image server to query FITS (astronomy) or general image files

I would like a system that is able to query FITS files. If it doesn't work specifically with FITS files that is ok. I can write extra code. Basically FITS files are image files that are used in astronomy. I need to be able to query an existing set of files, as well as index the metadata in the files, search the index of metadata, uploa...

Galleria Javascript Gallery in IE7 & IE8

Hi there I have implemented the Galleria & SmoothDivScroll plug-ins together but in IE7 & IE8 the image gets distorted [ratio is not kept in scaling] slightly when its orientation is portrait (i.e. when the image gets loaded into #main_image, the image container). In Safari and Firefox, everything is fine. Does anyone else encounter th...

how to get image whose path is stored in database in Gridview of asp.net

Hi i have stored the images in mysql using the varchar datatype and i am storing the path of that and i want to retrive that images in the gridview of asp.net ...

Mathematica + GraphPlot + GraphicsGrid with EdgeLabels

I had some very strange problems with GraphicsGrid. The individual PraphPlot:s looks nice and ok, but the code GraphicsGrid[{{GraphPlot[{{a -> b, "ab"}, {a -> c, "7"}}]}, {GraphPlot[{{a -> b, "5"}, {a -> c, "2"}}]}}] just produces 2 big clots of garbage. If I remove the edge labels, everything works as expected. I am using Mathema...

Image handling in Java

Hello! I'm thinking about the best way to do two things in Java: merge two images, the background one in .PNG and the other in .GIF or .PNG (has transparency and is to overlap the first one); convert the merged image to .GIF (with transparency). I don't want to render them, just to handle the images in the java class and write the re...

How can I properly implement JPImagePickerController in my code?

I've had some issues trying to get the JPImagePickerController working in my code. Anyone find any guides on how to do it (I can't find a single one)? Thanks. ...

Loading image data from xml file.

Hi All. I have the following code that loads data from an xml file. I've done this quite a while back but don't have that code anymore, and this isn't working. (I can successfully write image data to file. But loading it and converting to image object isn't working): p.Image = Base64ToImage(controlTag.Attributes("Content").First().Value...

find unused images, css rules, js script blocks

We have a fairly large asp.net website. The images, css and javascripts are property organized in the website project but as we are changing the look and feel of the website, I would like to know if there is a tool/add-in that will help me identify which images are not being used in the website. I would like to find the same thing with ...

Setting Absolute ImageUrl

I have an Image control on my .aspx page and I want to set the ImageUrl to something like this: <asp:Image ID="imgLogo" ImageUrl="C:\ExternalImages\logo.jpg" runat="server" /> But this doesn't work. I read about the ImageUrl property on MSDN and it says that the url could have either be an absolute or relative path. But how can i set ...

How to display the image in a cell?

I am new to iphone development.I want to display image in each cell.I am having only the url of the image in a array.please help me out.Thanks. ...