@@ -63,11 +63,11 @@ func parseGraphicOptions(opts *GraphicOptions) *GraphicOptions {
6363
6464// AddPicture provides the method to add picture in a sheet by given picture
6565// format set (such as offset, scale, aspect ratio setting and print settings)
66- // and file path, supported image types: BMP, EMF, EMZ, GIF, JPEG, JPG, PNG ,
67- // SVG, TIF, TIFF, WMF, and WMZ. This function is concurrency-safe. Note that
68- // this function only supports adding pictures placed over the cells currently,
69- // and doesn't support adding pictures placed in cells or creating the Kingsoft
70- // WPS Office embedded image cells. For example:
66+ // and file path, supported image types: BMP, EMF, EMZ, GIF, ICO, JPEG, JPG ,
67+ // PNG, SVG, TIF, TIFF, WMF, and WMZ. This function is concurrency-safe. Note
68+ // that this function only supports adding pictures placed over the cells
69+ // currently, and doesn't support adding pictures placed in cells or creating
70+ // the Kingsoft WPS Office embedded image cells. For example:
7171//
7272// package main
7373//
@@ -186,10 +186,10 @@ func (f *File) AddPicture(sheet, cell, name string, opts *GraphicOptions) error
186186// AddPictureFromBytes provides the method to add picture in a sheet by given
187187// picture format set (such as offset, scale, aspect ratio setting and print
188188// settings), file base name, extension name and file bytes, supported image
189- // types: EMF, EMZ, GIF, JPEG, JPG, PNG, SVG, TIF, TIFF, WMF, and WMZ. Note that
190- // this function only supports adding pictures placed over the cells currently,
191- // and doesn't support adding pictures placed in cells or creating the Kingsoft
192- // WPS Office embedded image cells. For example:
189+ // types: EMF, EMZ, GIF, ICO, JPEG, JPG, PNG, SVG, TIF, TIFF, WMF, and WMZ. Note
190+ // that this function only supports adding pictures placed over the cells
191+ // currently, and doesn't support adding pictures placed in cells or creating
192+ // the Kingsoft WPS Office embedded image cells. For example:
193193//
194194// package main
195195//
0 commit comments