silverslice / excelpic
Make pictures in xlsx files resizable with cells
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/silverslice/excelpic
Requires
- php: >=5.4
- ext-zip: *
This package is auto-updated.
Last update: 2025-09-25 07:06:17 UTC
README
Easy tool for converting pictures in excel file to resizable with cells. It will be useful if you need to collapse rows with images in xlsx-file creating with PHPExcel.
Install
composer require silverslice/excelpic
Example of usage
use Silverslice\ExcelPic\Converter; require __DIR__ . '/vendor/autoload.php'; $converter = new Converter(); // open xlsx file $converter->open('test.xlsx') // convert all images to resizable ->convertImagesToResizable() // save xlsx document ->save('test.xlsx');
Limitations
- Only first spreadsheet is processed.
- Picture should cover only one cell.