PRO Imageread
fpath='E:\ITT\IDL64\examples\data' ; store the file path
filters = ('*.png,*.jpg,*.tif')
file = DIALOG_PICKFILE(PATH=fpath)
im=READ_IMAGE(file) ; read the image
qs=QUERY_IMAGE(file,imgeInfo) ; getting the image information
sz=size(file,/DIMENSIONS) ; store the soze
print,sz
tv,im,TRUE=1
END
No comments:
Post a Comment