As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at firstname.lastname@example.org and provide your corporate email address, company, and name.
Hi All, I need the reports generated (in PDF format) to be converted to JPEG format and held in word document template so that the user can manually open the word document edit it and get it printed. I was able to embed the images (chart, graph etc) in to the word document using VB Script but I was not able to hold the PDF in JPEG Format. Is there any possibility to convert or hold PDF files as JPEG format (other than graphs) in WEBFOCUS .Any suggestions in this issue is highly appreciated. I’m using WebFocus Developer Studio Version 7.1.7.
Not within the WF environment or using WF tools. PDF is one format, JPEG is another so a PDF cannot be held as JPEG. However, we do something similar for imaging documents, but it all happens outside of WF. WF generates the PDF and saves (or FTP's) to a directory location which is monitored by a conversion tool. Anytime it finds a PDf in its directory it converts it from PDF to TIFF format (I believe this is a freeware tool, but i don't know anything more about where it came from) and sends it to the process which creates a document for our imaging system from the TIFF file.
Unfortunately, the document is no longer available to the WF tools so it can't be processed or distributed any further within WF.
Maybe your answer is just to create an HTML layout page so all of the objects are available to the user and can be copied/pasted into their own word docs which they can edit to their own content.
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
You could also check OmniFormat, which is a free conversion tool that accepts multiple input and output formats (among which pdf and jpg). From the look of it, this product is quite capable of doing what you want it to do.
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
If you wanted to do it in code, try ImageMagick . It's basically a command-line image manipulation tool. We use it to convert photos on the fly in a windows environment, but it works across several platforms. As long as your PDFs are not encrypted or otherwise protected, you can convert them with a simple one-line command that can be executed from within a fex.