File: run.py

package info (click to toggle)
openimageio 2.2.10.1%2Bdfsg-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 45,344 kB
  • sloc: cpp: 127,812; python: 3,538; sh: 847; makefile: 383; ansic: 2
file content (22 lines) | stat: -rwxr-xr-x 688 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python

failthresh = 0.008
anymatch = True
imagedir = "src/"
outputs = []
files = [
          "pattern2-8-rgb.psd", "pattern2-16-rgb.psd",
          #"pattern2-32-rgb.psd",
          "pattern2-8-cmyk.psd", "pattern2-16-cmyk.psd",
          "pattern2-8-multichannel.psd", "pattern2-16-multichannel.psd",
          "pattern2-8-grayscale.psd", "pattern2-16-grayscale.psd",
          #"pattern2-32-grayscale.psd",
          "pattern2-8-indexed.psd",
        ]
for f in files:
    outfile = f+".tif"
    command += rw_command (imagedir, f, testwrite=True,
                           printinfo=False, output_filename=outfile)
    outputs += [ outfile ]

outputs += [ "out.txt" ]