Implements image manipulation functions for VpinMdb media. More...
Functions | |
bool | vpinmdb::resizeImage (const fs::path &srcPath, int width, int height) |
Resizes an image to the specified dimensions if resizeToWindows is true. | |
bool | vpinmdb::rotateImage (const fs::path &srcPath, bool shouldRotate) |
Rotates an image 90 degrees clockwise if shouldRotate is true. | |
Implements image manipulation functions for VpinMdb media.
This file provides the implementation for resizing and rotating images using FFmpeg.
bool vpinmdb::resizeImage | ( | const fs::path & | srcPath, |
int | width, | ||
int | height | ||
) |
Resizes an image to the specified dimensions if resizeToWindows is true.
srcPath | Source image path. |
width | Target width. |
height | Target height. |
bool vpinmdb::rotateImage | ( | const fs::path & | srcPath, |
bool | shouldRotate | ||
) |
Rotates an image 90 degrees clockwise if shouldRotate is true.
srcPath | Source image path. |
shouldRotate | Whether to perform rotation. |