-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I install https://github.com/Alexis2004/php-phash with php binding
my code :
for below image
https://image.ibb.co/gtmSRG/Webp_net_resizeimage1.jpg
output:
MH(in decimal )=
180917223311412125011234361432196217513577441463613115141583975108146182144106547112823510214615427205156761113441461461001831465856228124146219542151311448823524820314814260281472691
On Bitline https://www.blitline.com/v3/home/gist?gist_id=5437247
{
"application_id":"application_id",
"src":"https://image.ibb.co/gOnO0b/Webp_net_resizeimage1.jpg",
"v":"1.21",
"hash":"phash_mh",
"functions":[
{
"name":"no_op",
"save":{
"image_identifier":"MY_CLIENT_ID"
}
}]
}
output is:
mh(hex)=b65b48e97279fa7022248fdb341f87492c9224a32f169d27496c92b6907b078f87c36492ba19cd8dcf268324929264b7923238e46c93db36d783905cebf0cb948e3c1c0e0702065b
mh(converted to decimal)=
176180962748187487069053233865554998958986782986188567451701347195042816527022513711942673513766872718366106639529406189215845584919089521020270465016289185802162412296734299
Q1) why I'm getting wrong mh value when I install https://github.com/Alexis2004/php-phash