dmtrKovalenko / odiff

The fastest pixel-by-pixel image visual difference tool in the world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hang on when run macbook mini

wanghaisheng opened this issue · comments

(base) wenke@wenkedeMac-mini odiff-e7f41c97 % odiff 20201123/N_0_2006255981_B.bmp 20201123/N_0_2006255981_T.bmp 1.png

hang on there with no result at all , two image are all 300kb
download source code and run npm install ,rename bin/ODiffBin to odiff ,add this bin path to zsh

Not sure what the problem do you have. Can you please be more descriptive? Thanks.

i. got no result. when run above command .all input image are not huge size, my computer is fine.

You need 3rd required parameter it's 1st. But it will throw an error if only 2 provided.

How did you installed?

this is 3 para

 20201123/N_0_2006255981_B.bmp 20201123/N_0_2006255981_T.bmp  1.png

if you mean how did i install odiff

 download source code and run npm install ,rename bin/ODiffBin to odiff ,add this bin path to zsh

@wanghaisheng if you are running the binaries directly – npm install is not needed. If you want to use npm you can do the following:

npm install -g odiff-bin
odiff --help # runs and shows help

@dmtrKovalenko no luck at all

(base) wenke@wenkedeMac-mini ~ % odiff --help # runs and shows help
odiff: option `--help': invalid value `#', expected one of `auto', `pager',
       `groff' or `plain'
Usage: odiff [OPTION]... [BASE] [COMPARING] [DIFF]
Try `odiff --help' for more information.
(base) wenke@wenkedeMac-mini ~ % cd ~/Downloads/odiff-e7f41c97 
(base) wenke@wenkedeMac-mini odiff-e7f41c97 % ls
20201123		lcs-image-diff-test.js	package.json
_esy			lib			pixelmatch-test.js
bin			man			sbin
doc			node_modules		share
etc			package-lock.json	toplevel
(base) wenke@wenkedeMac-mini odiff-e7f41c97 %  odiff 20201123/N_0_2006255981_B.bmp 20201123/N_0_2006255981_T.bmp 1.png

As far I see it works for you.
In order to run the binary directly:

  1. Download the appropriate tgz from releases
  2. Open bin folder
  3. Run the odiff binary (only works via sudo for the 1st run)