Skip to content

Commit bf2e98a

Browse files
authored
1.1.4 Release
1 parent d672018 commit bf2e98a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "imsc",
33
"description": "Renders IMSC documents to HTML5 fragments",
4-
"version": "1.1.3",
4+
"version": "1.1.4",
55
"license": "BSD-2-Clause",
66
"homepage": "https://github.com/sandflow/imscJS",
77
"bugs": "https://github.com/sandflow/imscJS/issues",

script/refpngcompare.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
if fnmatch.fnmatch(file, '*.png'):
3131
try:
32-
subprocess.check_output(["compare", '-metric', 'mse', reffile, genfile, 'null:'], stderr=subprocess.STDOUT, universal_newlines=True)
32+
subprocess.check_output(["magick", "compare", '-metric', 'mse', reffile, genfile, 'null:'], stderr=subprocess.STDOUT, universal_newlines=True)
3333
except subprocess.CalledProcessError as err:
3434
m = re.search('([^\(]+)\(([^\)]+)', err.output)
3535
r = float(m.group(2))
@@ -41,8 +41,8 @@
4141
if not os.path.exists(diffdir):
4242
os.makedirs(diffdir)
4343
difffile = os.path.join(args.d, os.path.relpath(dir, args.ref_dir) + "-" + file)
44-
p1 = subprocess.Popen(["compare", reffile, genfile, "png:-"], stdout=subprocess.PIPE)
45-
p2 = subprocess.Popen(["montage", "-mode", "concatenate", reffile, "-", genfile, difffile], stdin=p1.stdout)
44+
p1 = subprocess.Popen(["magick", "compare", reffile, genfile, "png:-"], stdout=subprocess.PIPE)
45+
p2 = subprocess.Popen(["magick", "montage", "-mode", "concatenate", reffile, "-", genfile, difffile], stdin=p1.stdout)
4646
p1.stdout.close()
4747
p2.communicate()
4848

0 commit comments

Comments
 (0)