navjagpal / jsptp

Implementation of the Picture-Transfer-Protocol (PTP) in JavaScript. The underlying implementation currently requires the chrome.USB API, but it could be extended to support other implementations in the future.
4 stars 0 forks source link

Not really an issue #1

Open ecalogero opened 4 years ago

ecalogero commented 4 years ago

Hi there,

I found this repo when searching how to find images on my iPhone programtically using Node.js. I'm trying to automate a workflow and need to find a way to read an iPhone or Android phone and select all the .jpg files in the relevant folder and appy some image manipulation to them using Jimp. However, I don't understand your code, where is the starting point? what function do I have to call to select all the .jpg's on my device (connected via USB to my Windows 10 PC). Is this the right repo for me?

Thank youo for considering helping me out with this, it's not really an issue, but more of a plea to make this code easier to use with an npm package and a function call or something.

Thanks, Erica.

ecalogero commented 4 years ago

p.s. i found this repo here: https://stackoverflow.com/questions/46504634/with-javascript-how-to-open-an-image-from-usb-mobile