How to preserve Exif data #238
Answered
by
hm21
bluegene37
asked this question in
Q&A
-
Hi Guys, I need your help. How can i preserve exif data after saving an edited image? This is my code:
|
Beta Was this translation helpful? Give feedback.
Answered by
hm21
Oct 14, 2024
Replies: 1 comment 3 replies
-
I'm not sure why you want to change the exif data, but it should be possible with the image package, which I also use in the image editor. You can see an example of how to do this here. var key = editorKey.currentState!;
var configs = key.stateHistory[key.stateManager.position].transformConfigs; |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the editor cannot automatically keep the exif data when generating a new image. To transfer some or all of the exif data, you must extract it from the original image and manually add it to the new one. As mentioned above, you can use the image package to read and write exif data, as demonstrated in this documentation.