Documentation ¶
Index ¶
- Variables
- func ContentDisposition(filename, ext string, returnAttachment bool) string
- type Type
- func (it Type) ContentDisposition(filename string, returnAttachment bool) string
- func (it Type) ContentDispositionFromURL(imageURL string, returnAttachment bool) string
- func (it Type) Ext() string
- func (it Type) IsVector() bool
- func (it Type) MarshalJSON() ([]byte, error)
- func (it Type) Mime() string
- func (it Type) String() string
- func (it Type) SupportsAlpha() bool
- func (it Type) SupportsAnimation() bool
- func (it Type) SupportsColourProfile() bool
- func (it Type) SupportsQuality() bool
- func (it Type) SupportsThumbnail() bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ContentDisposition ¶ added in v3.8.0
Types ¶
type Type ¶
type Type int
func (Type) ContentDisposition ¶
func (Type) ContentDispositionFromURL ¶
func (Type) MarshalJSON ¶
func (Type) SupportsAlpha ¶
func (Type) SupportsAnimation ¶
func (Type) SupportsColourProfile ¶
func (Type) SupportsQuality ¶ added in v3.21.0
func (Type) SupportsThumbnail ¶ added in v3.5.0
Click to show internal directories.
Click to hide internal directories.