require_once "TcnImageConfig.php"; require_once "DbConnection.php"; //-------------------------------------------------------------------------------------------// //End of variable assignment. Don't modify code below. date_default_timezone_set('America/Phoenix'); $specManager = new SpecProcessorManager($dbMetadata); //Set variables $specManager->setCollArr($collArr); $specManager->setDbMetadata($dbMetadata); $specManager->setSourcePathBase($sourcePathBase); $specManager->setTargetPathBase($targetPathBase); $specManager->setImgUrlBase($imgUrlBase); $specManager->setWebPixWidth($webPixWidth); $specManager->setTnPixWidth($tnPixWidth); $specManager->setLgPixWidth($lgPixWidth); $specManager->setJpgCompression($jpgCompression); $specManager->setUseImageMagick($useImageMagick); $specManager->setCreateTnImg($createTnImg); $specManager->setCreateLgImg($createLgImg); $specManager->setKeepOrig($keepOrig); $specManager->setCreateNewRec($createNewRec); $specManager->setCopyOverImg($copyOverImg); $specManager->setLogPath($logPath); $specManager->setSilent($silent); //Run process $specManager->batchLoadImages(); class SpecProcessorManager { private $conn; //pmterm = Pattern matching terms used to locate primary key (PK) of specimen record