Picture Transfer Protocol

Short description: Protocol to transfer images from digital cameras to computers

Picture Transfer ProtocolStatus| Published

|

Year started| 2000; 26 years ago (2000)
Latest version| ISO 15740:2013
2013; 13 years ago (2013)
Organization| I3A, ISO
Committee| IT10, ISO/TC 42
Authors| Tim Looney and Tim Whitcher (Eastman Kodak Company), Eran Steinberg (Fotonation), and others
Related standards| PIMA 15470
Domain| Digital photography, Network protocols
Abbreviation| PTP
Website| www.iso.org/standard/63602.html

Picture Transfer Protocol (PTP) is a protocol originally developed by the Photographic and Imaging Manufacturers Association (PIMA) (later known as the International Imaging Industry Association) to allow the transfer of images from digital cameras to computers and other peripheral devices without the need for additional device drivers. The protocol was standardized by the ISO in 2005. The current version of the standard is ISO 15740:2013.[1]

It is further standardized for USB by the USB Implementers Forum as the still image capture device class. USB is the default network transport media for PTP devices. USB PTP is a common alternative to the USB mass-storage device class (USB MSC), as a digital camera connection protocol. Some cameras support both modes.

## Contents

* 1 Description
* 2 History
* 3 Storage
* 4 Device control
* 5 Extensions
* 6 Operating system support
* 7 Version 1.11
* 8 Drawbacks
* 9 See also
* 10 References
* 11 External links

## Description

PTP specifies a way of creating, transferring and manipulating objects which are typically photographic images such as a JPEG file. While it is common to think of the objects that PTP handle as files, they are abstract entities identified solely by a 32-bit object ID. These objects can however have parents and siblings so that a file-system–like view of device contents can be created.

## History

Until the standardization of PTP, digital camera vendors used different proprietary protocols for controlling digital cameras and transferring images to computers and other host devices. In an earlier but unrelated project, the term "Picture Transfer Protocol" and the acronym "PTP" were both coined by Steve Mann, summarizing work on the creation of a Linux-friendly way of transferring pictures to and from home-made wearable computers[2] at a time when most cameras required the use of Microsoft Windows or Mac OS device drivers to transfer their pictures to a computer.

PTP was originally standardized as PIMA 15470 in 2000, while it was developed by the IT10 committee. Key contributors to the standard included Tim Looney and Tim Whitcher (Eastman Kodak Company) and Eran Steinberg (Fotonation).[3]

## Storage

PTP does not specify a way for objects to be stored – it is a communication protocol. Nor does it specify a transport layer. However, it is designed to support existing standards, such as Exif, TIFF/EP, DCF, and DPOF, and is commonly implemented over the USB and FireWire transport layers.

Images on digital cameras are generally stored as files on a mass storage device, such as a memory card, which is formatted with a file system, most commonly FAT12, FAT16 or FAT32, which may be laid out as per the Design rule for Camera File system (DCF) specification. But none of these are required as PTP abstracts from the underlying representation.

By contrast, if a camera is mounted via USB MSC, the physical file system and layout are exposed to the user.

## Device control

Many modern digital cameras from Canon and Nikon can be controlled via PTP from a USB host enabled computing device (smartphone, PC or Arduino for example). As is the norm for PTP, the communication takes place over a USB connection. When interacting with the camera in this manner, it is expected that the USB endpoints are in (synchronous) Bulk Transfer Mode, for getting/setting virtually all the camera's features/properties (such as ISO, Aperture, Shutter speed and focus). Events raised by the camera, in response to specific actions performed by the host device, are sent back to the host via the USB asynchronous Interrupt endpoint.

In addition to changing the camera's settings and operating mode, it is possible to receive a through-the-lens view using "Live View". As described above, the storage objects of the camera's memory cards can be manipulated too.

By controlling a camera in this way it is possible to augment its capabilities. For example, if the controlling software was running on a smartphone with GPS functionality, it would be possible to add the GPS coordinates to an image's Exif data, at the time of image capture — even if the camera itself had no GPS functionality.

## Extensions

A number of protocols have been developed that extend PTP. PTP/IP,[4] developed by FotoNation and first implemented in a round of Wi-Fi digital cameras by Nikon, Canon, and Eastman Kodak, allows data transfer over any IP-based network. A vendor extension registry for PTP is maintained by the Society for Imaging Science and Engineering (IS&T).

Media Transfer Protocol (MTP), developed by Microsoft, allows for transfer over wireless or wired networks based in part on FotoNation's PTP/IP, but also allows users to transfer other media aside from pictures, as well as for tagging objects with extended metadata (such as title, artist and similar metadata).

## Operating system support

Microsoft Windows has supported PTP from Windows ME onwards (excluding Windows CE). Microsoft implements PTP on Windows through Windows Image Acquisition.[5][6] A disadvantage of PTP on Windows as compared to USB mass storage is that Windows does not assign drive letters to PTP devices, so image files on them cannot be manipulated by scripts or standard Windows programs, only by Windows Explorer or applications with specially written PTP support. Also, Windows Explorer does not display file modification timestamps (though these are available via the file Properties popup).

