Closed artvel closed 4 years ago
Make height to be considered too as max. Example: opts := thumbnailer.Options{ ThumbDims: thumbnailer.Dims{Width: 300, Height: 120}, } result: 300x200
opts := thumbnailer.Options{ ThumbDims: thumbnailer.Dims{Width: 300, Height: 120}, }
300x200
expected: 180x120`
I see. Never stumbled on this ones as I've always used even thumbnail dimensions.
Wow, that was fast.
Awesome!
Make height to be considered too as max. Example:
opts := thumbnailer.Options{ ThumbDims: thumbnailer.Dims{Width: 300, Height: 120}, }
result:300x200
expected: 180x120`