SaaS CMS has officially launched! Learn more now.

Class ImageServiceClient

Inheritance
System.Object
ImageServiceClient
Implements
Namespace: EPiServer.ImageLibrary
Assembly: EPiServer.ImageLibrary.dll
Version: 12.0.3
Syntax
public class ImageServiceClient : Object, IImageService

Constructors

ImageServiceClient(ImageServiceOptions)

Declaration
public ImageServiceClient(ImageServiceOptions options)
Parameters
Type Name Description
ImageServiceOptions options

ImageServiceClient(String)

Declaration
public ImageServiceClient(string endpointConfigurationName)
Parameters
Type Name Description
System.String endpointConfigurationName

Methods

RenderImage(Byte[], IEnumerable<ImageOperation>, String, Single, Int32)

Declaration
public byte[] RenderImage(byte[] imageBuffer, IEnumerable<ImageOperation> operations, string mimeType, float zoomFactor, int jpegQuality)
Parameters
Type Name Description
System.Byte[] imageBuffer
System.Collections.Generic.IEnumerable<ImageOperation> operations
System.String mimeType
System.Single zoomFactor
System.Int32 jpegQuality
Returns
Type Description
System.Byte[]

RenderImage(Stream, Stream, RenderRequest)

Declaration
public void RenderImage(Stream input, Stream output, RenderRequest request)
Parameters
Type Name Description
System.IO.Stream input
System.IO.Stream output
RenderRequest request

Implements

Extension Methods