cameraclick

    1.1.3 • Public • Published

    ��#� �c�a�m�e�r�a�c�l�i�c�k� � � � �C�a�p�t�u�r�e� �p�h�o�t�o�s� �f�r�o�m� �y�o�u�r� �w�e�b�c�a�m� �e�a�s�i�l�y� � � � �#�#� �U�s�a�g�e� � � � �C�r�e�a�t�e� �a� �n�e�w� �i�n�s�t�a�n�c�e�:� � �� � � � �i�m�p�o�r�t� �{� �C�a�m�e�r�a�C�l�i�c�k�,� �c�r�e�a�t�e�C�a�n�v�a�s� �}� �f�r�o�m� �'�c�a�m�e�r�a�c�l�i�c�k�'� � � � �l�e�t� �c�a�m�e�r�a�;� � � � �c�o�n�s�t� �e�l�e�m�e�n�t� �=� �d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�'�#�c�a�m�e�r�a�'�)� � � � � � �c�a�m�e�r�a� �=� �n�e�w� �C�a�m�e�r�a�C�l�i�c�k�(�e�l�e�m�e�n�t�,� �{� � � � � � �o�n�C�a�p�t�u�r�e�:� �a�s�y�n�c� �(�i�m�a�g�e�D�a�t�a�)� �=�>� �{� � � � � � � � �c�o�n�s�t� �p�a�r�e�n�t�D�i�m�e�n�s�i�o�n�s� �=� �{� � � � � � � � � � �w�i�d�t�h�:� �3�2�0�,� �/�/�o�r� �t�h�e� �e�l�e�m�e�n�t� �w�i�d�t�h�,� �l�i�k�e� �e�l�e�m�e�n�t�.�c�l�i�e�n�t�W�i�d�t�h� � � � � � � � � � �h�e�i�g�h�t�:� �4�8�0� �/�/�o�r� �t�h�e� �e�l�e�m�e�n�t� �h�e�i�g�h�t�,� �l�i�k�e� �e�l�e�m�e�n�t�.�c�l�i�e�n�t�H�e�i�g�h�t� � � � � � � � �}� � � � � � � � �c�o�n�s�t� �r�e�s�o�u�r�c�e� �=� �a�w�a�i�t� �c�r�e�a�t�e�C�a�n�v�a�s�(�i�m�a�g�e�D�a�t�a�,� �p�a�r�e�n�t�D�i�m�e�n�s�i�o�n�s�,� �'�j�p�e�g�'�,� �0�.�5�)� � � � � � � � �/�/� �r�e�s�o�u�r�c�e� �h�a�s� �t�w�o� �m�e�t�h�o�d�s�:� ��.�t�o�I�m�a�g�e�(�)�� �r�e�t�u�r�n�s� �a�n� �<�i�m�g� �/�>� � � � � � � � � �/�/� �e�l�e�m�e�n�t� �a�n�d� ��t�o�B�a�s�e�6�4�(�)�� �r�e�t�u�r�n�s� �a�n� � � � � � � � �/�/� �e�n�c�o�d�e�d� �b�a�s�e�6�4� �i�m�a�g�e� �s�t�r�i�n�g� � � � � � � � � �c�a�m�e�r�a�.�c�l�o�s�e�(�)� � � � � � �}� � � � �}�)� � �� � � � �

    Install

    npm i cameraclick

    DownloadsWeekly Downloads

    33

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    26.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • lhew