Comments (4)
You can also put the image directly in base64 like this :
"<img src="data:image/jpeg;base64,/9j/4QAYRX............" />"
from react-native-html-to-pdf.
@Nicolas-Menettrier Thanks for tip!
I guess as long as the img src references a locally accessible image I think I should be good.
from react-native-html-to-pdf.
@Nicolas-Menettrier using a base64 image data is not working for me. I am developing for Android?
Is it actually working for anyone else?
from react-native-html-to-pdf.
Using base64 doesn't work for me either any help?
from react-native-html-to-pdf.
Related Issues (20)
- How to Remove padding in android ? HOT 1
- in html content conditional statement are not wokring HOT 2
- PDFs of identical contents have different checksum every run HOT 1
- How can I add a footer & header to each page? HOT 3
- can i use this package on react native windows? HOT 2
- When there is a qrcode in Html it not shows in pdf - android HOT 1
- Crash in iOS HOT 1
- Unable to display pageNumber in pdf for Ios HOT 1
- is there a way to generate pdf without page break?
- Item's background colors is not showing in ios HOT 8
- How to add <img> html tag with local image in RN project folder? HOT 2
- This library is not working in the android SDK 33 HOT 3
- [TypeError: Cannot read property 'convert' of null] HOT 3
- Creating an extra page in the pdf in iOS, when creating page by loops
- Error when building the app on android
- CSS `background-color` and `background` property doesn't work on iOS HOT 5
- generate pdf on a single page HOT 1
- React native html to pdf with <embed><embed/> with ios 17.4
- Cannot read property 'convert' of null : this occurs while using react native expo HOT 1
- padding support for android HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-html-to-pdf.