Fix RuntimeError: The freeimage library could not be loaded: Need FreeImage library – ImageIO Tutorial

By | May 31, 2020

When you are using python imageio to process webp images, you may get this runtimeerror: RuntimeError: The freeimage library could not be loaded: Need FreeImage library. How to fix?

RuntimeError - The freeimage library could not be loaded - Need FreeImage library

To fix this error is easy, you should download and install freeimage libary.

Here is an example:

import imageio
imageio.plugins.freeimage.download()

Run this code, you will get:

Fix RuntimeError - The freeimage library could not be loaded - Need FreeImage library

Then this runtimeerror will be fixed.

Leave a Reply