Every single image on more than 800.
When i read them on the filesystem with fs.readFileSync (Node22), this is the result. I kept one on our repo if you want to check it.
Once I hosted the same images online, I was able to import all of them without a single failure.
I'm not entirely sure what's causing the issue in this case. I'm going to try to recreate this and investigate it on my own, I'll get back to you with news of how that goes!
For the time being, a good workaround is to apply Imgix URL parameters when rendering the image on your site. Imgix powers Prismic’s image URLs and supports format conversion on-the-fly using a simple ?fm=jpg parameter.
If you’re rendering the images dynamically, we recommend building a helper function that appends fm=jpg (and other Imgix params if needed) at runtime — this gives you full control over the format, compression, and sizing without modifying your migration logic.
The thing is, because the image is not identified as an image by the media library, I cannot assign it to an ImageField. So it's not really possible to use it in any meaningful way..
This makes sense. Short of converting your images before migration, I'm not entirely sure what alternative I can provide here. However we have recreated the issue on our side and are looking at potential ways to fix it. I don't have a precise timeline, but the team is on it. Sorry for the inconvenience in the meantime! I'll keep you updated here when it's fixed.