forum-msg-id-134007-edit

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:
https://rosettacode.org/wiki/Percentage_difference_between_images#Phix

This will load a png and extract the pixels (but do something else with them):
https://rosettacode.org/wiki/Color_quantization#Phix
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

Search



Quick Links

User menu

Not signed in.

Misc Menu