• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

image compare

 
vasanth raman
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need java code for to compare two images are same or not using image properties
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, exactly, do you mean by image properties - width, height and color depth? If so, check out Marco Schmidt's ImageInfo class. If you meant something else, please be more specific.
 
vasanth raman
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks but i am having no of images in one folder i want to compare 1 particular image is contained in that folder or not
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what you have is a file name, and now you want to check whether a file with that name exists in a given directory? The java.io.File class has everything you need for that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic