Issue Description
One of the more frequent errors happens when a cell phone image is sent to KnowledgeLake. The error is due to a high Bit depth value. Currently, our tool kit only supports up to 32-bit images. Therefore when a batch is above the 32-bit depth, it will be placed into your error queue and will have the following error message:
System.Management.Automation.CmdletInvocationException: Unsupported BitsPerPixel value. *2284931276864,2546876 ---> Kofax.OmniPageCSDK.Objects.CSDKException: Unsupported BitsPerPixel value. *2284931276864,2546876 at Kofax.OmniPageCSDK.Objects.CSDKException.Check(RECERR recerr, Boolean raise) at Kofax.OmniPageCSDK.Objects.Page..ctor(ImageFile file, Int32 index, SettingCollection settings, Boolean datastream) at KL.FileProcessing.Convert.Nuance.BaseConverter.<ConvertFiles>d__14.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at KL.FileProcessing.Convert.Nuance.BaseTiffConverter`1.<Convert>d__7.MoveNext() at KnowledgeLake.Cmdlet.Rendition.Cmdlets.Base.BaseConvertCmdlet.<ProcessStreams>d__11.MoveNext() in F:\agent\_work\1\s\Plugins\Main\Source\Rendition\KnowledgeLake.Cmdlet.Rendition\Cmdlets\Base\BaseConvertCmdlet.cs:line 78 at KnowledgeLake.Cmdlet.Rendition.Cmdlets.DocumentFilesToTiff.ConvertDocumentFilesToTiff.<Run>d__2.MoveNext() in F:\agent\_work\1\s\Plugins\Main\Source\Rendition\KnowledgeLake.Cmdlet.Rendition\Cmdlets\DocumentFilesToTiff\ConvertDocumentFilesToTiff.cs:line 169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at KnowledgeLake.Cmdlet.Rendition.Cmdlets.DocumentFilesToTiff.ConvertDocumentFilesToTiffCmdlet.ProcessRecord() in F:\agent\_work\1\s\Plugins\Main\Source\Rendition\KnowledgeLake.Cmdlet.Rendition\Cmdlets\DocumentFilesToTiff\ConvertDocumentFilesToTiffCmdlet.cs:line 43 at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at WorkerX.Laborer.ExecutePowerShellWithFlags(WorkItem& workitem, String command, String& errorOutput, Boolean& hadTerminatingException, Object& outputFromRoutingExpression, Nullable`1 executionid, Boolean useLocalFunctions) at WorkerX.Laborer.ExecuteWorkflow(WorkItem& workItem)
In order to check the bit depth of an image, use the following steps:
- Locate the image on your device or export it from your batch within KnowledgeLake by highlighting the document that has your image within the batch and exporting it to your device
- Right-click the image file, select Properties, then click on the Details Tab at the top of the new window
- Then locate the "Image" section of the details window and look for Bit Depth.
- If the Bit depth number says 32 or less, it will go through KnowledgeLake without erroring. However, if the number is higher than 32 you may see the error message above.
Comments
0 comments
Please sign in to leave a comment.