xwiz / phash Goto Github PK
View Code? Open in Web Editor NEWPerpetual hash implementation in PHP
License: MIT License
Perpetual hash implementation in PHP
License: MIT License
Notice: imagecolorat(): 5,0 is out of bounds in path\pHash.php on line 192
I can see a closed issue on the same topic, the person who opened it said it had something to do with image size, but I don't think that's the case. I've been trying for the best part of an hour different types, sizes and formats and even pixel formats, and I'm getting that error a lot. Is there a way to debug this, or maybe load the image in a different way?
I also noticed in phash.php, line 193 if($width != $scale || $height !== scale)
the second "scale" coming without the dollar sign. Is that supposed to be like that?
Hello, I also have a problem with ImageColorAt, with images in portrait format.
This is an example of an image that makes a lot of errors "ImageColorAt out of bounds": https://imgur.com/a/7RBwF4k
I use the code in wamp (php7.3.12).
Have you found a solution to this problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.