public object Clone() { cPicture pic = new cPicture { pImageDescription = this.pImageDescription, pJpeg = this.pJpeg, pJpegFileName = pJpegFileName, pIsPlateImage = pIsPlateImage }; return(pic); }
public bool ResizeAndValidate(cPicture pic, out string message) { message = ""; try { pic.pJpeg = cImage.ResizeImage(pic.pJpeg, pImageMaxSize); } catch (Exception ex) { message = pic.pJpegFileName + " Error, " + ex.Message; return(false); } return(true); }