API Reference¶
pyifx.hsl
pyifx.hsl.brighten (img_paths[, percent, write]) |
Takes image(s) and brightens them. |
pyifx.hsl.darken (img_paths[, percent, write]) |
Takes image(s) and darkens them. |
pyifx.hsl.color_overlay (img_paths, color[, …]) |
Takes image(s) and applies a specified color over it/them. |
pyifx.hsl.saturate (img_paths[, percent, write]) |
Takes image(s) and saturates them. |
pyifx.hsl.desaturate (img_paths[, percent, write]) |
Takes image(s) and desaturates them. |
pyifx.hsl.to_grayscale (img_paths[, write]) |
Takes image(s) and converts them to grayscale. |
pyifx.graphics
pyifx.graphics.blur_gaussian (img_paths[, …]) |
Takes images(s) and blurs them using a gaussian kernel based on a given radius. |
pyifx.graphics.blur_mean (img_paths[, …]) |
Takes images(s) and blurs them using a mean kernel based on a given radius. |
pyifx.graphics.pixelate (img_paths[, factor, …]) |
Takes image(s) and pixelates them based on a given factor. |
pyifx.graphics.detect_edges (img_paths[, write]) |
Takes image(s) and creates new images focusing on edges. |
pyifx.graphics.convolute_custom (img_paths, …) |
Takes image(s) and creates new images that are convoluted over using a given kernel. |
pyifx.comp
pyifx.comp.resize (img_paths, new_size[, write]) |
Takes image(s) and converts them to a given size. |
pyifx.comp.change_file_type (img_paths, new_type) |
Takes image(s) and converts them to a given file type. |
pyifx.comp.rewrite_file (img_paths) |
Takes image(s) and writes them to an output destination based on their properties. |
pyifx.misc
pyifx.misc.PyifxImage (input_path[, …]) |
A class used to create packages of images & their properties created for use with the Pyifx library. |
pyifx.misc.ImageVolume (input_path, output_path) |
A class used to import images from a directory into Python, creating a list of PyifxImage instances. |
pyifx.misc.combine (img1, img2, out_path[, write]) |
Combines the data of two PyifxImages, ImageVolumes, or ImageLists to form new PyifxImages. |