Defines image manipulation functions for VpinMdb media in ASAPCabinetFE. More...
#include "log/logging.h"#include <filesystem>#include <string>
Include dependency graph for vpinmdb_image.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
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. | |
Defines image manipulation functions for VpinMdb media in ASAPCabinetFE.
This header provides functions for resizing and rotating images using FFmpeg, used for table media.
| 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. |
Here is the call graph for this function:
Here is the caller graph for this function:| 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. |
Here is the call graph for this function:
Here is the caller graph for this function: