Answered by
197g
Oct 27, 2025
Replies: 1 comment 5 replies
|
The |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Do you have a minimally reproduceable example for the image? It should be easier to verify if the App1 segment is there as planned or if the structure is messed up . The code sketch in the initial comment is somewhat hard to follow—apart from the obvious syntax mistake in
Ok()—and I find it unlikely to represent your implementation's intended structure. It writes the same image into two different targets:img.write_with_encoder(encoder)?: which is what I assume you wanted to do, since thatencoderhas been configured with exif data. However, that same encoder writes intooutwhich is aCursorinto an allocated Vec. Both the cursor andVecare discarded on return, so none of this written …