People,
Where I work, we have an app than runs as a DOS application on a Windows Small Business Server. The app is compiled PHP. The app basically takes a bunch of ~3MB jpg images as input and generates output images that have been resized and compressed for a website (size of about 50K). The image processing functions are in a DLL and are called from within the PHP code.
The app batch processes whole directories at at time, and each directory may contain many thousands of images. The actual compression and resize takes around 2 seconds per image.
Would there be any benefit in rewriting something like this in a 'proper' compiled language like C++? Ideally, if we could get the compression down to 1 sec an image that would be fantastic. Would rewriting the app accomplish this, or should we throw some more resources at the server? I have a background in Visual Studio C++ & VB, but I'm pretty rusty.
Just wondering what people's thoughts were?
Where I work, we have an app than runs as a DOS application on a Windows Small Business Server. The app is compiled PHP. The app basically takes a bunch of ~3MB jpg images as input and generates output images that have been resized and compressed for a website (size of about 50K). The image processing functions are in a DLL and are called from within the PHP code.
The app batch processes whole directories at at time, and each directory may contain many thousands of images. The actual compression and resize takes around 2 seconds per image.
Would there be any benefit in rewriting something like this in a 'proper' compiled language like C++? Ideally, if we could get the compression down to 1 sec an image that would be fantastic. Would rewriting the app accomplish this, or should we throw some more resources at the server? I have a background in Visual Studio C++ & VB, but I'm pretty rusty.
Just wondering what people's thoughts were?