Skip to content

Commit

Permalink
Update webcam node to mention jpeg support
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Oct 16, 2020
1 parent 8feeb54 commit 241f0a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node-red-node-ui-webcam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The node provides UI widget that will display a live image from the web camera
on the device running the dashboard.

The user can click a button to capture an image which is then sent by the node
as a Buffer object contain the image in png format.
as a Buffer object contain the image in png or jpeg format.

If a message is passed to the `ui_webcam` node with the `capture` property set,
and if the webcam has been activated on the dashboard, it will capture an image
Expand Down
2 changes: 1 addition & 1 deletion node-red-node-ui-webcam/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-node-ui-webcam",
"version": "0.1.0",
"version": "0.1.1",
"description": "A Node-RED ui node to capture images from a webcam.",
"author": "Nick O'Leary",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion node-red-node-ui-webcam/ui_webcam.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h3>Inputs</h3>
<h3>Outputs</h3>
<dl class="message-properties">
<dt>payload<span class="property-type">Buffer</span></dt>
<dd>The captured image as a png.</dd>
<dd>The captured image as a png or jpeg.</dd>
</dl>
<h3>Details</h3>
<p></p>
Expand Down

0 comments on commit 241f0a0

Please sign in to comment.