Hi has anybody experimented in storing a <5 byte image in form of jpg,gif,png on a vcf and then write it on NFC 216 label later. I just need a small 2x2 pixel color square embedded in NFC without any external reference like URL,Links etc.This is for a LORA based project.
Have tried the following encode64 and is of no use
has anybody taken the smartposter ndef approach or custom data approach,keen to have inputs from others who have tried or keen on trying
Images tend to have a magic number at the start to identify the format - Most of these are longer than 5 bytes. Some examples:
File Magic Numbers · GitHub
In almost all cases, you’d be better off just encoding the data in those bytes and reading it - you could always display it with another app.
The whole issue is not in identification but in processing it within Vcf formatting… An embedded example of a jpeg or png or gif in a vcf would help
I think these links may help you
I’m continuing this here from
this post because it would become really OT in the other thread. @Pilgrimsmaster: maybe you could transfer the other post in here for consistency?
So, I have a nice short PDF that fits in a DESFire EV2. I figured I’d give burning it into one of my test cards a shot, to see how long it takes to read back, and I’m running into a really basic problem that I didn’t even think about: how to stick a PDF into an NDEF?
Long story short, TagWriter doesn’t kn…
And more Specifically this one with the webp image
I’ve done some more research and testing, and I found a two ways to increase photo quality even more:
1/ Decrease the image saturation: the end result looks less colorful, but the size of the compressed image decreases significantly
2/ Change file format from JPEG to WEBP. I’ve done tests on a few Android cellphone, and it turns out they all support WEBP natively down to at least Android v5. And boy! is WEBP better than JPEG or what! For the same final size, a WEBP image has a higher resolutio…
Would love to here more about this