File: test1

package info (click to toggle)
xbrzscale 1.8-2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 296 kB
  • sloc: cpp: 1,386; xml: 34; makefile: 18; sh: 8
file content (21 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# Upscale an image with xbrzscale
# Check output is a valid png file
# Check output file has been upscaled
# Downscale the output, and check against original image
#
#
# Show commands and exit on error
set -e
set -x
#
# Video output not used
export SDL_VIDEODRIVER=dummy
#
#
xbrzscale 6 debian/AE.png AE6.png
pngcheck AE6.png
pngcheck AE6.png | grep 384x288
convert -sample '64x48!'  AE6.png AE1.png
compare -metric AE debian/AE.png AE1.png dif.png