import subprocess


def pngcheck(fname):
    args = ['pngcheck', '-7', fname]
    proc = subprocess.Popen(args, stdout=subprocess.PIPE, shell=False)
    out, err = proc.communicate()
    if out:
        return out.decode('utf-8').split('\n')
    return err.decode('utf-8').split('\n')


def zsteg(fname):
    args = ['zsteg', fname]
    proc = subprocess.Popen(args, stdout=subprocess.PIPE, shell=False)
    out, err = proc.communicate()
    if out:
        return out.decode('utf-8').split('\n')
    return err.decode('utf-8').split('\n')

9ab019841b8daa7449871e02db83cf45d9c5e47d
<mask token>

<mask token>


def zsteg(fname):
    args = ['zsteg', fname]
    proc = subprocess.Popen(args, stdout=subprocess.PIPE, shell=False)
    out, err = proc.communicate()
    if out:
        return out.decode('utf-8').split('\n')
    return err.decode('utf-8').split('\n')

<mask token>


def pngcheck(fname):
    args = ['pngcheck', '-7', fname]
    proc = subprocess.Popen(args, stdout=subprocess.PIPE, shell=False)
    out, err = proc.communicate()
    if out:
        return out.decode('utf-8').split('\n')
    return err.decode('utf-8').split('\n')


def zsteg(fname):
    args = ['zsteg', fname]
    proc = subprocess.Popen(args, stdout=subprocess.PIPE, shell=False)
    out, err = proc.communicate()
    if out:
        return out.decode('utf-8').split('\n')
    return err.decode('utf-8').split('\n')

import subprocess


def pngcheck(fname):
    args = ['pngcheck', '-7', fname]
    proc = subprocess.Popen(args, stdout=subprocess.PIPE, shell=False)
    out, err = proc.communicate()
    if out:
        return out.decode('utf-8').split('\n')
    return err.decode('utf-8').split('\n')


def zsteg(fname):
    args = ['zsteg', fname]
    proc = subprocess.Popen(args, stdout=subprocess.PIPE, shell=False)
    out, err = proc.communicate()
    if out:
        return out.decode('utf-8').split('\n')
    return err.decode('utf-8').split('\n')
