I have JPGs that I want to run a couple CSS operations on server-side, for instance, crop and round corners, then served these processed JPGs to clients. The clients can't interpret CSS, they can only render JPGs.
Is there a tool that can do this, maybe some sort of commandline web browser?
Edit: I really want this to be CSS, there are other tools for processing images but CSS is what I'm looking for.