Image

Search
Feedback

Image is the base type for all types that need image handling functionality.

Image extends File and provides the following additional properties.

Name Type Description
width Integer The width of this image in pixels
height Integer The height of this image in pixels
tnSmall Image The small thumbnail of this image, not larger than 100x100
tnMid Image The medium thumbnail of this image, not larger than 300x300
imageData String, input only A special property that can be used to Create an Image from a Base64 string
isThumbnail Boolean A read-only value that indicates whether this Image is a thumbnail image
isImage Boolean A read-only value that will always be true for all Image types and their subtypes

Graph-Browser

About this article
Last change 2016-03-04
Topics Structr 2.0