% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chrome.R
\name{convert_svg_with_session}
\alias{convert_svg_with_session}
\title{Convert a single SVG using an existing Chrome session}
\usage{
convert_svg_with_session(b, svg_content, scale, background, load_wait = 0.5)
}
\arguments{
\item{b}{ChromoteSession object.}

\item{svg_content}{SVG content string (already sanitized).}

\item{scale}{DPI scale factor.}

\item{background}{Background color.}

\item{load_wait}{Seconds to wait for page load (default 0.5).}
}
\value{
Base64 encoded PNG string.
}
\description{
Internal helper that renders an SVG to PNG using an existing Chrome session.
Uses fixed-time waiting instead of event-based waiting for reliability.
}
\keyword{internal}
