% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{rdesk_plot_to_base64}
\alias{rdesk_plot_to_base64}
\title{Convert a ggplot2 object to a base64-encoded PNG string}
\usage{
rdesk_plot_to_base64(plot, width = 6, height = 4, dpi = 96)
}
\arguments{
\item{plot}{A ggplot2 object}

\item{width}{Width in inches (default 6)}

\item{height}{Height in inches (default 4)}

\item{dpi}{DPI resolution (default 96)}
}
\value{
A base64-encoded PNG string or a fallback error plot
}
\description{
Convert a ggplot2 object to a base64-encoded PNG string
}
