You are viewing limited content. For full access, please sign in.

Question

Question

PhotoDocs SDK

SDK
asked on June 18, 2014

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?

 

0 0

Replies

replied on August 17, 2015

Has there been any discussion or release of the SDK for Photodocs?

 

1 0
replied on August 18, 2015

There are currently no plans to make available the imaging code used by PhotoDocs in an SDK.

0 0
replied on June 19, 2014

This is not something that is currently available. Can you provide some examples of what they are trying to do with a PhotoDocs SDK?

0 0
replied on September 12, 2018

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.

0 0
replied on October 2, 2018

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);

 

0 0
replied on June 19, 2014

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.

 

0 0
replied on September 10, 2015 Show version history

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.

0 0
replied on June 26, 2014

Justin, since this is something that is not currently available, will it be in the future? 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.