private void CompressTestLocal(bool lossless)
        {
            var file        = GetTempFileName();
            var oldFileSize = new FileInfo(file).Length;
            var result      = _imageService.CompressImage(file, lossless);

            Assert.AreEqual(true, result);
            var newFileSize = new FileInfo(file).Length;

            Assert.IsTrue(newFileSize < oldFileSize);
            File.Delete(file);
        }