|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2021-10-24 (1 month ago) ||Not yet rated by the users||Total: 103 This week: 1||All time: 9,495 This week: 234|
This class can extract image files from Microsoft Word DOCX files.
It can take the path of a Microsoft Word file in DOCX format and extract its contents to save the image files that it contains.
The extracted images files are saved to a given directory.
|Microsoft Word is a popular tool used by many people to create documents that may contain text, images, charts, and other types of data.
Often Microsoft Word users share their documents as files in DOCX format.
This class provides a simple solution to parse Microsoft Word files in DOCX format and extract the images that contain them into files that any PHP application can quickly process.
A php class to extract all the images from a Word DOCX document and save them as separate image files
This php class will take a DOCX type Word document and extract all the images that are contined in it. They will be then all be saved in a directory with the same name as the original DOCX file. This directory will be automatically created if it does not exist. In the normal mode this class will not provide any output to screen. A php demonstration file (imgtest.php) is included. This demonstration file expects the DOCX file to be named 'sample.docx'.
Normal mode to save all the images (no output to screen)
$rt = new WordPHP(false); or $rt = new WordPHP();
Display on screen the names of the images found and saved
$rt = new WordPHP(true);
Read docx file and save all the images found
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.