asp-classicimage-manipulationimagemagickphpthumb

A complete image manupulation solution in classical ASP


Does anyone have a past experience on implementing a complete image manipulation solution in classical ASP? I need a solution where a user can:

  1. Upload an image
  2. The uploded image is stored on the filesystem (inside or outside wwwroot)
  3. The image is displayed in the browser but it is resized... on-demand

The on-demand resizing is my main problem. In PHP I could use phpThumb library that allows me to specify a filename and max width/height in a query string. The library resizes the images accordingly, in addition, it caches the copy of the image so that next time the same image with same width/height is requested it is served from the cache.

Can I implement such a solution in classical ASP, if possible with open-source components? ImageMagick?


Solution

  • It would appear that ImageMagick has a COM+ component that can be used for this purpose.

    Another mature (though I don't think it's free) library that's commonly used for this is AspJpeg.