I know it's probably not easy to do this, especially when the picturebox can't be seen...

I've tried saving an image in a picturebox as a BMP and the using bmp2jpeg.dll to convert it to a smaller jpeg file, but, this dll has memory issues, it never releases the memory it uses to load and convert images.

I need to run this in a loop, so speed would be nice, do you have any ideas?