Fix Image management (BMP, BMPtoJPEG) and remove debug info from AWS Upload

This commit is contained in:
2026-04-17 20:59:21 +10:00
parent fcc985efb9
commit a47ea25e8b
4 changed files with 18 additions and 10 deletions

View File

@@ -5594,7 +5594,7 @@ extern "C" __declspec(dllexport) int ANSCV_ImagesToMP4_S(
const char* imageFolder,
const char* outputVideoPath,
int maxWidth, int fps) {
return ANSCV_ImagesToMP4FF_S(imageFolder,outputVideoPath,maxWidth,fps);
//return ANSCV_ImagesToMP4FF_S(imageFolder,outputVideoPath,maxWidth,fps);
try {
if (!imageFolder || strlen(imageFolder) == 0) {
std::cerr << "Error: Invalid image folder path!" << std::endl;
@@ -6626,7 +6626,7 @@ struct BmpInfoHeader {
extern "C" __declspec(dllexport) int ANSCV_ImageToBmp(cv::Mat** imageIn, int maxWidth, int& newWidth, int& newHeight, LStrHandle outputImage) {
return ANSCV_GetImage_S(imageIn,maxWidth,80,newWidth,newHeight,outputImage);
//return ANSCV_GetImage_S(imageIn,maxWidth,80,newWidth,newHeight,outputImage);
try {
if (!imageIn || !(*imageIn) || (*imageIn)->empty() || !outputImage) {
ANS_DBG("ANSCV", "ImageToBmp: invalid input");