silverslice / excelpic
Make pictures in xlsx files resizable with cells
v0.1.1
2023-08-25 02:49 UTC
Requires
- php: >=5.4
- ext-zip: *
This package is auto-updated.
Last update: 2024-10-25 05:22:07 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.