func Zoom(zoom int) Option {
	return func(o opts) opts {
		if zoom > 0 {
			o.zoom = zoom
		} else {
			o.zoom = 1
		}
		return o
	}
}
Zoom increases the image during conversion. Zoom <= 0 is treated as zoom 1.
package goimage
import (
	stdimage "image"
	"image/color"
	"image/draw"
	"github.com/jacekolszak/pixiq/image"
)
func FromSelection(source image.Selection, options ...Option) stdimage.Image {
	opts := buildOpts(options...)
	bounds := stdimage.Rect(0, 0, source.Width()*opts.zoom, source.Height()*opts.zoom)
	target := stdimage.NewRGBA(bounds)
	FillWithSelection(target, source, options...)
	return target
}
type Option func(opts) opts