v1.5.0
features:
- extract
ImageEncoder
interface to support outputting image file format. WithBuiltinImageEncoder
for using builtin ImageEncoder, such asJPEG
,PNG
WithCustomImageEncoder
for custonmizing ImageEncoding
fixes:
- the rectangle shape draws incorrectly with width and height. As #14 describes, it caused the images' right and bottom without border.