Fix Image management (BMP, BMPtoJPEG) and remove debug info from AWS Upload
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user