1c26c42f71
Add GraphicMagick compatibility
...
GraphicMagick branched off ImageMagick's version 5.5.2 in 2002 after
irreconcilable differences emerged in the developers' group.[1]
Some systems might have GraphicMagick and diff-image works just fine with
it, so add a few lines to automatically support it as well, but expect
users to install the compatibility package that adds the symlinks for
commands 'compare' and 'montage'.
[1] https://en.wikipedia.org/wiki/GraphicsMagick
Closes : #37
2023-09-04 16:25:07 -07:00
ce4cf2ed12
Merge pull request #35 from JochenDiekenbrock/JochenDiekenbrock-patch-1
...
add openSUSE Tumbleweed installation
2023-08-30 02:00:05 -07:00
6021596caa
add openSUSE Tumbleweed installation
2023-08-30 10:01:43 +02:00
e4932df4e4
Merge pull request #30 from hannesa2/IgnoreIdea
...
Ignore Intellij work directory
2023-01-01 12:08:28 -08:00
0d5a463329
Make the -n test conditional.
...
If TERM is entirely undefined then we don't want to bail (the script is
using set -u).
2023-01-01 12:06:41 -08:00
b67e7087a4
Keep the -n check for TERM too.
2023-01-01 12:05:17 -08:00
8b77664775
Merge pull request #31 from hannesa2/work-on-CI
...
It works for me on CI
2023-01-01 12:04:04 -08:00
53fda98d1d
Work on CI
2022-12-26 14:15:43 +01:00
cfdbc7a45b
Fix install.sh to run when there is no terminal (e.g. on CI).
2022-12-25 13:48:55 -08:00
513823b4dd
Ignore Intellij work directory
2022-12-23 07:32:04 +01:00
20d256910b
Merge pull request #28 from hannesa2/NumericalComapreFix
...
Fix Numerical -ne does not dereference in ...
2022-12-22 15:53:55 -08:00
b1f40bb31f
Fix Numerical -ne does not dereference in ...
2022-12-22 06:41:23 +01:00
bf901c7ecb
Added note about Git LFS to the documentation.
...
Thanks to Amadeu Cavalcante Filho for the tip.
2022-12-21 12:13:48 -08:00
0de38647f1
Hook up the -o flag from Hannes Achleitner (changeset 25364cc).
...
This adds handling for GIT_DIFF_IMAGE_OUTPUT_DIR as an environment variable,
and creates a filename for each comparison to pass through the -o flag.
2022-12-21 12:00:53 -08:00
281ea97e2c
Merge pull request #27 from hannesa2/OnlyDiffFileOutputOption
...
Option to only copy diff image without showing WIP
2022-12-21 11:57:17 -08:00
25364cccc7
Option to only copy diff image without showing
2022-12-20 12:53:04 +01:00
8996893322
Fix -N option.
2022-12-20 02:42:37 -08:00
f2663bc349
Merge pull request #23 from icecoffin/add-heic-support
2022-11-17 14:19:34 -08:00
5f6deb3930
Add support for HEIC images
2022-11-17 12:53:10 +01:00
56268d4d47
Merge pull request #21 from pkess/add_bmp_support
...
Add bmp as filetype
2022-01-12 12:44:10 -08:00
7cc2a67b38
Add bmp as filetype
2022-01-12 19:31:19 +01:00
8e66316d00
Merge pull request #17 from franciscod/master
...
quote paths on exiftool calls
2020-12-15 16:51:48 -08:00
4ac1148428
quote paths on exiftool calls
2020-12-15 14:03:48 -03:00
12e717f5e9
Merge pull request #16 from lbischof/patch-1
...
Ensure cleaner diffs by sorting the metadata
2020-10-10 22:46:17 -07:00
712d362027
Ensure cleaner diffs by sorting the metadata
2020-10-10 20:42:28 +02:00
709e75ea79
Merge pull request #15 from ewanmellor/fix-11
...
Mention that newer Debian / Ubuntu use xdg-utils rather than xdg-open.
2020-07-21 16:07:25 -07:00
4b244470ad
Mention that newer Debian / Ubuntu use xdg-utils rather than xdg-open.
...
Closes #11 .
2020-07-21 16:05:51 -07:00
dee6a1def1
Merge pull request #14 from neojski/patch-1
...
Update README.md
2020-07-08 15:01:03 -07:00
9fb4833dbb
Update README.md
2020-07-08 22:59:04 +01:00
9a548289a2
Merge pull request #13 from eyal0/density
...
Add density flag
2020-06-22 20:38:57 -07:00
11f05ebf52
Merge pull request #12 from eyal0/add_svg
...
Add support for svg images
2020-06-22 20:37:13 -07:00
67a9dd23bd
Add density flag
...
This makes small images when the image size is too large for the screen.
It also runs much faster when images are large.
2020-06-22 17:08:43 -06:00
91cb4ca4e0
Add support for svg images
2020-06-22 17:03:21 -06:00
460c46bc96
Merge pull request #10 from gogoprog/patch-1
...
Update README.md for Arch Linux
2020-01-17 11:49:06 -08:00
da67a334f2
Update README.md
...
Arch linux installation
2020-01-17 11:30:38 +01:00
a2cc75bb1c
Fix the git diff-image command when run from a subdirectory of the git root.
2019-04-29 13:17:30 -07:00
909290e813
Work around Preview's failure to show large images (> 10000 wide in my
...
experience) by simply showing the two images instead of the diff.
2019-04-10 18:22:50 -07:00
b7cce75c3f
Don't perform the first call to compare if we've seen a difference
...
in the EXIF info.
This means that we won't run the (potentially expensive) first compare if we
have seen a metadata change, in particular a file size change. We already
know that there's a difference.
2019-04-10 18:21:00 -07:00
fbd9755105
Fix the situation where git does not give us filenames.
2019-04-10 18:05:29 -07:00
ec81932335
If the second argument is a directory, append the filename from the
...
first argument.
This matches the behavior of diff.
2019-03-07 15:04:26 -08:00
421668e490
Merge pull request #7 from sm11963/master
...
Add background color flag to diff-image
2019-02-20 23:18:18 -08:00
a01cbe6b9f
Add background color flag to diff-image
2019-01-29 11:42:02 -08:00
b537ff981b
Merge pull request #5 from glebm/linux-patches
...
Add Linux support
2018-10-21 15:45:33 -07:00
670ec172d6
Add Linux support
2018-10-21 15:02:14 +01:00
c72412a5fc
Merge branch 'master' of https://github.com/ewanmellor/git-diff-image
2018-04-20 10:25:15 -07:00
92caf772dc
Break the script into two, so that we can use it as a normal CLI command,
...
as well as the existing "git diff" functionality.
2018-04-20 10:24:07 -07:00
31895ca6ed
Merge pull request #3 from asfaltboy/patch-1
...
Docs: correct code formatting in README.md
2018-02-20 09:41:07 -08:00
75651b8e95
Docs: correct code formatting in README.md
2018-02-20 11:11:43 +01:00
589ede494a
Handle images being added or removed (diffed against /dev/null).
2018-01-27 15:57:05 -08:00
f614564d93
Tidy.
2018-01-27 15:52:33 -08:00