rubdos[m] | What is a good location to temporarily store a file that I want to share via the share API/transfer engine? | 11:31 |
---|---|---|
rubdos[m] | I currently had one in .cache/be.rubdos/harbour-fisheye, but " It is possible that an application tries to share a file private to that application and that may fail as your application may not have access to it." | 11:31 |
rubdos[m] | so Sailjail restricts that | 11:31 |
rubdos[m] | Same docs talk about UserDirs, but I'm not sure what a good location would be for such a file | 11:31 |
rubdos[m] | Ugh, Whisperfish keep referring to the original file either way, so I'd have to write it in a fixed location anyway | 11:40 |
rubdos[m] | Went with ~/Downloads/FishEye 🤷 | 12:15 |
*** amccarthy is now known as Guest2240 | 14:24 | |
*** amccarthy_ is now known as amccarthy | 14:24 | |
attah | rubdos[m]: i don't think a designed solution exists | 16:18 |
attah | ...or at least that's how i remember the answer when i asked | 16:18 |
attah | https://forum.sailfishos.org/t/sharing-image-from-messages-does-not-work-conceptual-problem-with-sharing-files-in-place/14985 | 16:19 |
rubdos[m] | You can send the raw bytes too, but the receiving end seems to need support for it too | 16:22 |
attah | and for plaintext it seems you have no option | 16:23 |
attah | Would be fun to experiment with file descriptor... but i still haven't reintegrated the core of seaprint after breaking it out to a lib | 16:26 |
rubdos[m] | ... now I wanna try sending a picture straight from my camera to a photo printer via FishEye and SeaPrint | 16:39 |
rubdos[m] | just for the meme! | 16:39 |
attah | Do it! | 17:08 |
rubdos[m] | I'll have to find a photo printer then, but if I come across one, I will! :D | 17:53 |
attah | I'm preemptively laying the foundation for respecting printer maximum jpeg dimensions as we speak xD | 17:55 |
attah | Or perhaps not. Libjpeg (and reimplementations) are not exactly making it easy | 19:03 |
rubdos[m] | My cam only has 20MP, should be fine :'-) | 19:13 |
attah | Looking over the dumps i have... the by far lowest one is still 50MP | 19:15 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!