Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. UV Index auslesen auf JPG

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UV Index auslesen auf JPG

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fuchs1978 last edited by

      Hallo,

      ich bin auf die Idee gekommen, morgens per Telegram die wichtigsten Wetterdaten zu senden.

      ~~![](</s><URL url=)https://wwwdyn.zdf.de/ext/weather/uv-brd-0.jpg" />

      Gibt es per Javascript eine Möglichkeit die Farbe eines Pixels in diesem Bild auszuwerten?~~

      1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 last edited by

        Weiß nicht ob das geht aber z.B. der Weatherunderground Adapter liefert einen UV-Index wenn der dich interessiert:

        999_uv-index.jpg

        1 Reply Last reply Reply Quote 0
        • P
          pix last edited by

          Hallo,

          hier ein Ansatz: https://github.com/mrdoob/three.js/issues/758

          hier eine Google Abfrage: https://www.google.de/search?client=saf … uDX7aRp_AE

          Würde auch einen Dienst wie weatherunderground bevorzugen.

          Pix

          lonelydatum created this issue in mrdoob/three.js

          closed How do I get the pixel color of a jpg? #758

          1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer last edited by

            Die eigentliche Frage ist, wie man in NodeJS die Pixeldaten eines Bildes ausliest. Fragen zu JavaScript werden bei Google höchstwahrscheinlich auf Browser-Libraries (wie das genannte THREE.js) führen, wo der Browser selbst die Hauptarbeit übernimmt.

            1 Reply Last reply Reply Quote 0
            • P
              pix last edited by

              Hier zwei Ansätze:

              https://github.com/zeke/get-image-colors

              https://www.npmjs.com/package/get-image-pixels

              Gruß

              Pix

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Support us

              ioBroker
              Community Adapters
              Donate

              545
              Online

              31.7k
              Users

              79.8k
              Topics

              1.3m
              Posts

              4
              5
              477
              Loading More Posts
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes
              Reply
              • Reply as topic
              Log in to reply
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
              The ioBroker Community 2014-2023
              logo