Added BytesPerPixel to Viewer