FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_image Namespace Reference

Image processing utilities. More...

Functions

Value< void > resize (fs::path const &path_file_src, fs::path const &path_file_dst, uint32_t width, uint32_t height)
 Resizes an input image to the specified width and height.
 

Detailed Description

Image processing utilities.

Handles image file operations including PNG and JPEG processing, icon resizing using ImageMagick, and format conversion. Supports reading image dimensions, resizing to standard icon sizes, and converting between image formats for desktop integration.

Function Documentation

◆ resize()

Value< void > ns_image::resize ( fs::path const & path_file_src,
fs::path const & path_file_dst,
uint32_t width,
uint32_t height )
inline

Resizes an input image to the specified width and height.

Parameters
path_file_srcPath to the input image file
path_file_dstPath to the output image file
widthTarget width of the output image
heightTarget height of the output image
Returns
Value<void> Nothing on success, or the respective error

Definition at line 115 of file image.hpp.

Here is the caller graph for this function: