change getPixelType to getFormat to match the audio methods