PIMA 15740:2000 Approved 2000-07-05 FIRST EDITION
Total Page:16
File Type:pdf, Size:1020Kb
PHOTOGRAPHIC AND IMAGING MANUFACTURERS ASSOCIATION, INC. PIMA 15740:2000 Approved 2000-07-05 FIRST EDITION Photography – Electronic still picture imaging - Picture Transfer Protocol (PTP) for Digital Still Photography Devices Published by: Photographic and Imaging Manufacturers Association, Inc. 550 Mamaroneck Avenue, Suite 307 Harrison, NY 10528-1612 USA Phone: (914) 698-7603 FAX: (914) 698-7609 E-mail: [email protected] (Standards Office) The Association for Manufacturers of Image Technology Products PIMA 15740: 2000 Copyright notice This document is a PIMA Standard and is copyright-protected by the Photographic and Imaging Manufacturers Association, Inc. Except as permitted under the applicable laws of the user’s country, neither this PIMA Standard nor any extract from it may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission being secured. Requests for permission to reproduce should be addressed to PIMA at the address below: Director of Standards PIMA, Inc 550 Mamaroneck Avenue, Suite 550 Harrison, NY 10528-1612 USA Telephone: + 1 914 698-7603 Fax + 1 914 698-7609 E-mail [email protected] Reproduction may be subject to royalty payments or a licensing agreement. Violators may be prosecuted. ii © 2000 PIMA, Inc. – All Rights Reserved PIMA 15740: 2000 Foreword The technical content of this PIMA standard is closely related to ISO 15740, which is currently in the working draft stage while work on multiple transports is being completed. The main difference is that PIMA 15740 includes an informative annex describing a USB implementation of ISO 15740. This information is not included in ISO 15740, which instead references the USB still device class document developed by the Device Working Group of the USB Implementers Forum. The USB annex in PIMA 15740 provides the same technical approach as the USB still device class specification. The reason for developing PIMA 15740 is to immediately provide a complete, fully documented, stable, publicly available specification for USB implementations of the Picture Transfer Protocol defined in ISO 15740. This will enable hardware and software manufacturers to immediately produce product implementations, without waiting for the ISO and USB documents to complete the approval process. This PIMA 15740 standard may be withdrawn once the ISO 15740 and USB still device class documents have been approved and are publicly available. iii © 2000 PIMA, Inc. – All Rights Reserved PIMA 15740: 2000 Introduction For the purposes of this standard, digital still photography devices (DSPDs) are defined as devices with persistent storage that capture a digital two-dimensional image at a discrete point in time. Most DSPDs include interfaces that can be used to connect to a host computer or other imaging devices, such as a printer. A number of new, high speed interface transports have recently been developed, including IrDA, USB, and IEEE1394 (Firewire). This standard is designed to provide requirements for communicating with DSPDs. This includes communications with any type of device, including host computers, direct printers and other DSPDs over a suitable transport. The requirements include standard image referencing behavior, operations, responses, events, device properties, datasets, and data formats to ensure interoperability. This standard also provides optional operations and formats, as well as extension mechanisms. This standard has been designed to appropriately support popular image formats used in digital still cameras, including the EXIF and TIFF/EP formats defined in ISO 12234-1 and ISO 12234- 2, as well as the Design Rule for Camera File System (DCF) and the Digital Print Order Format (DPOF). Purpose Numerous DSPDs have been developed in order to allow direct capture of digital images for both consumer and professional photography applications. Most of these devices can interface to digital computers or other imaging devices, such as printers, using various standardized electrical digital interfaces. However, there is currently no standard operation set to enable data transfer or control of DSPDs over these different interfaces. As a result, proprietary software is typically developed to control image capture devices from specific manufacturers, and different DSPD drivers are needed to support each interface. Standardizing the operations and data requirements for DSPDs will assist transport implementers, platform aggregation of conforming devices across all transports, and device manufacturers by providing a common ground for interface support. It will also assist developers of host software and image receiving devices by ensuring that their products can interface to many different DSPDs from different manufacturers, and assist users by ensuring that the DSPDs they purchase will inter-operate with those of different manufacturers. The primary purpose of this standard is to provide a common protocol for any device, including DSPDs, to exchange images with a DSPD, either by retrieving images from a DSPD or by sending images to or from a DSPD. Secondary purposes include a mechanism for devices to control DSPDs (e.g. a PC can request that a DSPD change its shutter duration setting and capture a new picture) and the ability to transfer auxiliary information such as non-image data files and associated information, such as a digital print order file (DPOF). iv © 2000 PIMA, Inc. – All Rights Reserved PIMA 15740: 2000 Contributors The following experts have contributed to this technical specification: Steinberg, Eran FotoNation, Inc. (Project Leader) Looney, Timothy Eastman Kodak Company (Editor) Whitcher, Timothy Eastman Kodak Company (USB Annex D Editor) Anderson, Blair Ajilon Information Technology Services Armstrong, Frank Eastman Kodak Company Bitz, Mike Apple Computer, Inc. Coppola, Steven Eastman Kodak Company Edwards, Eric Sony Corporation Fontani, Paolo Hewlett Packard Company Foshee, Scott Adobe Systems, Inc. Fujisaki, Hirohisa Eastman Kodak, Japan Hong, Fang Seiko Epson Corporation Hsieh, William Microsoft Corporation Kazunori, Suenaga Seiko Epson Corporation Kuo, David Flashpoint Technology, Inc. Lawrence, David Smart Technology Enablers, Inc. Lyon, Lonne Eastman Kodak Company Melville, John Eastman Kodak Company Myers, Paul Questra Corporation Parsons, Dave Microsoft Corporation Parulski, Ken Eastman Kodak Company Reus, Edward Microsoft Corporation Sadovsky, Vladimir Microsoft Corporation Shidate, Ichiro Nikon Corporation v © 2000 PIMA, Inc. – All Rights Reserved PIMA 15740: 2000 Table of Contents 1 SCOPE ...................................................................................................................................................................1 2 NORMATIVE REFERENCES............................................................................................................................2 3 TERMS & DEFINITIONS...................................................................................................................................3 4 DIGITAL STILL PHOTOGRAPHY DEVICE MODEL..................................................................................7 4.1 OVERVIEW .......................................................................................................................................................7 4.2 BASELINE REQUIREMENTS ...............................................................................................................................8 4.2.1 Implementation of a suitable transport ...................................................................................................8 4.2.2 Thumbnail Support..................................................................................................................................8 4.2.3 Standard Image and Data Reference Behavior.......................................................................................8 4.2.4 Asynchronous Event Support...................................................................................................................8 5 DATA FORMAT SPECIFICATION ..................................................................................................................9 5.1 GENERAL FORMAT...........................................................................................................................................9 5.1.1 Multibyte Data.........................................................................................................................................9 5.1.2 Bit Format ...............................................................................................................................................9 5.1.3 Hexadecimal Notation.............................................................................................................................9 5.2 DATATYPE SUMMARY....................................................................................................................................10 5.2.1 Datacodes..............................................................................................................................................10 5.3 SIMPLE TYPES ................................................................................................................................................12 5.3.1 Integers..................................................................................................................................................12 5.3.2