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.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
we have problems with JPEG Files from a DB in a PDF Report. The Files in the DB are compressed in a BLOB Field. They are shown correctly in the PDF Report but the size of the PDF File shows the size of the uncompressed JPEG File. We would actually expect from WebFOCUS that it includes the original, compressed JPEG format into the PDF but as mentioned, it seems to uncompress it before including. How can we achieve a still compressed JPEG image included into a PDF file by WebFOCUS
Example: File compressed: about 1 MB Resulting PDF: about 6 MB (the raw bitmap size: 1700 * 1200 px * 24Bits -> 6 MB)
FILECOMPRESS : The SET FILECOMPRESS=ON command compresses PDF output files.
The syntax is:
SET FILECOMPRESS = {ON|OFF} where:
ON - Compresses PDF output files.
OFF - Does not compress PDF output files. OFF is the default value.
Meanwhile, I don't know anything about blobs, but I'm pretty sure that a blob has to be decompressed for any program to open it. I'm certain that even Adobe PhotoShop cannot open a compressed blob file.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Thank you for your Answer. Unfortunately the FILECOMPRESS does not affect the JPEG files in a PDF as WF sais: "Note also that using SET FILECOMPRESS=ON will not reduce the size of images in a PDF file, since images are already saved in compressed form." also the PDF doesn't even show any content. But as already mentioned, for us it looks like the files get enlarged to raw bitmap size instead of being compressed.
I don't think the JPEG file has to be uncompressed, if i directly download the JPEG file from the BLOB field in the DB even the windows photo viewer can show it.
There are different Filter Attributes for Pictures in PDF Files: - Filter Attribute /DCTDecode for JPEG Files - Filter Attribute /FlateDecode for PNG Files
In WebFocus the FlateDecode seems to be used as standard. "<< /Type /XObject /Subtype /Image /Name /Im1 /Width 1600 /Height 1132 /BitsPerComponent 8 /ColorSpace /DeviceRGB /Filter Ý/ASCII85Decode /FlateDecode¨ /Length 2306227 >> stream"
A JPEG File included into PDF has usualy a string like: "<>stream"