Пример #1
0
            /// <summary>
            ///     Create a picture frame from the given image. Also dispose the tempfile of not otherwise sepcified.
            /// </summary>
            /// <param name="dispose">Whether to dispose the file after creating the picture.</param>
            /// <returns>A newly created picture frame that supports iTunes and other bitchy music players.</returns>
            public IPicture CreatePictureFrame(bool dispose = true)
            {
                var frame = SongInfo.CreatePictureFrame(Path, Type);

                if (dispose)
                {
                    Dispose();
                }

                return(frame);
            }