Original date:2019-07-02 14:04:31 Edited by: petelomax Subject: Re: Euphoria vs Python vs Go vs Rust

This only works on ppm files:

This will load a png and extract the pixels (but do something else with them):
Note that (my) im_pixel() routine only works on IM_RGB so it uses imImageRemoveAlpha() as a work-around.

Between the two of them, and a fixed im_pixel(), should be everything you need.

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu