This class can encode GIF or JPEG image files in the form of PHP script file that serves the original files when it is executed.
The class can handle a Web form for uploading the image files.
After receiving the uploaded files, the class generates a PHP script that contains PHP statements for decoding and outputting the image files that are encoded by this class using base64 algorithm.
The class features:
- Support binary files with the file name extensions .jpg and .gif
- Apply several types of constraints to the uploaded files
- Configurable path for the output PHP file