usb.jphoto
Class JPhoto

java.lang.Object
  |
  +--usb.jphoto.JPhoto

public class JPhoto
extends java.lang.Object

This is a command line tool, which currently supports access only to PTP cameras.


Method Summary
static void main(java.lang.String[] argv)
          Parameters are a command and any option parameters such as --camera port-id specifying the the port id for a camera.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] argv)
Parameters are a command and any option parameters such as --camera port-id specifying the the port id for a camera. (See usb.core.PortIdentifier for information about those identifiers.) Such port ids may be omitted when there is only one camera currently connected; list them using the cameras commands. PTP devices may support only some of these commands.
Command and Arguments Description Options
cameras (same as "devices") none
capture starts capturing images or other objects, according to the current device properties. --port-id id
--storage id
devices Lists PTP devices with their port identifiers none
devinfo Displays the DeviceInfo for a camera, including all the operations, events, device properties, and object formats supported. --port-id id
devprops shows all device properties, with types and values. --port-id id
format Reformats the specified storage unit (zero based). --port-id id
--storage number
getprop propname shows named device property, with type and value. --port-id id
help shows command summary none
images Downloads image files to directory --port-id id
--overwrite
--directory directory (default "images")
powerdown Causes the device to power down. --port-id id
put file-or-URL [...] Copies images or other objects to device. --port-id id
--storage id
reset Issues a PTP level reset. --port-id id
selftest Runs a basic device self test. --port-id id
status Shows status summary for the device --port-id id
storage Displays the StorageInfo for the device's storage units, all or just the specified (zero base) store --port-id id
--storage number
thumbs Downloads image thumbnails to directory --port-id id
--overwrite
--directory directory (default "thumbs")
tree Lists contents of camera storage. --port-id id


Associated source code is licenced under the GPL.
See http://jphoto.sourceforge.net
This documentation was derived from that source code on 2001-04-12.