Pdf Documents url should not be streamed inside readImage