SenseNet.ContentRepository.ImageResizer.CreateResizedImageFile C# (CSharp) Method

CreateResizedImageFile() public static method

public static CreateResizedImageFile ( Stream originalStream, double x, double y, double q ) : Stream
originalStream System.IO.Stream
x double
y double
q double
return System.IO.Stream
        public static Stream CreateResizedImageFile(Stream originalStream, double x, double y, double q)
        {
            return CreateResizedImageFile(originalStream, x, y, q, false);
        }
        public static Stream CreateResizedImageFile(Stream originalStream, double x, double y, double q, ImageFormat outputFormat)

Same methods

ImageResizer::CreateResizedImageFile ( Stream originalStream, double x, double y, double q, ImageFormat outputFormat ) : Stream
ImageResizer::CreateResizedImageFile ( Stream originalStream, double x, double y, double q, bool allowStretching ) : Stream
ImageResizer::CreateResizedImageFile ( Stream originalStream, double x, double y, double q, bool allowStretching, ImageFormat outputFormat ) : Stream
ImageResizer::CreateResizedImageFile ( Stream originalStream, double x, double y, double q, bool allowStretching, ImageFormat outputFormat, SmoothingMode smoothingMode, InterpolationMode interpolationMode, PixelOffsetMode pixelOffsetMode ) : Stream

Usage Example

Beispiel #1
0
 public static Stream CreateResizedImageFile(Stream originalStream, string ext, double x, double y, double q, string contentType)
 {
     return(ImageResizer.CreateResizedImageFile(originalStream, x, y, q, getImageFormat(contentType)));
 }
All Usage Examples Of SenseNet.ContentRepository.ImageResizer::CreateResizedImageFile