#!/bin/bash -eu # Copyright 2021 The Wuffs Authors. # # Licensed under the Apache License, Version 2.0 or the MIT license # , at your # option. This file may not be copied, modified, or distributed # except according to those terms. # # SPDX-License-Identifier: Apache-2.0 OR MIT # ---------------- # This script fetches the PngSuite collection of PNG images. if [ ! -e ../../wuffs-root-directory.txt ]; then echo "$0 should be run from the Wuffs test/3pdata directory." exit 1 fi mkdir -p pngsuite curl --silent http://www.schaik.com/pngsuite/PngSuite-2017jul19.tgz | tar -xzf /dev/stdin -C pngsuite