Skip to main content
Question

insert image into excel

  • November 21, 2025
  • 3 replies
  • 66 views

gboquin
Contributor
Forum|alt.badge.img+8

Hi !

I have an image in my documents folder and I need to add it into excel on a specific cell. I saw a training available, but it uses an image fetcher. image fetcher cant be used with a folder path.

Looking for inspiration as I have hit several walls.

Thoughts?

Thanks, in advanced.

 

 

 

3 replies

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • November 24, 2025

Hello ​@gboquin 

The ImageFetcher reads an image from a URL and turns the data into a raster features within the workspace. If you want the equivalent for an image stored on your local system, add a reader for the format of that image file and use that reader to read the file into the workspace.

For example, if the image file is a .jpeg, add a JPEG reader. If the file is a .png, add a PNG reader.

This tutorial https://support.safe.com/hc/en-us/articles/25407645915021-Writing-Images-to-Microsoft-Excel-Spreadsheets sets the pixel size of the raster within the URL specified within the ImageFetcher. Since your workflow doesn’t use an ImageFetcher, you should use a RasterResampler to set the pixel size of the raster feature after read it into the workspace.

Setting xlsx_row_id, xlsx_col_id, xlsx_raster_height, xlsx_raster_width should stay relatively the same as the tutorial.


danilo_fme
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • November 29, 2025

Hello ​@gboquin 

The ImageFetcher reads an image from a URL and turns the data into a raster features within the workspace. If you want the equivalent for an image stored on your local system, add a reader for the format of that image file and use that reader to read the file into the workspace.

For example, if the image file is a .jpeg, add a JPEG reader. If the file is a .png, add a PNG reader.

This tutorial https://support.safe.com/hc/en-us/articles/25407645915021-Writing-Images-to-Microsoft-Excel-Spreadsheets sets the pixel size of the raster within the URL specified within the ImageFetcher. Since your workflow doesn’t use an ImageFetcher, you should use a RasterResampler to set the pixel size of the raster feature after read it into the workspace.

Setting xlsx_row_id, xlsx_col_id, xlsx_raster_height, xlsx_raster_width should stay relatively the same as the tutorial.

 

 

Hi ​@gboquin the idea shared by ​@debbiatsafe is fantastic for your case.

A few years ago I had the same question to solve here.

 

Thanks in Advance,

 


hannahwh05
Contributor
Forum|alt.badge.img+9
  • Contributor
  • December 5, 2025

Hey ​@gboquin , coincidence that I am working on something similar at the moment too! I’ll send you my fmw