Skip to content

Commit 241f0a0

Browse files
committed
Update webcam node to mention jpeg support
1 parent 8feeb54 commit 241f0a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

node-red-node-ui-webcam/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The node provides UI widget that will display a live image from the web camera
1515
on the device running the dashboard.
1616

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

2020
If a message is passed to the `ui_webcam` node with the `capture` property set,
2121
and if the webcam has been activated on the dashboard, it will capture an image

node-red-node-ui-webcam/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-node-ui-webcam",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "A Node-RED ui node to capture images from a webcam.",
55
"author": "Nick O'Leary",
66
"license": "Apache-2.0",

node-red-node-ui-webcam/ui_webcam.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3>Inputs</h3>
113113
<h3>Outputs</h3>
114114
<dl class="message-properties">
115115
<dt>payload<span class="property-type">Buffer</span></dt>
116-
<dd>The captured image as a png.</dd>
116+
<dd>The captured image as a png or jpeg.</dd>
117117
</dl>
118118
<h3>Details</h3>
119119
<p></p>

0 commit comments

Comments
 (0)