Current section
Files
Jump to
Current section
Files
lib/image_processing_lib.ex
defmodule ImageProcessingLib do
@moduledoc """
Image processing library.
"""
@doc """
Resizes an image given a path, width and height.
"""
def resize_image(path, width, height) do
ImageProcessor.resize_image(path, width, height)
end
@doc """
Applies a filter to an image given a path and a filter name.
"""
def apply_filter(path, filter) do
ImageProcessor.apply_filter(path, filter)
end
end