A MMX/SSE2 accelerated library for manipulating JPEG image files