4#ifndef MRIOEXTRAS_NO_JPEG
19MRIOEXTRAS_API Expected<Image>
fromJpeg(
const std::filesystem::path& path );
20MRIOEXTRAS_API Expected<Image>
fromJpeg( std::istream& in );
21MRIOEXTRAS_API Expected<Image>
fromJpeg(
const char* data,
size_t size );
29MRIOEXTRAS_API Expected<void>
toJpeg(
const Image& image,
const std::filesystem::path& path );
MRIOEXTRAS_API Expected< Image > fromJpeg(const std::filesystem::path &path)
loads from .jpg format
MRIOEXTRAS_API Expected< void > toJpeg(const Image &image, const std::filesystem::path &path)
saves in .jpg format
Definition MRCameraOrientationPlugin.h:8
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:29