% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mtmd.R
\name{llama_image_load}
\alias{llama_image_load}
\title{Load an image file into an mtmd bitmap}
\usage{
llama_image_load(mctx, path)
}
\arguments{
\item{mctx}{An mtmd context from \code{\link{llama_mtmd_load}}.}

\item{path}{Path to the image file.}
}
\value{
An external pointer wrapping the bitmap. Freed automatically by the
  garbage collector.
}
\description{
Decodes an image (jpg, png, bmp, gif, ...) into the bitmap representation the
encoder expects. Uses the vendored stb_image decoder.
}
