[PD] convert an image into a string of characters

tim vets timvets at gmail.com
Fri Mar 1 10:56:21 CET 2013


in case you mean to convert it to ascii art:

    Here are hex values of common grey-scale ASCII Characters in order from
    darkest to lightest:

    # = 23
    @ = 40
    8 = 38
    % = 25
    O = 4F
    o = 6F
    " = 22
    ; = 3B
    , = 2C
    ' = 27
    . = 2E
      = 20

and map the grey values of a 'low-res' version of your image to these
characters somehow...
gr,
Tim


2013/3/1 IOhannes m zmölnig <zmoelnig at iem.at>

> On 03/01/2013 05:46, ronni montoya wrote:
> > Hi, i was wondering how can i convert an image into a string of
> > characters in pd?
> > Is there is an easy way of doing this?
>
> what does "convert an image into a string" mean?
>
> you can load the image with mrpeach's [binfile] (or try loading it as a
> raw audio file into a table), and then use something like [string2any]
> to convert it into a string.
>
>
> fgmadsr
> IOhannes
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130301/6f814e12/attachment.htm>


More information about the Pd-list mailing list