ImageStat (gb.image)
This class allows to return information about a specific image.
Questa classe non è creabile.
Questa classe può essere usata come un
funzione statica.
Proprietà
Depth
|
Returns the color depth of the image in bits.
|
Height
|
Returns the image height in pixels.
|
Path
|
Returns the path of the image.
|
Type
|
Returns the image mimetype as a string.
|
Width
|
Returns the image width in pixels.
|
Example
Public Sub Form_Open()
Dim isImage As ImageStat
isImage = ImageStat(User.Home &/ "Pictures/image1.jpg")
Print "Image Depth = " & isImage.Depth
Print "Image Height = " & isImage.Height
Print "Image Width = " & isImage.Width
Print "Image Path = " & isImage.Path
Print "Image Type = " & isImage.Type
End