bakape / thumbnailer

Go media thumbnailer
MIT License
152 stars 36 forks source link

Only width is considered when processing #63

Closed artvel closed 4 years ago

artvel commented 4 years ago

Make height to be considered too as max. Example: opts := thumbnailer.Options{ ThumbDims: thumbnailer.Dims{Width: 300, Height: 120}, } result: 300x200

expected: 180x120`

bakape commented 4 years ago

I see. Never stumbled on this ones as I've always used even thumbnail dimensions.

artvel commented 4 years ago

Wow, that was fast.

Awesome!