I am optimizing the images of a website using css sprites, but it is very difficult to do it all the times, because styles change, images change, css changes, everything changes with time. I wish to integrate an image optimizer algorithm into our VisualStudio add-in, but I need to make a lib to do it, or find an already existing lib that does it.
I need something like this:
- input: list of images (e.g. list of Image objects, list of image files, whatever...)
- output: css-file + single-image-file
Please, I need suggestions on how to automate this process as much as possible.
By the way, it could be an external program, it does not need to be a library, but I prefer a library. Also it does not need to be in C# or VB or anything... but it must be something that I can call from C# code, but again I prefer that it is a .Net assembly or C# code.
Thanks.