Image Compare

infonoteinfonote Member Posts: 233
Hi,

How can I compare 2 images with the same filename, to see if there have been any changes to the image since the last time it was checked?
Is there a function in NAV which does this?

Thanks in advance
Peter

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    You can create a checksum for each file and compare these. If they are the same, then the files are identical.

    Search the forum or the Internet for terms as MD5, SHA1, CRC.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • aelmichsabaaelmichsaba Member Posts: 7
    i don't think NAV can compare images, because NAV is a business solution software. so why NAV compare images, what is that important? Which conditions required images comparing?
  • vaprogvaprog Member Posts: 1,141
    Probably, a binary compare will suffice to do the job for you. If so just read the two pictures, one byte (CHAR) at a time, and compare. Luc's suggestion might perform better, if you can find and implement a working solution.
Sign In or Register to comment.