Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong picture size in merged cell after picture.Resize() was invoked. #1393

Open
JackyLi918 opened this issue Jul 23, 2024 · 0 comments
Open

Comments

@JackyLi918
Copy link

NPOI Version

2.5.6 and 2.7.1

File Type

  • [ ] XLSX

Upload the Excel File

Please attach your original Excel File to help us reproduce the issue

Reproduce Steps

Issue Description

EXCEL 2007, in a merged cell ( example col 2 to col 5), I put 5 pictures with size 76 * 76px, and call Resize() to make the picture is displayed as original size. but from the 3rd picture, it has wrong width, becaue it is cross the col2 and col3, the dx2 of anchor looks not right. check the width in Excel app, the original size is right, but the scaleY is greater than 100%.

image

the above issue is occured on V2.5.6.

on 2.7.1 all prctures are removed after Resized() called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants