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

I would like an option to not load images. #795

Open
kibehiro opened this issue Mar 10, 2024 · 2 comments
Open

I would like an option to not load images. #795

kibehiro opened this issue Mar 10, 2024 · 2 comments

Comments

@kibehiro
Copy link

Hi!

When I load a slide with many images in PHPPresentation, Out of memory sometimes occurs.

To address this issue, I would like to have an option to not load images.

If I implement this feature and submit a pull request, is there any chance it will be merged?

@Progi1984
Copy link
Member

Progi1984 commented Aug 21, 2024

@kibehiro yes of course

@Progi1984 Progi1984 added this to the 1.1.0 milestone Aug 21, 2024
@Progi1984 Progi1984 modified the milestones: 1.1.0, 1.2.0 Sep 1, 2024
@kibehiro
Copy link
Author

@Progi1984
I did not notice your reply. Sorry about that.
I will modify the PhpSpreadSheet option as a reference.

Usage

$reader->load($inputFileName, IReader::IGNORE_EMPTY_CELLS | IReader::LOAD_WITH_CHARTS);

https://phpspreadsheet.readthedocs.io/en/latest/topics/reading-files/#spreadsheet-reader-options

Implementation image
https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Reader/IReader.php

Please let me know if you have any concerns.
Thanks!

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

No branches or pull requests

2 participants