def choose_height(new_width, width, height):
    proportion = float(height) / float(width)
    return int(new_width * proportion)
If a source file contains bytes which cannot be decoded, this is
dataset/ETHPy150Open mikeorr/WebHelpers2/unfinished/multimedia.py/choose_height--crossover with--dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_api.py/CheckTests.test_misencodedFileUTF8