tretter / ptp-gadget Goto Github PK
View Code? Open in Web Editor NEWThis project forked from linux-usb-gadgets/ptp-gadget
moved original repository from http://git.denx.de/ptp-gadget.git/
License: GNU General Public License v3.0
This project forked from linux-usb-gadgets/ptp-gadget
moved original repository from http://git.denx.de/ptp-gadget.git/
License: GNU General Public License v3.0
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/).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.