Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4532938
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:05:34+00:00 2026-05-21T14:05:34+00:00

I have a folder with about 2000 images size 37×13, when i add a

  • 0

I have a folder with about 2000 images size 37×13, when i add a new image i want to look for a pixel perfect match before i add it to the folder.

What i need is a match function, returning true of false, so i can react if there’s a match. I imagine it can be done with imagick, but do not have that installed, and would like to be able to do this without installing imagick.

So what i ask is, is there a way to see if an image matches another perfectly with PHP/GD?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T14:05:34+00:00Added an answer on May 21, 2026 at 2:05 pm

    I haven’t tried this myself, but I would assume that using hash_file would work for what you’re trying to do.

    Hash both files using hash_file and compare them. If they match, then the images should be the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm fairly new to Linux (CentOS in this case). I have a folder with
I have a folder with 3000 csv files ranging in size from 1Kb to
I have a folder a with 10,000 php files in. FTP is taking like
I have a folder structure, as shown below: I need to create a bash
I have a folder in my library folder which is named after my website.
Basically I have this application which scans through all mp3's in a folder and
I've got a table Folders with hierarchical information about folders: FolderID FolderName ParentID 1
I have the following htaccess file: RewriteEngine On RewriteRule ^([^/]*)$ /bio.php?bio=$1 [L] I need
HELP! lol i cant figure it out!! aaarrrghhhh heres what i got HTML: <html
I was wondering if anybody had heard of a library, preferably a .NET assembly,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.