PTP (Picture Transfer Protocol) is a standard protocol for transferring images between digital cameras and computers and for controlling the camera. Developed by the photo industry association PIMA and standardized as ISO 15740, it is used mainly over USB, with a network variant known as PTP/IP. Beyond listing and transferring files, it defines camera control operations such as triggering the shutter, changing settings, and live view, and manufacturers add vendor-specific extensions.
Microsoft extended PTP into MTP (Media Transfer Protocol) for general media files such as music and video. macOS and Windows recognize PTP devices natively, and tools such as gphoto2 communicate with cameras over PTP.