Hi! This is cool!
Maybe you need to convert the images to PPM first? Or you can create or use exisiting C library to get the right format you want :) BR, geo > On Jun 20, 2019, at 3:24 PM, JmageK <[email protected]> wrote: > > Hi, all! > I was recently thinking, 'How can you do image processing in picolisp' Like > reading a file, changing some color values, etc. > I tried a basic PNG & jpg file. Using rd it does read but I'm getting binary > output in terminal. And if I try it for a high value (when using jpg) pil > crashes > : (in"file.jpg"(do 9 (prinl (rd]or > : (in"file.jpg"(do 40(PR(rd]For now just knowing how to read the file > contents as an array of color values like if rgb then (255 23 123 23 1 0 44 > 65..) would be sufficient, but a better way is always welcome. I would be > testing with jpg or PNG. > JmageK > -- > Securely sent with Tutanota > > -- > UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