PTP on Linux and other free and open-source operating systems is supported by a number of libraries, such as libgphoto and libptp, used by applications such as digiKam and F-Spot. As on Microsoft Windows there is no native support on Linux, but by means of GVfs the devices can easily be mounted and made available to applications that use standard POSIX commands and library functions.

Android supports PTP, so that software programs that support grabbing photos from a digital camera will support grabbing photos from an Android phone when you select the PTP mode.[7] As with MTP, a limitation is that when transferring photos from a computer to the Android device, file timestamps are replaced with the time of the copy. For copies from the Android device to a computer however, the timestamps are preserved.

On macOS, PTP is supported natively through the Image Capture app,[8] which has been available starting with Mac OS X 10.0. On iOS, the first-party Photos app has enabled transfer from PTP devices starting with the release of the iPad Camera Connection Kit in 2010, and APIs giving PTP functionality to 3rd party developers are available starting iOS 17.[9]

## Version 1.11

PTP v1.11 (ISO 15740:2013) is a minor revision to PTP v1.1 (ISO 15740:2008). Both the 2008 and 2013 versions of PTP are fully backward-compatible with PTP v1.0 (ISO 15740:2005), and offer optional performance, compatibility, and feature enhancements including:

* A mechanism for handling streaming content
* A mechanism to support multiple vendor extension sets
* Support for objects larger than the 4GiB size limit set by PTP v1.0, by requiring 64 bits (8 bytes) for object size
* Support for retrieval of ObjectHandles in enumerated chunks. This may reduce long response times for some devices that possess large numbers of objects
* Support for arbitrary resizing prior to image transmission (responder scaling). In PTP v1.0, image sizes might be requested in full-resolution or thumbnail size only
* Support for arrays of datasets. This can be used to reduce the number of required transactions necessary for device characterization from being a function of the number of objects on the device down to one
* A fast file characterization operation that exploits dataset arrays to request, in a single transaction, only the minimum data required to characterize a typical filesystem
* A new standard ObjectFormatCode to support the Digital Negative (DNG) file format

## Drawbacks

* Renaming file objects directly is not possible without copying or rewriting them
* Modification of file contents is not supported (the file needs to be re-transferred completely)
* Some drawbacks are OS-specific — see § Operating system support

## See also

* Design rule for Camera File system
* PictBridge

## References

1. ↑ "ISO 15740:2013" (in en). https://www.iso.org/standard/63602.html.
2. ↑ Steve Mann (1999-02-01). "University of Toronto WearComp Linux Project, part 1 of a 2-part series". Linux Journal (58): 5. http://www.linuxjournal.com/article/3229?page=0,4. Retrieved 2013-12-28.
3. ↑ "PTP Standards" (in en). https://www.imaging.org/IST/ist/standards/PTP_Standards.aspx.
4. ↑ Bigioi, P.; Susanu, G.; Steinberg, E.; Corcoran, P. (2005). "PTP/IP - a new transport specification for wireless photography". IEEE Transactions on Consumer Electronics 51 (1): 240–244. doi:10.1109/TCE.2005.1405726. Bibcode: 2005ITCE...51..240B.
5. ↑ "About Windows Image Acquisition". MSDN. Microsoft. http://msdn2.microsoft.com/en-us/library/ms630343.aspx. Retrieved 2009-01-05.
6. ↑ "Still image connectivity for Windows". Microsoft. December 4, 2001. http://www.microsoft.com/whdc/device/stillimage/stillimg-connect.mspx#EXC. Retrieved 2009-01-05.
7. ↑ "Learn Everything's - USB Connections: MTP, PTP, and USB Mass Storage" (in en-US). https://sites.google.com/site/learneverythings/android/usb-connections-mtp-ptp-and-usb-mass-storage.
8. ↑ "Transfer images in Image Capture on Mac". Apple. https://support.apple.com/guide/image-capture/transfer-images-imgcp1003/mac. Retrieved 2025-06-21.
9. ↑ "AVExternalStorageDevice". Apple. https://developer.apple.com/documentation/avfoundation/avexternalstoragedevice. Retrieved 2025-06-21.

## External links

* Official website
* PTP transport over USB specifications, USB.org.
* Microsoft and FotoNation Team to Support the Media Transfer Protocol For Wireless Digital Still Cameras, Microsoft News Center.
* Free software with PTP support

* v
* t
* e

ISO standards by standard number

List of ISO standards / ISO romanizations / IEC standards

1–9999|

