Code Monkey home page Code Monkey logo

ptp-gadget's Introduction

				ptp-gadget

This is a device-side implementation of the PTP (Picture Transfer Protocol) /
PIMA-15740 standard for Linux. It allows a Linux system with a USB device
hardware to present itself to a USB host as a still camera with PTP support.
This is an open-source project, licensed under GPL v3, hence the author is
hoping, that it will be useful to others, and that others will contribute to it,
eventually making it a complete implementation of the standard.

The driver works completely in user-space and uses functionfs to communicate with
USB gadget hardware.

As of v0.2 only the minimal compulsory set of PTP requests, as specified in the
standard, is supported. Supported are downloading of images and generation of
thumbnails, using the "convert" utility from the ImageMagick package. Several
popular image formats are supported, but currently only TIFF and JPEG images are
processed. Thumbnails are created as compressed 160x120 pixel JFIF images and
are stored under /var/cache/ptp/thumb/, so this directory must exist and be
writable by the ptp-gadget user.

The program takes one compulsory parameter - the path to the directory, in which
images are stored. Optionally, "-v" switches can be used to increment verbosity
level of the program.

Known problems: not yet working with MS Windows Vista.

To contact developers of this software please write to the Linux USB mailing
list at <[email protected]> and (optionally) CC the original author as
specified in the ptp.c file.

See file COPYING for a copy of the GPL v3 license.

The initial development has been financed by TQS (http://www.tqs.de/) and
accomplished by DENX (http://www.denx.de/).

ptp-gadget's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.