# Connector Function output to PNG

**URL:** <https://community.tulip.co/t/connector-function-output-to-png/6599>\
**Category:** Support, Troubleshooting, & Help\
**Tags:** connectors, feature-request, connector\_function, qr-code\
**Created:** [October 10, 2022, 2:50pm UTC](https://community.tulip.co/t/connector-function-output-to-png/6599 "2022-10-10T14:50:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjj](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/jjj/32/4542_2.png) [@jjj](https://community.tulip.co/u/jjj)\
**Post date:** [October 10, 2022, 2:50pm UTC](https://community.tulip.co/t/connector-function-output-to-png/6599/1 "2022-10-10T14:50:29Z")

</div>

I found an API service that generates a QR code with a PNG output. Right now Tulip connector functions only output XML/JSON/Text. Any plans on expanding that?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/f/fe32dd0fe3aed17e8d65a35149d05cd42ebe9f80.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/e/edc992906763cb136f758ae30803f076f16a3803.png)

---

<div class="post-metadata">

**Author:** ![Pete\_Hartnett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete_hartnett/32/3678_2.png) [@Pete\_Hartnett](https://community.tulip.co/u/Pete_Hartnett)\
**Post date:** [October 11, 2022, 12:25pm UTC](https://community.tulip.co/t/connector-function-output-to-png/6599/2 "2022-10-11T12:25:31Z")

</div>

Hey @jjj -

Totally, this is one of the first things we added to the roadmap when we added file support to app variables and tables. Supporting both input to, and output from, connectors for at least all supported file types is on the roadmap.

This gets a little tricky because different APIs expect files/images to be encoded in different ways, and we don’t necessarily know what every API ever expects, and this is into the technical weeds most of our customers don’t have experience with, so we need to be smart about how we enable the configuration of these inputs/outputs.

Pete

---

<div class="post-metadata">

**Author:** ![Nicolas](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/nicolas/32/3349_2.png) [@Nicolas](https://community.tulip.co/u/Nicolas)\
**Post date:** [May 28, 2025, 9:00am UTC](https://community.tulip.co/t/connector-function-output-to-png/6599/3 "2025-05-28T09:00:47Z")

</div>

Hi @Pete_Hartnett @canaalpaslan  
We have similare need.  
For an important use case to implement, Tulip could be the solution for business.  
We are in phase of technical feasability and solution recommendation.  
In the usecase, we need to call an API that return an image, response of the API is Multipart.

Did you have visibility of this feature availability? It will help us to keep Tulip or not as prefered/recommanded solution.

---

<div class="post-metadata">

**Author:** ![nicolo.lagravinese](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/nicolo.lagravinese/32/8518_2.png) [@nicolo.lagravinese](https://community.tulip.co/u/nicolo.lagravinese)\
**Post date:** [May 28, 2025, 9:33pm UTC](https://community.tulip.co/t/connector-function-output-to-png/6599/4 "2025-05-28T21:33:21Z")

</div>

Tulip still can’t load a multipart-image response into a variable. The feature is on the roadmap, but there’s no public date yet. You can see the current output limits here: [How To Use Outputs from Connector Functions In Apps](https://support.tulip.co/docs/understanding-arrays-and-objects-in-connector-function-outputs)

Until it ships, you could try routing the call through a small proxy (AWS Lambda, Google Cloud Function, etc.). Have the proxy pull the multipart body apart and return either:

- a `data:image/...;base64,` string (good up to about 250 kB)
- or a time-limited HTTPS link to the file

In Tulip:

1. Create an HTTP Connector with one **Text** output that calls the proxy.
2. If you return a data URL, bind that text variable directly to an Image widget using “Data URL.”
3. If you return a signed link, run **Store File from URL** in a Trigger, then display the stored file. Docs for that step are here: [Upload a file](https://support.tulip.co/docs/working-with-files)