* 1
* 2
* 3
* 4
* 5
* 6
* 7
* 9
* 16
* 17
* 31
* -0
* -1
* -2
* -3
* -4
* -5
* -6
* -7
* -8
* -9
* -10
* -11
* -12
* -13
* 128
* 216
* 217
* 226
* 228
* 233
* 259
* 269
* 302
* 306
* 361
* 428
* 500
* 518
* 519
* 639
* -1
* -2
* -3
* -5
* -6
* 646
* 657
* 668
* 690
* 704
* 732
* 764
* 838
* 843
* 860
* 898
* 965
* 999
* 1000
* 1004
* 1007
* 1073-1
* 1155
* 1413
* 1538
* 1629
* 1745
* 1989
* 2014
* 2015
* 2022
* 2033
* 2047
* 2108
* 2145
* 2146
* 2240
* 2281
* 2533
* 2709
* 2711
* 2720
* 2788
* 2848
* 2852
* 3029
* 3103
* 3166
* -1
* -2
* -3
* 3297
* 3307
* 3601
* 3602
* 3864
* 3901
* 3950
* 3977
* 4031
* 4157
* 4165
* 4217
* 4909
* 5218
* 5426
* 5427
* 5428
* 5725
* 5775
* 5776
* 5800
* 5807
* 5964
* 6166
* 6344
* 6346
* 6385
* 6425
* 6429
* 6438
* 6523
* 6709
* 6943
* 7001
* 7002
* 7010
* 7027
* 7064
* 7098
* 7185
* 7200
* 7498
* -1
* 7637
* 7736
* 7810
* 7811
* 7812
* 7813
* 7816
* 7942
* 8000
* 8093
* 8178
* 8217
* 8373
* 8501-1
* 8571
* 8583
* 8601
* 8613
* 8632
* 8651
* 8652
* 8691
* 8805/8806
* 8807
* 8820-5
* 8859
* -1
* -2
* -3
* -4
* -5
* -6
* -7
* -8
* -8-I
* -9
* -10
* -11
* -12
* -13
* -14
* -15
* -16
* 8879
* 9000/9001
* 9036
* 9075
* 9126
* 9141
* 9227
* 9241
* 9293
* 9314
* 9362
* 9407
* 9506
* 9529
* 9564
* 9592/9593
* 9594
* 9660
* 9797-1
* 9897
* 9899
* 9945
* 9984
* 9985
* 9995

10000–19999|

* 10005
* 10006
* 10007
* 10116
* 10118-3
* 10160
* 10161
* 10165
* 10179
* 10206
* 10218
* 10303
* -11
* -21
* -22
* -28
* -238
* 10383
* 10487
* 10585
* 10589
* 10646
* 10664
* 10746
* 10861
* 10957
* 10962
* 10967
* 11073
* 11170
* 11179
* 11404
* 11544
* 11783
* 11784
* 11785
* 11801
* 11898
* 11940 (-2)
* 11941
* 11941 (TR)
* 11992
* 12006
* 12182
* 12207
* 12234-2
* 13211
* -1
* -2
* 13216
* 13250
* 13399
* 13406-2
* 13450
* 13485
* 13490
* 13567
* 13568
* 13584
* 13616
* 14000
* 14031
* 14224
* 14289
* 14396
* 14443
* 14496
* -2
* -3
* -6
* -10
* -11
* -12
* -14
* -17
* -20
* 14644
* 14649
* 14651
* 14698
* 14750
* 14764
* 14882
* 14971
* 15022
* 15189
* 15288
* 15291
* 15292
* 15398
* 15408
* 15444
* -3
* 15445
* 15438
* 15504
* 15511
* 15686
* 15693
* 15706
* -2
* 15707
* 15897
* 15919
* 15924
* 15926
* 15926 WIP
* 15930
* 16023
* 16262
* 16355-1
* 16612-2
* 16750
* 16949 (TS)
* 17024
* 17025
* 17100
* 17203
* 17369
* 17442
* 17799
* 18000
* 18004
* 18014
* 18245
* 18629
* 18916
* 19005
* 19011
* 19092 (-1
* -2)
* 19114
* 19115
* 19125
* 19136
* 19407
* 19439
* 19500
* 19501
* 19502
* 19503
* 19505
* 19506
* 19507
* 19508
* 19509
* 19510
* 19600
* 19752
* 19757
* 19770
* 19775-1
* 19794-5
* 19831

20000+|

* 20000
* 20022
* 20121
* 20400
* 21000
* 21047
* 21500
* 21827:2002
* 22000
* 23270
* 23271
* 23360
* 24517
* 24613
* 24617
* 24707
* 25178
* 25964
* 26000
* 26262
* 26300
* 26324
* 27000 series
* 27000
* 27001
* 27002
* 27006
* 27729
* 28000
* 29110
* 29148
* 29199-2
* 29500
* 30170
* 31000
* 32000
* 37001
* 38500
* 40500
* 42010
* 45001
* 50001
* 55000
* 80000
* -1
* -2
* -3

* Category

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Picture Transfer Protocol. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Picture_Transfer_Protocol&oldid=3991729"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template