mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 15:37:29 -06:00
media handling
This commit is contained in:
parent
f210d39891
commit
a30a1a267b
8 changed files with 431 additions and 1 deletions
|
|
@ -123,6 +123,7 @@ const (
|
|||
type FileMeta struct {
|
||||
Original Original
|
||||
Small Small
|
||||
Focus Focus
|
||||
}
|
||||
|
||||
// Small can be used for a thumbnail of any media type
|
||||
|
|
@ -140,3 +141,8 @@ type Original struct {
|
|||
Size int
|
||||
Aspect float64
|
||||
}
|
||||
|
||||
type Focus struct {
|
||||
X float32
|
||||
Y float32
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue