![]() |
Prusa Slicer 2.6.0
|
Classes | |
| struct | CompressedImageBuffer |
| struct | CompressedJPG |
| struct | CompressedPNG |
| struct | CompressedQOI |
Functions | |
| std::unique_ptr< CompressedImageBuffer > | compress_thumbnail_png (const ThumbnailData &data) |
| std::unique_ptr< CompressedImageBuffer > | compress_thumbnail_jpg (const ThumbnailData &data) |
| std::unique_ptr< CompressedImageBuffer > | compress_thumbnail_qoi (const ThumbnailData &data) |
| std::unique_ptr< CompressedImageBuffer > | compress_thumbnail (const ThumbnailData &data, GCodeThumbnailsFormat format) |
| template<typename WriteToOutput , typename ThrowIfCanceledCallback > | |
| void | export_thumbnails_to_file (ThumbnailsGeneratorCallback &thumbnail_cb, const std::vector< Vec2d > &sizes, GCodeThumbnailsFormat format, WriteToOutput output, ThrowIfCanceledCallback throw_if_canceled) |
| std::unique_ptr< CompressedImageBuffer > Slic3r::GCodeThumbnails::compress_thumbnail | ( | const ThumbnailData & | data, |
| GCodeThumbnailsFormat | format | ||
| ) |
References compress_thumbnail_jpg(), compress_thumbnail_png(), compress_thumbnail_qoi(), Slic3r::format(), Slic3r::JPG, Slic3r::PNG, and Slic3r::QOI.
Referenced by export_thumbnails_to_file().
Here is the call graph for this function:
Here is the caller graph for this function:| std::unique_ptr< CompressedImageBuffer > Slic3r::GCodeThumbnails::compress_thumbnail_jpg | ( | const ThumbnailData & | data | ) |
References malloc(), and TRUE.
Referenced by compress_thumbnail().
Here is the call graph for this function:
Here is the caller graph for this function:| std::unique_ptr< CompressedImageBuffer > Slic3r::GCodeThumbnails::compress_thumbnail_png | ( | const ThumbnailData & | data | ) |
References MZ_DEFAULT_LEVEL, and tdefl_write_image_to_png_file_in_memory_ex().
Referenced by compress_thumbnail().
Here is the call graph for this function:
Here is the caller graph for this function:| std::unique_ptr< CompressedImageBuffer > Slic3r::GCodeThumbnails::compress_thumbnail_qoi | ( | const ThumbnailData & | data | ) |
References qoi_desc::channels, qoi_desc::colorspace, qoi_desc::height, qoi_encode(), QOI_SRGB, and qoi_desc::width.
Referenced by compress_thumbnail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References compress_thumbnail(), and Slic3r::format().
Referenced by Slic3r::GCode::_do_export().
Here is the call graph for this function:
Here is the caller graph for this function: