image

How to hash only image data in a jpg file with dotnet?

I have a ~20000 jpg images, some of which are duplicates. Unfortunately, some files have been been tagged with EXIF metadata, so a simple file hash cannot identify the duplicated one. I am attempting to create a Powershell script to process these, but can find no way to extract only the bitmap data. The system.drawing.bitmap can only r...

How to get the EXIF or meta-data from images?

I need a really good library or a command-line software that can be used to extract Exif data from images. No specific programming language, except the library or the software has to work really well. I found various libraries for PHP and Python, but most of it hasn't been updated or being maintained and don't work for various manufact...

unable to delete image after opening it in vb.net app

I have this code: Dim xx as image xx = image.fromfile(Fileloc) picturebox.image = xx And i can't delete the file even though I've loaded it into a picture box. If I add this line: xx.dispose the picture box becomes a big red X. I only want to delete the images when my application is closing (they are temp files). So shall I just...

smart resizing of image preview sizes?

im using a image preview that allows me to add css styles to the previews that pops up. now, some images are larger than the screen so you will just see a portion of them, while other images are very small so you don't have to resize them. is there a way to only resize the larger images and not touching the smaller ones, eg. only resiz...

Strange bug while combining images in Python

I have a hundred 10x10 px images, and I want to combine them into a big 100x100 image. I'm using the Image library to first create a blank image and then paste in the smaller images: blank = Image.new('P',(100,100)) blank.paste(im,box) The smaller images are in color, but the resulting image turns out in all grayscale. Is there a fix ...

Harris corner detecion problem

Hi, I have problem with Harris corner detection algorithm in ImageJ. Some info about it: http://www.cim.mcgill.ca/~dparks/CornerDetector/harris.htm I use Sobel filter for each block 3x3 to get differentials. I get only negative R[][] (C(x,y) from the link) factors. I can't find mistake, plz help. Part of the code: int w = ip.getW...

Should I use a sprite-like technique for thumbnails on my website?

On a website I'm creating, I have about 100 various thumbnails (64x64) that get displayed at different times. On some pages, only 5-15 thumbnails may be displayed. On others, all 100 are loaded. I'm considering using a technique like CSS sprites to display the images. That is, rather than have image tags for each thumb, do something lik...

jQuery.Cycle showing small images at first load

Hello, I've got problem with jQuery.cycle plugin. At first load of page (when imgs arent cached) its showing small imgs, like thumbnails. You can see it at http://onlinevideo.sk/ - just wait when the second img shows - it's small. Reload/refresh solves it, but it's not real solution, you know. Does anybody knows what's the solution of ...

Batch Files: Processing files in alphbetical (Numerical maybe>) Order

Hey S.O Guys I am currently trying to process a bunch of files with imagemagick using a batch file in windows, they are all numbered numerically as follows: image00 image01, image02, ..., image010, image011, ..., image0100, image0101 and so on, but when i try to process the file it wants to run though image00, image01, image010, image0...

UIImagePickerController in Landscape

Hi Everyone: I have been searching for an answer to this, but cannot come up with anything. Apparently, iPhone SDK 3.0 made it possible that UIImagePickerController can be displayed in landscape mode - but I am not finding any method that will allow this. I would think that if the application is in landscape by default it would automa...

Is there any Algorithm for converting Image of sound to sound?

So I have an image like this Is there any algorithm to extract (get as PCM) sound from which was created that image? ...

How to encode image data within an HTML file?

I'd like to be able to output an HTML file which includes an image (within the file itself). By Googling, I've come across a couple of ways to do this: javascript:imageData a data URI such as <IMG SRC="data:image/gif;base64,[...]"> <object ... > tag (although this uses a data URI, so may inherit the same limitations) But I don't know...

How to select and crop an image in android?

Hey, I am currently working on a live wallpaper and I allow the user to select an image which will go behind my effects. Currently I have: Intent i = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); i.putExtra("crop", "true"); startActivityForResult(i, 1); And sli...

PHP image crop error

Hello again! I have a small custom drupal module which crops user profile images: $folder = 'sites/default/files/profile_pictures/'.$uid.'/'; $filename = $_POST['filename']; $orig_w = 480; $orig_h = $_POST['height']; $targ_w = 150; $targ_h = 92; $ratio = $targ_w / $targ_h; if(isset($_POST['form_sent'])) { $src = imagecreat...

Is there any Algorithm for converting Image histograms into original image?

So we have Histograms... Is there any algorithm to generate original image from them? ...

iPhone dev question help forming array

Hi guys I've spent this morning searching google for this, but I just can't get what I want how i want it. I am creating a custom table view cell, with different icons down the side, in a sectioned table view. My problem is that I am having trouble reading these images from an array. I can do it like below, but can someone please help m...

HTML: Is it valid to set img src="about:blank"?

Background: I need to have an inline element to which I can apply width and height via CSS. AFAIK, img is the only way to have this behavior, currently. I would rather not have the image point to a transarent pixel GIF on the server. It may be cached, but browsers queue it nevertheless, slowing down overall page speed. Other clients mig...

Image from dataset in ASP gridview

I receive a certain image name in a boundfield (i have two images in the same folder) and it comes from testing in the codebehind and binding a datatable into this gridview. example: it comes as "image1.jpg" or "image2.jpg" I'd like this text not to be displayed, instead, i want these images that are in /folder1/folder2 of my solutio...

Javascript Check Image Source Loaded

Hey Guys, I've been trying to get this working, and not having 100% success, basically trying to load an image, if the source doesn't exist try a second image until it reaches a default one. I have been trying the solution based on this question, however I am not using jQuery, so the accepted solution is no use to me, so trying the 2nd...

Fancybox not showing streamed image correctly

I've got an aspx page that streams jpeg's. It sets the content type and then writes to the response stream. If I view the images directly they work a treat, but if I use fancybox 1.2.6 I get the following. Using fancybox 1.2.1 the images do show. Here is the code that is pushing out the image. using (HttpWebResponse response = (HttpW...