'For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize PsdFormat
Dim psdFormat As New PsdFormat(Common.MapSourceFilePath(filePath))
' get PSD info
Dim metadata As PsdMetadata = psdFormat.GetPsdInfo()
If metadata IsNot Nothing Then
' get ChannelsCount
Console.WriteLine("Channels Count: {0}", metadata.ChannelsCount)
' get ColorMode
Console.WriteLine("Color Mode: {0}", metadata.ColorMode)
' get CompressionMethod
Console.WriteLine("Compression Method: {0}", metadata.CompressionMethod)
' get Height
Console.WriteLine("Height: {0}", metadata.Height)
' get Width
Console.WriteLine("Width: {0}", metadata.Width)
' get PhotoshopVersion
Console.WriteLine("Photoshop Version: {0}", metadata.PhotoshopVersion)