react-native-pdf-thumbnail icon indicating copy to clipboard operation
react-native-pdf-thumbnail copied to clipboard

The generated image is not the same as the original PDF file on IOS, but Android is working fine.

Open ngocntuet1702 opened this issue 1 year ago • 0 comments

Environment

"react": "18.2.0", "react-native": "0.71.8", "react-native-pdf-thumbnail": "^1.3.1"

Description

I tried with a PDF file on the internet but strangely, the generated image is not the same as the original PDF file on IOS (I tried with many files but only found this file strange). The image appears adding an outer border as shown below:

      image

  • The generated image from react-native-pdf-thumbnail: The original PDF is in the green border, and the generated image is in the red border. Therefore, the width and height of the generated image are also incorrect.

      image

My repository

https://github.com/ngocntuet1702/pdf-thumbnail-example

ngocntuet1702 avatar Jan 16 '24 03:01 ngocntuet1702