Rotate image on Pico Display 2.0 (micropython)

I have a small image (jpeg / png) of a compass. Which I want to rotate as the direction of travel changes. By “rotate” I mean in increments of a few degrees. Any suggestions on how to do this image rotation?

Thanks.