% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/image.R
\name{getImageInfo}
\alias{getImageInfo}
\title{getImageInfo}
\usage{
getImageInfo(object)
}
\arguments{
\item{object}{an ImageArray object}
}
\value{
a data frame of width and height info
}
\description{
get information of an ImageArray object
}
\examples{
# get image
library(EBImage)
img.file <- system.file("images", "sample.png", package="EBImage")

# create ImageArray
dir.create(td <- tempfile())
output_h5 <- tempfile(fileext = ".h5")
imgarray <- writeImageArray(img.file,
                          output = output_h5,
                          name = "image",
                          verbose = FALSE)
getImageInfo(imgarray)

# create ImageArray
imgarray <- createImageArray(img.file, n.levels = 3)
imgarray_raster <- as.raster(imgarray, max.pixel.size = 300)
getImageInfo(imgarray)

}
