i'm writing NDEF data with a MIME type of text/plain to a MiFare classic 4k NFC tag , i also have to store a jpg (or any other possible format)in the NFC tag,i'm wondering how this could be done.
While anything is possible, saving a reference/link to an image is the preferred solution.
In general, I'd advice to minimize the amount of data stored on the tag. This will reduce read/write times and thus user errors.
Many tag types can not hold 4k of data, so you are basically locking into an obsolete (mifare classic) tag type which has decreasing chipset support in Android devices.