https://linear.app/comm/issue/ENG-10676/thumbhash-generation-fails-for-unprocessed-media
To reproduce try to send a png from media gallery that doesn't require processing on iOS.
If the image does not require processing then use filesystem uri for thumbnail generation and return the original uri (because it's compared later)..
If the image does require processing then use uri from image manipulator (it's filesystem uri) for thumbnail generation and return uri from image manipulator.