I don’t know and I doubt anyone else does off the top of their head, so why don’t you write a test and see?
Image processing is highly image and usage dependent, e.g. acceptable quality vs. speed vs. memory. Using non-quantifiable terms like “huge” is not testable nor verifiable. > On May 10, 2020, at 9:50 PM, Vivi <createmap4...@gmail.com> wrote: > > > How does it compare to vipsthumbnail that utilize low memory usage which I > believe it use horizontal threading, does Go's image/draw package consume > large memory if the image source is huge? > > > On Monday, 11 May 2020 07:00:11 UTC+8, Nigel Tao wrote: > On Mon, May 11, 2020 at 4:28 AM robert engels <ren...@ix.netcom.com <>> > wrote: > > All of the code to do scaling and cropping in the ‘image’ package in the > > stdlib. > > Cropping is in the stdlib but scaling is not. Various scaling > algorithms (e.g. nearest neighbor, Catmull-Rom) are in the > golang.org/x/image/draw <http://golang.org/x/image/draw> package instead. As > https://godoc.org/golang.org/x/image/draw > <https://godoc.org/golang.org/x/image/draw> says, "This package is a > superset of and a drop-in replacement for the image/draw package in > the standard library". > > https://godoc.org/golang.org/x/image/draw#example-Draw > <https://godoc.org/golang.org/x/image/draw#example-Draw> has some example > code. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com > <mailto:golang-nuts+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/b0443e9a-3edb-4bcb-b056-f11186188eb9%40googlegroups.com > > <https://groups.google.com/d/msgid/golang-nuts/b0443e9a-3edb-4bcb-b056-f11186188eb9%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4ECA0CE7-D503-4331-84CC-80EF1A85FB0B%40ix.netcom.com.