Our client would like to obtain the SDK for PhotoDocs. I'm not aware of there being a separate SDK for this. Is this so? If so, how would they obtain it?
Our client would like to obtain the SDK for PhotoDocs. I'm not aware of there being a separate SDK for this. Is this so? If so, how would they obtain it?
This is not something that is currently available. Can you provide some examples of what they are trying to do with a PhotoDocs SDK?
I know this is an old thread, but in our environment we receive a lot of documents via electronic submission, and most come in all color.
We do not have the option of converting to monochrome on import as they frequently contain color photos/images.
We receive 2,500+ of these documents daily, and some contain as many as 1,000 pages, so manually processing them with PhotoDocs is simply not an option.
However, the need to convert eligible pages to monochrome exists as when all pages are in color documents can easily be over 1GB each.
The ability to access PhotoDocs processes through the SDK or SDK Scripts in Workflow would make a huge difference as we could significantly reduce our document sizes with an automated process.
I've been able to use components found in Laserfiche.Imaging to remove color from documents that I import. It looks like there are other things that you can do, but I haven't had a need yet.
var reportImage = new MemoryStream(RenderReport(data)); var decoder = new LfiBitmapDecoder(reportImage, BitmapCreateOptions.None); var encoder = new LfiBitmapEncoder(LfiContainerFormat.Tiff); // We need to do some gyrations because SSRS outputs multi-page TIFFs that also have RGB sub-pixel rendering. foreach (var frame in decoder.Frames.ToList()) { LfiBitmapSource source = new LfiWriteableBitmap(frame.DecodeBitmap()); var bw = new LfiGrayscaleThresholdBitmap(source, BITONAL_THRESHOLD); var newFrame = new LfiBitmapFrame(bw, LfiBitmapCodec.FaxGroup4); encoder.Frames.Add(newFrame); } var ms = new MemoryStream(); encoder.Save(ms);
Hi Justin,
The following is what our customer said.
We are doing low level automation that requires images to be boosted in contrast. I have researched multiple third party software and it seems that PhotoDocs component does it best.
I am aware of batch processing of images in Photodocs. This approach is not in line with what we are doing. We need a way to trigger the process completely electronically from background processes.
The brightness and contrast functionality found in PhotoDocs is implemented using an SDK component named LaserficheImaging; the same algorithm is implemented in the LfBrightnessContrastAdjustedBitmap class.
That said, in general PhotoDocs image processing capabilities are not available through the SDK, and PhotoDocs does not have any scripting capability. The brightness and contrast algorithm is an exception to this.
For licensing or procurement questions about the SDK, please refer to your Regional Manager.
Justin, since this is something that is not currently available, will it be in the future?