Skip to content

Commit

Permalink
Add StripMetadata back
Browse files Browse the repository at this point in the history
  • Loading branch information
n0vad3v committed Mar 28, 2024
1 parent 7c84774 commit 0ed507f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vips/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,13 @@ func NewTiffExportParams() *TiffExportParams {
// GifExportParams are options when exporting a GIF to file or buffer
// Please note that if vips version is above 8.12, then `vips_gifsave_buffer` is used, and only `Dither`, `Effort`, `Bitdepth` is used.
// If vips version is below 8.12, then `vips_magicksave_buffer` is used, and only `Bitdepth`, `Quality` is used.
// StripMetadata does nothing to Gif images.
type GifExportParams struct {
StripMetadata bool
Quality int
Dither float64
Effort int
Bitdepth int
Quality int
Dither float64
Effort int
Bitdepth int
}

// NewGifExportParams creates default values for an export of a GIF image.
Expand Down

0 comments on commit 0ed507f

Please sign in to comment.