All visible Images are in ThisApplication.Images collection, the type of image is defined in McImage.Type (McImageType class). Here is a test macro that prints types of all opened images:
Imports MediaCy.IQL.Engine
...
PublicSub ImagesReport()
ThisApplication.Output.Show
Dim n AsInteger=ThisApplication.Images.Count
ThisApplication.Output.PrintMessage("Number of opened images = " & n.ToString)
ForEach im As McImage InThisApplication.Images
Dim s AsString=im.DisplayName
Dim imType As McImageType=im.Type
With imType
s+=", Quick Type = " & im.QuickType.ToString()
s+=", Number of Channels = " & .NumberOfChannels.ToString()
s+=", Bits per channel = " & .BitsPerChannel.ToString()
EndWithThisApplication.Output.PrintMessage(s)
NextEndSub
Answers
Regards,
Yuri