In this chapter, we will cover following recipes:
- Determining the type of a file—how to guess the type of a file
- Detecting an image type—inspecting an image to understand what type of image it is
- Detecting an image size—inspecting an image to retrieve its size
- Playing audio/video/images—playing audio, video, or showing images on desktop systems