Picture

Overview

Picture is a class in Aspose.Cells FOSS for Php.

Picture.ImageTypeFromExtension(extension) returns the internal image type enum for a given file extension, enabling correct handling of picture data.

This class declares 7 methods for Picture objects in Php programs. Available methods include: ContentTypeFromExtension, DetectExtension, ExtensionFromImageType, ImageTypeFromExtension, __construct, __get, __set. Public members are accessible to any Php application after installing the Aspose.Cells FOSS for Php package.

Methods

SignatureDescription
__construct(model: PictureModel)Calls __construct(model) on this Picture instance.
__get(propertyName)Calls __get(propertyName) on this Picture instance.
__set(propertyName, value)Calls __set(propertyName, value) on this Picture instance.
ImageTypeFromExtension(extension)Returns the internal image type enum for a given file extension, enabling correct handling of picture data
ExtensionFromImageType(type)Calls ExtensionFromImageType(type) on this Picture instance.
DetectExtension(data)Calls DetectExtension(data) on this Picture instance.
ContentTypeFromExtension(extension)Calls ContentTypeFromExtension(extension) on this Picture instance.

See Also