DocuSign rasterization of PDF files of poor quality? - docusignapi

The text on the left is from the originating PDF file, the text on the right is overlayed dynamic data passed into the tab.
The original PDF looks rasterized (likely) is there a way to optimize rasterization to avoid this? I don't see any parameters/mention in the API docs.

I'm a HelloSign API support engineer and happy to help!
When you create the signature request, we do some processing of the document on our servers then present this doc to the signer, and when they've signed we also do some final overlay work with their signature. Unfortunately there's no optimization you can do, we just recommend using PDFs over any other file type as those come out best.

Related

Can Computer Vision (Microsoft Azure) be set to only output specific image tags?

I'm not really too familiar with the programming/coding aspect of Computer Vision. What I can tell from a functional perspective is that it's analyzing an image, then outputting tags based on what it sees. The issue is that the Plugin I use in Wordpress doesn't filter the response of that image analysis. It basically takes my API Key and then echoes the response it receives from Computer Vision to display all of the image tags.
That being said, I have a fairly straight-forward yes or no question. Can Computer Vision be set up to only output specific image tags if they are present in the image? If so, where can I find information on how to do this?
I'm looking at the API reference here: https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f21b
There does not appear to be any setting allowing one to filter the image tags returned by the service. It also appears that the only format it will return a response in is JSON. So the answer would be no.

Does Office 365 image search work? If so, how?

