# Error when read image with AICSImage

**URL:** <https://forum.allencell.org/t/error-when-read-image-with-aicsimage/366>\
**Category:** Software & Code\
**Created:** [November 2, 2021, 8:47pm UTC](https://forum.allencell.org/t/error-when-read-image-with-aicsimage/366 "2021-11-02T20:47:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashapeng](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@ashapeng](https://forum.allencell.org/u/ashapeng)\
**Post date:** [November 2, 2021, 8:47pm UTC](https://forum.allencell.org/t/error-when-read-image-with-aicsimage/366/1 "2021-11-02T20:47:39Z")

</div>

Hi everyone,  
I got the following error when I tried to read my image. but I am able to get shape, and ndim information of my image  
TiffPage 0: TypeError: read\_bytes() missing 3 required positional arguments: ‘dtype’, ‘count’, and ‘offsetsize’  
Thanks so much.

---

<div class="post-metadata">

**Author:** ![danielt](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@danielt](https://forum.allencell.org/u/danielt)\
**Post date:** [November 7, 2021, 2:10pm UTC](https://forum.allencell.org/t/error-when-read-image-with-aicsimage/366/2 "2021-11-07T14:10:34Z")

</div>

Could you post the exact commands you used when calling this? Also, do you know anything about how your tiff file was created (Fiji, python script writing using a particular library, etc)? It does sound like something inconsistent between the file and its metadata, perhaps.

---

<div class="post-metadata">

**Author:** ![ashapeng](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@ashapeng](https://forum.allencell.org/u/ashapeng)\
**Post date:** [November 8, 2021, 9:26pm UTC](https://forum.allencell.org/t/error-when-read-image-with-aicsimage/366/3 "2021-11-08T21:26:00Z")

</div>

thanks, I have figured it. the tifffile should be updated to the latest version
