defmodule ImageProcessingLib.Example do def run_example do case ImageProcessingLib.resize_image("path/to/image.jpg", 800, 600) do {:ok, resized_path} -> IO.puts "The resized image was saved in #{resized_path}" {:error, reason} -> IO.puts "Error when resizing the image: #{reason}" end case ImageProcessingLib.apply_filter("path/to/image.jpg", "sepia") do {:ok, filtered_path} -> IO.puts "The filtered image was saved in #{filtered_path}" {:error, reason} -> IO.puts "Error when applying the filter to the image: #{reason}" end end end