orgzly / orgzly-android

Outliner for taking notes and managing to-do lists
https://www.orgzly.com
GNU General Public License v3.0
2.7k stars 304 forks source link

Supporting inline Base64 encoded images #550

Open purplefishies opened 5 years ago

purplefishies commented 5 years ago

So I found there's some code in emacs and org mode additions that would allow you to take a photo ( screencapture ) and save it inline as Base64 encoded image within org mode

I was interested in this functionality from within Orgzly. Right now I use the awesome functionality of being able to display images from within the /sdcard/ location ( In my case /sdcard/Receipts ).

The problem I have is when I want to share the org file with someone else or put it on Dropbox it is a big hassle to figure out how to send the Image data with it.

If you follow the code from that emacs page, you essentially get inline images that are generated from the tag [[img:SOME_LONG_BASE64_STRING]] . The base64 strings are generally a single line.

I wanted to check with you to find out if there's a push to get allow Orgzly to take photos or even if it is something you'd want in your app and then find out if this kind of feature could get included with a pull-request ?

Note the tag img: is just what the author in the other site used. It would be configurable.

nevenz commented 5 years ago

I don't see a problem with it.