Beispiel #1
0
        private void addFile(Bitmap original, ImageFile imageFile, FsPath target, bool small, bool forceRemoveCorner)
        {
            _log.Debug($"\tCopying {target}");
            var bytes = transform(original, imageFile, small, forceRemoveCorner);

            if (bytes != null)
            {
                target.WriteAllBytes(bytes);
            }
        }