ImageHelper GetResizedImageData Method (HttpPostedFile, Int32, Int32, Int32)Kentico 8.1 API Reference
If posted file is image, resizes it to the required dimensions if possible and returns resized data. If it is not image, original data are returned.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Return Value

Type:  OnlineByte 
See Also