image in db to string to actual image

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Fri Aug 3 03:18:33 EDT 2018


no not ascii art, just an application as described.

thank you very much !

Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Mauritius

On Fri, 3 Aug 2018, 07:45 Gilmeh Serda, <gilmeh.serdah at nothing.here.invalid>
wrote:

> On Thu, 02 Aug 2018 20:35:01 +0400, Abdur-Rahmaan Janhangeer wrote:
>
> > ah those can be used, thanks, and to write the actual image?
>
> pseudo code:
>
> store_to_whatever(path2bin):
>   my_storage.store(uuencode(path2bin))
>
> get_image_from_storage(path2uue):
>   return uudecode(my_storage.read(path2uue))
>
> RTM on uue and its siblings.
>
> Nb with uue you have to make about 30-40% more room for storage, yEnc is
> the smallest, only adds about 5-10% to the output. I believe Mime/Base64
> is somewhere in between.
>
> Just thought of something: you didn't mean to interpret the image as
> ASCII art, did you? UUE and stuff, are not for that.
>
> In that case, look into the software Jave (Java based). I think it might
> be open source.
>
> --
> Gilmeh
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list