Copy link to clipboard
Copied
Hello Adobe Team
We are interested in a project, creating PDF Portfolio document from Memory Stream (Images saved in SQL Database in System. Bytes format) . Currently we are using Visual Studio 2017 (Vb.Net desktop) and wanted your advice on compatibility.
If it is possible, is there any technical support for the functionality.
Hoping to hear soon from you.
Best Regards
JP
Copy link to clipboard
Copied
Are you looking for a server solution, to run on the server where the SQL database is?
Or an interactive tool, to run as an add on for Acrobat Pro where the user is logged in?
Or something else?
System.Bytes is not an image format, it is an array of bytes. You need to know the actual image format used before any conversion can be considered.
Copy link to clipboard
Copied
Hi Test Screen Name,
Thank you for the quick reply.
In response to your questions below:
“Are you looking for a server solution, to run on the server where the SQL database is?"
We are looking for solution to integrate in our VB.Net (desktop) application.
"System.Bytes is not an image format, it is an array of bytes. You need to know the actual image format used before any conversion can be considered."
Our project in VB.Net converts the System.Bytes to a bitmap which is then converted to .JPEG by the code. But, if PDF Portfolio can handle/convert the Sytem.Bytes to any image format to be exported to PDF, it will be much preferred.
The requirement is that we export this converted image to PDF (PDF Portfolio).
Hope that answers your questions. Please let me know if you have any further queries regarding the same.
Best Regards,
JP
Copy link to clipboard
Copied
Ok, for a desktop solution (where users have licensed Acrobat Pro), this may be possible. But working with portfolios seems very difficult and/or poorly documented. See this thread for example: Insert pdf into a Portfolio via Javascript .
Have you downloaded the Acrobat SDK? This contains the essential documentation for all PDF developers. Check the JavaScript and IAC documentation.
System.Bytes is not an image format as I have said. If your VB.Net runtime has a converter to bitmap format, this is a private format and API and you would either need to convert the byte values yourself or convert to a known image format or to PDF.
Copy link to clipboard
Copied
Hi Test Screen Name,
Thank you very much for the reply.
As you mentioned, could you advise on how we could achieve this with Adobe Acrobat Pro? We are licensed for this product.
I have downloaded the SDK and associated documentation, but there was not anything there specific to Microsoft Visual Basic .NET, which is the platform we are developing on. Are you able to provide any more information or assist with this?
Best Regards,
JP
Copy link to clipboard
Copied
Acrobat Pro offers an OLE interface. If your development environment supports OLE you can use this. The crucial interface is the JavaScript bridge. This was written only from VB but some people seem to have had success using it with other environments.