fix filter double page

This commit is contained in:
Celogeek 2023-04-16 18:02:55 +02:00
parent 02583cc715
commit 17d8161d99
Signed by: celogeek
SSH Key Fingerprint: SHA256:njNJLzoLQdbV9PC6ehcruRb0QnEgxABoCYZ+0+aUIYc

View File

@ -46,7 +46,7 @@ func NewGiftSplitDoublePage(options *ImageOptions) []*gift.GIFT {
g.Add(gift.Brightness(float32(options.Brightness)))
}
g.Add(
gift.ResizeToFit(options.ViewWidth, options.ViewHeight, gift.LanczosResampling),
filters.Resize(options.ViewWidth, options.ViewHeight, gift.LanczosResampling),
)
}