-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Description
here is my code:
f.AddPictureFromBytes(sheetName, fmt.Sprintf("A%d", index), fmt.Sprintf(``{"print_obj": true, "lock_aspect_ratio": false, "locked": false, "positioning" : "oneCell", "x_scale": %2f, "y_scale": %2f, "x_offset":1, "y_offset":1}``, xScale, yScale), "image", ".jpg", bytes)
Steps to reproduce the issue:
- I used excelize for pasting picture on excel , and it worked perfectly.
- update excelize
- got wrong scale
Describe the results you received:
Pictures display with wrong scale, and it's not what I set
Describe the results you expected:
Just like before
Output of go version:
go 1.12
Excelize version or commit ID:
Commit: 6962061200e2198acc39392c35344d1826268f34 [6962061]
Parents: 821b90d1f0
Environment details (OS, Microsoft Excel™ version, physical, etc.):
win 10
excel 2019
Metadata
Metadata
Assignees
Labels
No labels