Esempio n. 1
0
        /// <summary>
        /// Creates a new fetch sequence that just needs the source producer.
        /// </summary>
        /// <param name="inputProducer">The source producer.</param>
        /// <returns>The new sequence.</returns>
        private IProducer <CloseableReference <CloseableImage> > NewBitmapCacheGetToLocalTransformSequence(
            IProducer <EncodedImage> inputProducer)
        {
            IThumbnailProducer <EncodedImage>[] defaultThumbnailProducers =
                new IThumbnailProducer <EncodedImage> [1];

            defaultThumbnailProducers[0] = _producerFactory.NewLocalExifThumbnailProducer();
            return(NewBitmapCacheGetToLocalTransformSequence(inputProducer, defaultThumbnailProducers));
        }