This commit is contained in:
parent
001eaf65cf
commit
8b1b6ce505
|
@ -166,6 +166,7 @@ HGResult Dialog_ExportImageFile::processMultiFileOcr()
|
|||
ret = HGImgProc_AddToImageOCRList(ocrMgr, img);
|
||||
HGBase_DestroyImage(img);
|
||||
++handleCount;
|
||||
emit updateProgress(handleCount);
|
||||
|
||||
if (HGBASE_ERR_OK != ret)
|
||||
{
|
||||
|
@ -261,6 +262,7 @@ HGResult Dialog_ExportImageFile::processMultiFileGif()
|
|||
ret = HGImgFmt_SaveImageToGifWriter(gifWriter, 200, HG_MAKECOLOR(255, 255, 255, 255), img);
|
||||
HGBase_DestroyImage(img);
|
||||
++handleCount;
|
||||
emit updateProgress(handleCount);
|
||||
|
||||
if (HGBASE_ERR_OK != ret)
|
||||
{
|
||||
|
@ -348,6 +350,7 @@ HGResult Dialog_ExportImageFile::processMultiFile()
|
|||
ret = HGImgFmt_SaveImageToWriter(imgFmtWriter, img, &saveInfo);
|
||||
HGBase_DestroyImage(img);
|
||||
++handleCount;
|
||||
emit updateProgress(handleCount);
|
||||
|
||||
if (HGBASE_ERR_OK != ret)
|
||||
{
|
||||
|
@ -440,6 +443,7 @@ HGResult Dialog_ExportImageFile::processSingleFile()
|
|||
ret = MainWindow::saveImage(img, &saveInfo, m_isOcr, getStdString(fileName).c_str());
|
||||
HGBase_DestroyImage(img);
|
||||
++handleCount;
|
||||
emit updateProgress(handleCount);
|
||||
|
||||
if (HGBASE_ERR_OK != ret)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "mainwindow.h"
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include <QDockWidget>
|
||||
#include <QFileDialog>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef MAINWINDOW_H
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
|
Loading…
Reference in New Issue