# AEGP Plugin PNGIO library error when rendering

**URL:** <https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167>\
**Category:** Lottie Animation Design\
**Created:** [January 28, 2022, 2:31pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167 "2022-01-28T14:31:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsweetmore](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/rsweetmore/32/1508_2.png) [@rsweetmore](https://forum.lottiefiles.com/u/rsweetmore)\
**Post date:** [January 28, 2022, 2:31pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/1 "2022-01-28T14:31:00Z")

</div>

Never had this issue before but now when i try to render a animation that has either a PNG?JPG i get the following error:  
 ![Screenshot 2022-01-28 at 14.26.25](https://canada1.discourse-cdn.com/flex030/uploads/lottiefiles/original/2X/c/c6be23be63eba728f03932058a56680eda94ffe0.png)

Then when I press OK I get a second message whioch says:  
AEGP Plugin PNGIO Support: Unable to create PNGIO. ( 5027 :: 12)

Ive tried:

- Resaving the PNGs
- Checked the Colour profile is same
- reinstalling AE

Can anyone help?  
Thanks

---

<div class="post-metadata">

**Author:** ![irbypace](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/irbypace/32/3165_2.png) [@irbypace](https://forum.lottiefiles.com/u/irbypace)\
**Post date:** [January 28, 2022, 5:57pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/2 "2022-01-28T17:57:18Z")

</div>

This might be a weird question, but is the JPG or PNG exported as sRGB, Adobe RGB 1998, or CMYK?

---

<div class="post-metadata">

**Author:** ![rsweetmore](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/rsweetmore/32/1508_2.png) [@rsweetmore](https://forum.lottiefiles.com/u/rsweetmore)\
**Post date:** [January 28, 2022, 6:08pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/3 "2022-01-28T18:08:46Z")

</div>

Exported as JPG or PNG, and sRGB.

I’ve found the only fix is going back to After Effects 2021 (18.4.1) instead of working in AE 2022

---

<div class="post-metadata">

**Author:** ![irbypace](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/irbypace/32/3165_2.png) [@irbypace](https://forum.lottiefiles.com/u/irbypace)\
**Post date:** [January 28, 2022, 6:18pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/4 "2022-01-28T18:18:10Z")

</div>

Oh wild! I wonder if the devs need to know about that problem in 2022 AE. I haven’t updated to 2022 yet… and… I’m going to wait 😉

---

<div class="post-metadata">

**Author:** ![jon.maupin](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/jon.maupin/32/1735_2.png) [@jon.maupin](https://forum.lottiefiles.com/u/jon.maupin)\
**Post date:** [March 14, 2022, 4:03pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/5 "2022-03-14T16:03:35Z")

</div>

Also having this issue. Has anyone heard anymore on this?  
I am on OSX Monterey 12.2.1  
M1 Max Chip  
AE 2022 22.2.1 (build 3)

---

<div class="post-metadata">

**Author:** ![dave1](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/dave1/32/1755_2.png) [@dave1](https://forum.lottiefiles.com/u/dave1)\
**Post date:** [March 17, 2022, 5:20pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/6 "2022-03-17T17:20:09Z")

</div>

![Screenshot 2022-03-17 at 17.19.06](https://canada1.discourse-cdn.com/flex030/uploads/lottiefiles/original/2X/5/5795046df6235c8bacba1747c449d45b043ad43c.png)  
Same. MacBook Pro. M1 MX. Monteray.

---

<div class="post-metadata">

**Author:** ![dave1](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/dave1/32/1755_2.png) [@dave1](https://forum.lottiefiles.com/u/dave1)\
**Post date:** [March 17, 2022, 7:52pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/7 "2022-03-17T19:52:30Z")

</div>

I can confirm this also worked for me. Thanks @rsweetmore. The issue lies with AE/22. Hopefully a fix in the near future.

---

<div class="post-metadata">

**Author:** ![haleeza](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/haleeza/32/4969_2.png) [@haleeza](https://forum.lottiefiles.com/u/haleeza)\
**Post date:** [April 4, 2022, 4:12am UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/8 "2022-04-04T04:12:26Z")

</div>

For users facing PNGIO issues, it’s an issue with Adobe AE from version 22.0.1 onwards. The workaround for now is to downgrade After Effects to 22.0.1. Adobe will update this post when a fix for their render queue is available.

> **[Bug Report: v22.1.1 Can not export PNG](https://adobe-video.uservoice.com/forums/911311-after-effects/suggestions/44616864-bug-report-v22-1-1-can-not-export-png)**
>
> Can not export PNG thru render que. Works with AME.
> sRGB 16bit comp.
> Windows10...latest build...super-user workstation.

---

<div class="post-metadata">

**Author:** ![haleeza](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/haleeza/32/4969_2.png) [@haleeza](https://forum.lottiefiles.com/u/haleeza)\
**Post date:** [April 18, 2022, 8:47am UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/9 "2022-04-18T08:47:27Z")

</div>

Hey folks!

For those who’ve been getting the **PNGIO error** while rendering (AE v22.0.1 onwards), we have a settings fix that would help without downgrading your AE version!

1. Go to File \> Project Settings
2. Go to Color \> on the Working Space dropdown select Apple RGB

This has been tested internally and it should work with our **AE plugin v1.2.0** you can download it here: [sendanywhe.re/GX1S8UHH](http://sendanywhe.re/GX1S8UHH)

It’s not officially released yet, please feel free to test it out and we would love to hear some feedback before we officially roll it out. Many thanks!

---

<div class="post-metadata">

**Author:** ![digitaldroppings](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/digitaldroppings/32/224_2.png) [@digitaldroppings](https://forum.lottiefiles.com/u/digitaldroppings)\
**Post date:** [May 4, 2022, 8:07pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/10 "2022-05-04T20:07:18Z")

</div>

Thank you haleeza! I had a this error popup when exporting from After Effects using GifGun and keeping alpha. Thanks! 😄

---

<div class="post-metadata">

**Author:** ![kirillpescov](https://avatars.discourse-cdn.com/v4/letter/k/ecae2f/32.png) [@kirillpescov](https://forum.lottiefiles.com/u/kirillpescov)\
**Post date:** [August 3, 2022, 4:45pm UTC](https://forum.lottiefiles.com/t/aegp-plugin-pngio-library-error-when-rendering/2167/11 "2022-08-03T16:45:56Z")

</div>

As I’ve noticed that problem occurs when you try to render ACES or other color space file into an SRGB project. Change the Working Space to “none” into Project Settings and that should solve the issue.
