public ImageGenerator(int bitsPerChannel, String fileName, Random rng, Evaluator evaluator, boolean strictFrame)
    {
        this.bitsPerChannel = bitsPerChannel;
        this.fileName = fileName;
        this.evaluator = evaluator;
        this.rng = rng;

        int length = 3 * bitsPerChannel;
        int shorter = length / 2;
        int longer = length - shorter;

        int w = (1 << longer);
        int h = (1 << shorter);

        if(strictFrame)
        {
            this.width = w;
            this.height = h;
        }
        else
        {
            this.width = 4*w;
            this.height = 4*w;
        }

        this.strictFrame = strictFrame;
    }