Create a buffer of theoretically smallest JPEG