# Reading JPG files

**URL:** <https://forum.knime.com/t/reading-jpg-files/60934>\
**Category:** KNIME Analytics Platform\
**Created:** [February 2, 2023, 11:02am UTC](https://forum.knime.com/t/reading-jpg-files/60934 "2023-02-02T11:02:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![naraj](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/43a26b/32.png) [@naraj](https://forum.knime.com/u/naraj)\
**Post date:** [February 2, 2023, 11:02am UTC](https://forum.knime.com/t/reading-jpg-files/60934/1 "2023-02-02T11:02:23Z")

</div>

Hi,

I am going to make a workflow that can read (list of) JPG images from my local hard drive, use photo ids to extract some information and then make an excel file containing the photos and numerical information. I couldn’t find any Knime node that can read JPG files (they are mostly PNG reader)? Do you guys know how to read JPGs?

Cheers!

---

<div class="post-metadata">

**Author:** ![lelloba](https://forum-cdn.knime.com/user_avatar/forum.knime.com/lelloba/32/43992_2.png) [@lelloba](https://forum.knime.com/u/lelloba)\
**Post date:** [February 2, 2023, 1:31pm UTC](https://forum.knime.com/t/reading-jpg-files/60934/2 "2023-02-02T13:31:45Z")

</div>

Hello @naraj ,

here is a small workflow that reads .jpg images. Hope it helps.

> **[Read jpg – lelloba](https://hub.knime.com/lelloba/spaces/Forum/latest/Read%20jpg~xf6ajKS8OLmUpoU9)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

Have a nice day,  
Raffaello

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [February 2, 2023, 2:03pm UTC](https://forum.knime.com/t/reading-jpg-files/60934/3 "2023-02-02T14:03:30Z")

</div>

> [@naraj](#):
>
> make an excel file containing the photos

You can employ [OpenPyxl](https://hub.knime.com/search?type=all&tag=openpyxl,python&sort=best) for that which is already included in the [bundled Python in KNIME](https://www.knime.com/blog/how-to-setup-the-python-extension).

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/6/a/6ab49d642b0b3bcebeb0a293c2ce2c0ec228db5d.png)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/d/d/dd1bd0c3209858abe04d02fc020ce354d8661d0b.png)

> **[KNIME & Python Graphics -Grouped violinplots with split violins - also...](https://hub.knime.com/mlauber71/spaces/Public/kn_example_python_graphic_violinplots_grouped~ELPUWIfObOx32uLk/current-state)**
>
> KNIME & Python Graphics -Grouped violinplots with split violins - also export PNG to Excel adapted from: https://seaborn.pydata.org/examples/grouped\_violinplot…

—

Edit: [KNIME and Python Graphics — Another Collection of Examples | by Markus Lauber | Low Code for Data Science | Medium](https://medium.com/low-code-for-advanced-data-science/knime-and-python-graphics-another-collection-of-examples-7674a1f5613f)

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [May 3, 2023, 2:04pm UTC](https://forum.knime.com/t/reading-jpg-files/60934/4 "2023-05-03T14:04:21Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
