Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.15 KB

ScaleImageAndCreateAllThumbs.md

File metadata and controls

31 lines (24 loc) · 1.15 KB

UploadStorageExtensions.ScaleImageAndCreateAllThumbs method

namespace: Serenity.Web   assemblySerenity.Net.Services

Depending on the image upload options, scales image, creates default and additional thumbs and saves them to the upload storage files.

public static string ScaleImageAndCreateAllThumbs(object image, IImageProcessor imageProcessor, 
    IUploadImageOptions options, IUploadStorage uploadStorage, string temporaryFile, 
    OverwriteOption overwrite)
parameter description
image Input image
imageProcessor Image processor
options Upload image options
uploadStorage Upload storage
temporaryFile Temporary file
overwrite Overwrite option

Return Value

Temporary file

See Also