Skip to content

Commit

Permalink
1.1.4 Release
Browse files Browse the repository at this point in the history
palemieux authored Dec 7, 2023

Verified

This commit was signed with the committer’s verified signature.
al8n Al Liu
1 parent d672018 commit bf2e98a
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "imsc",
"description": "Renders IMSC documents to HTML5 fragments",
"version": "1.1.3",
"version": "1.1.4",
"license": "BSD-2-Clause",
"homepage": "https://github.com/sandflow/imscJS",
"bugs": "https://github.com/sandflow/imscJS/issues",
6 changes: 3 additions & 3 deletions script/refpngcompare.py
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@

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

0 comments on commit bf2e98a

Please sign in to comment.