[−][src]Module photon::helpers
Helper functions for converting between various formats
Functions
dyn_image_from_raw | Convert a PhotonImage to a DynamicImage type (struct used by the |
get_pixels | Get raw pixels (as a vec of u8s) from a DynamicImage |
open_dyn_image | |
save_dyn_image | Save a DynamicImage to a path. |
square_distance | Gets the square distance between two colours |