From 5e0953d7783ce65707fa89f5a773697b69e82e96 Mon Sep 17 00:00:00 2001 From: jianxinhou <51222175+jianxinhou@users.noreply.github.com> Date: Thu, 1 Dec 2022 10:44:28 +0800 Subject: This closes #1405, add new function SetSheetBackgroundFromBytes (#1406) Co-authored-by: houjianxin.rupert --- picture.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'picture.go') diff --git a/picture.go b/picture.go index b4629b0..045e2af 100644 --- a/picture.go +++ b/picture.go @@ -38,7 +38,8 @@ func parsePictureOptions(opts string) (*pictureOptions, error) { // AddPicture provides the method to add picture in a sheet by given picture // format set (such as offset, scale, aspect ratio setting and print settings) -// and file path. This function is concurrency safe. For example: +// and file path, supported image types: EMF, EMZ, GIF, JPEG, JPG, PNG, SVG, +// TIF, TIFF, WMF, and WMZ. This function is concurrency safe. For example: // // package main // @@ -121,7 +122,9 @@ func (f *File) AddPicture(sheet, cell, picture, format string) error { // AddPictureFromBytes provides the method to add picture in a sheet by given // picture format set (such as offset, scale, aspect ratio setting and print -// settings), file base name, extension name and file bytes. For example: +// settings), file base name, extension name and file bytes, supported image +// types: EMF, EMZ, GIF, JPEG, JPG, PNG, SVG, TIF, TIFF, WMF, and WMZ. For +// example: // // package main // -- cgit v1.2.1