According to Microsoft ("Image Analysis" in https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/Enrich-your-SharePoint-Content-with-Intelligence-and-Automation/ba-p/194174, from May 21, 2018), we should be able to search for text within images.
Is this working for you/anyone? If so, I would like to know what you had to do to get it to work.
I have a SharePoint modern team site with PNG images that contain clearly readable text...but search will not find anything. I have requested re-indexing.
I have had a Microsoft Support request (#10638094) open since June 27 with this question/issue, and no one--even after escalation--has been able to answer it.
Based on the article above, it appears that "MediaService" column(s) should be added to the library to support this; however, I can find no such columns in the environment (using PnP export to review).
Naomi Moneypenny and Kathrine Hammervold highlighted this functionality at Ignite 2017 (https://channel9.msdn.com/Events/Ignite/Microsoft-Ignite-Orlando-2017/BRK2181, about 27:00), but it doesn't seem to be available/working (at least not for me).
August 24: So, after research, digging yet further, I have an escalated support ticket at Microsoft (#10638094, unsolved) and there are conversations at https://techcommunity.microsoft.com/t5/Intelligent-Search-Discovery/Search-for-words-in-your-images-in-Office-365/ba-p/135703, https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/Enrich-your-SharePoint-Content-with-Intelligence-and-Automation/bc-p/236625, and Does Office 365 image search work? If so, how?. I have yet to hear of this functionality working for anyone. I will keep digging, and I will certainly post if I hear anything. J
After some digging, from official it seems already released at the end of 2017. However there is no any related doc or official guide to this Text in image search function.
The 2 way i can think of perform text in image search.
Perform OCR yourself on the image before uploading the image and embed the text in image metadata.
Use support image type like IIRC and TIF that image are recognized.
In your case, you can upload the image and have another column that contains text and apply metadata to the image in a list/ library column.
OneDrive in another hand also has this function. For example, search for things like "cat" and it * should* pull up most pictures you have of cats. Its more likely using tag as label for the image instead of reading the picture it self.
Also, i believe OneNote has its index recognizable text and handwriting. Maybe this can point you to the right directions.
*Microsoft Azure's computer Vision offer service to recognized text in image. Maybe this can help.
"Is this working for you/anyone?" Yes, I responded to this post elsewhere and see it posted here, as well. Unfortunately, I cannot tell you HOW to get it to work or to verify that it is correctly configured. I can only suggest a test for you to see if it is working for you, as it works for me. I have not tested every way in which it could or should work. I have only discovered it working with PNGs I inserted into Wiki Pages in SharePoint Online. Those PNGs are generated using Snag-It to take Screen Captures and I do not see where Snag-It would be doing any OCR on the image to embed anything, etc. OCR is not even in the Snag-It help file, so I believe the PNG files are just simple PNGs. I insert them into the SharePoint Wiki page, which uploads them to the Site Assets library. And, when I search for a word in the image, the image is returned as a result - not the Wiki page. So, suggest you try a simple test of just inserting a PNG with text in it into a Wiki Page and give the index a bit of time to run to see if it works for you.
It seems like the functionality has matured recently. I have been testing it more thoroughly, and I have documented the results in my blog at http://www.collaboration-foundry.com/SharePointImageAnalysis.
Bottom line: It works for me in OneDrive and SharePoint (modern and classis), but I've only seen it work on the out-of-the-box Document content type--which limits custom solutions somewhat.
It's cool functionality when it works. Looking forward to seeing Microsoft build on this.
John

Google Docs: Table of content page numbers

we are currently building an application on the google cloud platform, which generates reports in Google Doc. For them, it is really important to have a table of content ... with page numbers. I know this is a feature request since a few years and there are add-ons (Paragraph Styles +, which didn't work for us) that provide this solution, butt we are considering to build this ourselves. if anybody has a suggestion on how we could start with this, it would be a great help!
thanks,
Best bet is to file a feature request on the product forums.
Currently the only way to do that level of manipulation of a doc to provide a custom TOC is to use Apps Script. It provides access to the document structure sufficient enough to build and insert a basic table of contents, but I'm not sure there's enough to do paging correctly (unless you force a page break on ever page...) There's no method to answer the question of "what page is this element on?"
Hacks like writing to a DOCX and converting don't work because TOCs are recognized for what they and show up without page numbers.
Of course you could write a DOCX or PDF with the TOC as you'd like and upload as a blob rather than as a Google Doc. They can still be viewed in Drive and such.

DocuSign - Word/Pdf/Html file send

I am using .net to integrate with DocuSign however I have a requirement to take a pdf/word/html file and send it via docusign but before add a few fields to the document. I believe adding the fields should be possibly from what I have read but I am unsure how to send the pdf / word / html file directly? Please note, I will not be using a template stored in DocuSign and filling in the fields.
Other question, if I do use a template, I see you can attach other documents but can I merge the template doc and my doc I am uploading into one or will it send two different files?
Thanks,
Alex
Yes what you want is to send a Signature Request on a Document (as opposed to on a Template) which is easy to do, you just need to make a multipart/form-data POST request. Have you gone through the DocuSign Developer Center and subsequently the API Tools page? One of the tools is the API Walkthroughs, which shows 9 of the most common API use cases, and you'll see that the 4th one (the middle left square) is titled "Request Signature on Document".
That code walkthrough shows in 6 different languages how to send a signature request on a local document- not sure what stack you're using since you didn't tag a language. You can copy the source for you're stack and fill in the variables (or mimic the code if your language is not listed) and that will request a signature on a document.
NOTE 1: These samples place one signature tab at location (100, 100) to just show how to use absolute positioning. You can alternatively use relative (or anchor) positioning, see Dev Center for more info.
NOTE 2: Most of the code samples send a PDF and therefore use a Content-Type of application/pdf. You will have to change that for your various document types.
To answer your question on if you can merge template documents with a local document(s) and send in one single request- Yes, you can use Composite Templates to accomplish that.

Obfuscate Images in EaselJS

Is there any way to protect your sprites on EaselJS?
Currently is too easy to download the sprites.
On chrome just go to console -> resources like this
I made a resarch before i made this answer and found this topic .
That could be very nice. Also we don't need to save the slices in a json like he said, if we have a shuffle seed.
But, i didn't find any thing in nodejs(back-end) to make this image shuffle.
I tried Node GM but its looks too complicaded to bind a image on top of another with (w,h,x,y,offsetX,offsetY)
I know always will have a way to "hack" the resource. But at least offer some difficult.
One of the simple approaches is to encode images to base64, store them as part of Javascript and decode at runtime. See:
Convert and insert Base64 data to Canvas in Javascript
But obviously this will increase download size.
Personally, I would not go this route for "normal" applications or games, unless it is really justified or put on me as an external requirement. For example, one can easily extract assets from the android APK, but this does not seem an area of concern for most of the developers.
The user's browser downloads those images whether you want it or not. Otherwise, they wouldn't be able to display them.
At any given time, any user can just right click on any image on the site and click SAVE AS, you can't stop it, and you shouldn't try.
If you don't want people downloading your work, don't put it on the public facing internet.

Resources