Search code examples
phpmatlabimage-processingcompressiononline-storage

Image compression web app,can you suggest steps to achieve it


I'm building a web app,which actually does image compression for the user's image,I want to ask, the image compression algortithm's that we implement in MATLAB like Kekre's Algorithm,zero tree algo,predictive encoding, is it possible to implement them in php.

So, can anybody suggest ,how can I achieve those things in php, or provide me some reference links,which can help me to build a online Compression tool. or if anybody done anything like converting program logic of image manipulation from matlab to php. I have a high level DFD of my tool is: you can find it here


Solution

  • PHP is slow for such processing. I recommend that you implement the core of you algorithm in C++ or similar. Then you call the core processing from PHP in a similar way like some web applications call ImageMagic in background to process images.