diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-06-25 20:45:43 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-06-25 20:45:43 +0200 |
commit | e1c8bb1bd5381d8ade3c699a2d6b4fb373112880 (patch) | |
tree | 924317fecd5f55c29c287d89dc5627bbbd73327c /pkg/components | |
parent | 249ee195ce52ee4a4defeb67a33ef353919d3a11 (diff) | |
download | lens-e1c8bb1bd5381d8ade3c699a2d6b4fb373112880.tar.gz lens-e1c8bb1bd5381d8ade3c699a2d6b4fb373112880.tar.bz2 lens-e1c8bb1bd5381d8ade3c699a2d6b4fb373112880.zip |
feat: Store image size
Add image dimensions to exif fetch.
Diffstat (limited to 'pkg/components')
-rw-r--r-- | pkg/components/media/model.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/components/media/model.go b/pkg/components/media/model.go index f5c9ff6..0e17e92 100644 --- a/pkg/components/media/model.go +++ b/pkg/components/media/model.go @@ -15,6 +15,8 @@ type ( } MediaEXIF struct { + Width *float64 + Height *float64 Description *string Camera *string Maker *string |