Remi05 / outlines

An app to help review your UI implementation.
MIT License
7 stars 0 forks source link

Embed Snapshot screenshot in Snapshot file #65

Closed Remi05 closed 2 years ago

Remi05 commented 2 years ago

It would be more convenient for many scenarios to have Snapshots be contained in a single file. To do so, we could convert the screenshot to Base64 and serialize it as part of the Snapshot JSON. We should try to make sure the image's Base64 string is the last value in the JSON so that the rest of the values can still be read by humans without searching for them. We could eventually provide a setting to allow for saving the screenshot separately (or both).

Useful links:

Remi05 commented 2 years ago

Added with commit 368c5875161fa2dacd30e86eb4e03866d9fd993e.