Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     is it true that you cant put jpgs into pdfs, only gifs?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
is it true that you cant put jpgs into pdfs, only gifs?
 Login/Join
 
Expert
posted
Does anyone know what it is about pdf that it can't take jpgs only gifs?
Carol...pdf expert that you are...do you know?




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
Hi Susannah,

Not sure if it's a problem your end but the following will display the .jpg perfectly. It uses an existing .jpg file contained within the ibisamp folder.

TABLE FILE CAR
SUM RCOST
    DCOST
 BY COUNTRY
 BY CAR
 BY MODEL
HEADING
" </4"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
     UNITS=IN, PAGESIZE='A4', LEFTMARGIN=0.20, RIGHTMARGIN=0.20, TOPMARGIN=0.20,
     BOTTOMMARGIN=0.20, SQUEEZE=ON, ORIENTATION=LANDSCAPE, PAGECOLOR=RGB(240 245 255), $
  TYPE=HEADING, IMAGE=mnt_bg1.jpg, POSITION=(0 0), SIZE=(11 8), $
ENDSTYLE
END


Don't forget that the image file has to be local to the reporting server in the case of PDFs but local to the client server (web server) for HTML and Excel output.

Regards

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
This is a WebFOCUS thing. It is not unusual to imbed JPEGS into a PDF file.

We do it with other products such as ActivePDF.

Lenny


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
 
Posts: 104 | Location: Boston | Registered: April 23, 2003Report This Post
Expert
posted Hide Post
quote:
This is a WebFOCUS thing.


Lenny,

Does this mean you can't run the above example?

....

Old documentation (4.3) suggests that only .gif files should be embedded in PDF or PS output.
However, documentation for 7.1.3 for including a graph in a PDF document, states that "Graphs must be specified as a format of SVG, GIF, or JPG.". Ok, that is specific to graphs, but as by nature these are images then it follows that JPG files must be Ok to embed into a PDF document via WebFOCUS.

My example above is from WF 5.3.2 on Windows.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
ah. i'm on 5.2
maybe that's the problem.
maybe its 53+ only;
my jpg is in ibi_apps\ibisamp, the only jpeg that comes along with that dir.
the gifs in the dir work fine
the jpg yields a 'error in stylesheet'
(i use the full mapped drive address of the images, anyway)




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
Susannah,

Originally only GIFs were supported. However, as you noted, later releases added the ability to support JPGs and SVG.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
Hi Susannah,

I thought the additional image support came when major release 5 was issued?

Your comment ...
quote:
my jpg is in ibi_apps\ibisamp, the only jpeg that comes along with that dir.
would indicate to me that you are refering to the web server and not the reporting server? If that is the case then check out the existance of the [drive]:/ibi/apps/ibisamp folder on the reporting server (or are they both the same as on a local install?) as that is where the file must exist.

Regards

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
oops i mistyped
i meant ibi\apps\ibisamp
when i reference the gif in that directory, it works fine.
when i ref the jpg , it gives me the stylesheet error.
so, you're thining 5n should work? hmmm. i'll open a case maybe.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
You got me to thinking and questioning my assumption. So I checked Smiler

jpeg support was introduced into 5.3 (and possibly only .2) according to this document.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     is it true that you cant put jpgs into pdfs, only gifs?

Copyright © 1996-2020 Information Builders