| | |
check for images duplication
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
Huh? Do you want to check to see if someone uploaded the same image twice? You could check the filename and filesize...other than that I'm not sure what you're asking.
That is complicated. I would start by narrowing down the list in your database by file size.... and then looping through the list of files with the same size, and comparing those to what you have. I imagine this process to take a long time, but the next step, would be to read in the first image file, byte by byte (maybe into a byte array, or something), and then compare the respective bytes of the uploaded file, with the bytes in the current file of the same size... if all the bytes are the same, the image is obviously the same.
A possibility to speeding up this process, would be to read a couple of bytes from different locations within the file, and compare those couple of bytes to the corresponding bytes. This isn't easy.... but it can most certainly be done.
A possibility to speeding up this process, would be to read a couple of bytes from different locations within the file, and compare those couple of bytes to the corresponding bytes. This isn't easy.... but it can most certainly be done.
•
•
Join Date: Jan 2006
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Deepa
hello,
while uploading a image i have to check whether the same image already exist.
i have to compare the images irrespective of image name.i have to check whether the image look alike
I am devloping Image Comparison Application in ASP.net which compares images irrespective of it's format,size and gives result in Percentage Format!!
I want to know whether it's possible to comapre 2 images using asp.net irrespective of their format and result should be in percenatge format like 80%-90% like that...
And the criterias for comparison are not "image size,pixel by pixel comparison and height,width". But they are other than this!! Can anyone suggest criterias for such comparison?....
Are you successfull in finding same images irrespective of their format,size in the problem that you have posted?...
Example:
**say there is a yellow rose picture and another with red rose picture
**then similarity is 99%
**irrespective of the height and width of the images
Can anyone please help me in this matter.It would be really appreciated if anyone gives some good links.If you can provide with some sample code it would be really appreciated. It's very much like a research topic.Most of stuff i got was research one & not related to programming pt. of view..
Hoping +ve Reply!!
thanks hrishi
![]() |
Similar Threads
- images loading time changes depending on browser (HTML and CSS)
- Images will not display in dreamweaver (IT Professionals' Lounge)
- Cant find the $items_path = "/var/www/vhosts/cyberpetcity.com/httpdocs/images"; //EDI (PHP)
- 7 Tips to Keep your PC Running At Peak Performance (Windows tips 'n' tweaks)
- Opera web browser question (IT Professionals' Lounge)
Other Threads in the ASP.NET Forum
- Previous Thread: SQL SERVER 2000 Login failure in ASP.NET
- Next Thread: Item icon doesn't show
Views: 4202 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax alltypeofvideos appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class complex control countryselector dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit editing embeddingactivexcontrol feedback fileuploader fill findcontrol flash folder form gridview gudi iis image javascript languages list listbox maps microsoft mobile mouse mssql nameisnotdeclared news novell numerical opera parent problem profile project radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows schoolproject search security select sessionvariables silverlight smoobjects software sql sql-server ssl tracking treeview validatedate validation vb.net videos vista visualstudio vs2008 web webapplications webdevelopment webprogramming wizard xsl






