rharder / imagesnap

Capture Images from the Command Line
https://github.com/rharder/imagesnap
458 stars 50 forks source link

Filename and newline no longer printed after taking snapshot #30

Closed ryandesign closed 3 years ago

ryandesign commented 4 years ago

The readme shows that when taking a snapshot, the filename is printed, presumably followed by a newline:

$ imagesnap
Capturing image from device "iSight"..................snapshot.jpg

With 0.2.6, this no longer happens:

$ imagesnap
Capturing image from device "<AVCaptureDALDevice: 0x7fad05719cc0 [FaceTime HD Camera][0x1420000005ac8600]>"...$

Note even the lack of newline at the end of the line before my command prompt is printed again.

Looks like this regression crept in when the code was restructured as a companion to QTKit being replaced by AVFoundation in #13.

rharder commented 3 years ago

Fixed in upcoming v0.2.10 release