-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Flipped images returns to original flip #731
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This is still an issue in version 1.29 / PHP 8.2 |
There is currently no support for horizontal or vertical flip in the Drawing object. I will look into what needs to be done to support them. |
Fix PHPOffice#731. Opened over 5 years ago, probably the second oldest problem I've worked on. Images attached to an Xlsx spreadsheet can be rotated, which is supported by PhpSpreadsheet. They can also be flipped along their horizontal and/or vertical axes, and that has not been supported. This PR adds that support.
* Xlsx Support Flipping of Image Fix #731. Opened over 5 years ago, probably the second oldest problem I've worked on. Images attached to an Xlsx spreadsheet can be rotated, which is supported by PhpSpreadsheet. They can also be flipped along their horizontal and/or vertical axes, and that has not been supported. This PR adds that support. * Update CHANGELOG.md
This is:
What is the expected behavior?
PhpSpreadsheet should preserve image flip options.
What is the current behavior?
After saving file, images with flipping returns to default flip.
What are the steps to reproduce?
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
Input:

Output:

Which versions of PhpSpreadsheet and PHP are affected?
PHP 7.2.11
PhpSpreadsheet 1.4.0, 1.4.1, 1.5.0
The text was updated successfully, but these errors were encountered: