undefined check on pixel data when viewing meta data