How do I down scale a jpeg image while decoding it?