Local images in the <img> tag
The docs say:
"same as https://github.com/DantSu/ESCPOS-ThermalPrinter-Android/tree/2.0.11#formatted-text--syntax-guide except for the tag
place the image url directly between the img tags"
Is it possible to print images from the local file system or from memory?
Yes it's possible, feel free to open a pull request :)
Would you let me know what is the status on this , have you implemented it . If so how to use it
Would you let me know what is the status on this , have you implemented it . If so how to use it
No it has not been implemented as of now
@AllInOneYT Is printing from local Image Implemented? @Roshankurikkal @SteveMelons @Lenny4 how did you guys add local images?
@AllInOneYT Is printing from local Image Implemented? @Roshankurikkal @SteveMelons @Lenny4 how did you guys add local images?
I managed to do it on android using some special syntax for the file path. Let me check my code as soon as I can and then I'll let you know.
okay, that will be of great help
[C]<img>file:///android_asset/logo-black-white-small.jpg</img>\n
This accesses the apps local storage
thank you for this
Hey @SteveMelons , are you using relative path here? if so, is it relative path from your App.tsx to your resource or from your app itself to the resource after compilation?
Hey @SteveMelons , are you using relative path here? if so, is it relative path from your App.tsx to your resource or from your app itself to the resource after compilation?
file:///android_asset/ directly corresponds to android/app/src/main/assets/
How will you change the size of these images so as to print a bigger image