# BUG: drawImage returns different ImageID on Mac vs. Windows

**URL:** <https://devforum.zoom.us/t/bug-drawimage-returns-different-imageid-on-mac-vs-windows/108452>\
**Category:** Zoom Apps\
**Created:** [April 22, 2024, 9:07pm UTC](https://devforum.zoom.us/t/bug-drawimage-returns-different-imageid-on-mac-vs-windows/108452 "2024-04-22T21:07:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![h.g](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/h.g/32/57536_2.png) [@h.g](https://devforum.zoom.us/u/h.g)\
**Post date:** [April 22, 2024, 9:07pm UTC](https://devforum.zoom.us/t/bug-drawimage-returns-different-imageid-on-mac-vs-windows/108452/1 "2024-04-22T21:07:16Z")

</div>

Hello, I’m using the `drawImage` API for my Zoom App right now.

When I am piloting my app internally, my users on Windows and my users on Mac were experiencing different behaviors. I’m a Mac user, and I set up a Windows VM to test the app. What I found was that `drawImage` returns a different ImageID in the response for windows and Mac.

On Windows, every time `drawImage` is called, it returns a **different** ImageID.

 ![Screenshot 2024-04-22 at 1.26.16 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/9/799df4a64be5e7e5732e80fb31a8b86567c491ca.png)

On Mac, every time `drawImage` is called, it returns the **same ImageID every single time**. This happens regardless if the app is refreshed or reinstalled. An alarming thing to call out as well is the first 20 chars (`tRUWAVh4Rd9TE01nuyrGA` in this case), is the clientID of my Zoom app.

 ![Screenshot 2024-04-22 at 1.29.15 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/3/438f606cf4620d67c9ef23401d216c2e43c866b7.png)

Which behavior is correct? I’m running the same code on both Zoom Apps.

---

<div class="post-metadata">

**Author:** ![naviwalahem7121](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/naviwalahem7121/32/49552_2.png) [@naviwalahem7121](https://devforum.zoom.us/u/naviwalahem7121)\
**Post date:** [May 16, 2024, 1:31am UTC](https://devforum.zoom.us/t/bug-drawimage-returns-different-imageid-on-mac-vs-windows/108452/2 "2024-05-16T01:31:35Z")

</div>

[ahmednaviwala@icloud.com](mailto:ahmednaviwala@icloud.com)

---

<div class="post-metadata">

**Author:** ![naviwalahem7121](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/naviwalahem7121/32/49552_2.png) [@naviwalahem7121](https://devforum.zoom.us/u/naviwalahem7121)\
**Post date:** [May 20, 2024, 5:18am UTC](https://devforum.zoom.us/t/bug-drawimage-returns-different-imageid-on-mac-vs-windows/108452/3 "2024-05-20T05:18:41Z")

</div>

[ahmednaviwala@icloud.com](mailto:ahmednaviwala@icloud.com)
