Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] image's transparent background is not showing up as transparent in a report.
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] image's transparent background is not showing up as transparent in a report.
 Login/Join
 
Gold member
posted
i have a image with transparent background. but when i use it in a report it doesnt show it.

i have below sample code and the image attached.

 TABLE FILE SYSCOLUM
SUM
     SYSCOLUM.SYSCOLUM.TBNAME NOPRINT
     COMPUTE BlBox_img/A250 = 'benzcar.png'; AS ''
WHERE RECORDLIMIT EQ 7
WHERE READLIMIT EQ 7
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
$
     PAGESIZE='Letter',
     LEFTMARGIN=0.000000,
     RIGHTMARGIN=0.000000,
     TOPMARGIN=0.000000,
     BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
	 BACKCOLOR=RED,
$
TYPE=DATA,
     BORDER-TOP=OFF,
     BORDER-BOTTOM=OFF,
     BORDER-LEFT=OFF,
     BORDER-RIGHT=OFF,
     BORDER-TOP-COLOR=RGB(255 255 255),
     BORDER-BOTTOM-COLOR=RGB(255 255 255),
     BORDER-LEFT-COLOR=RGB(255 255 255),
     BORDER-RIGHT-COLOR=RGB(255 255 255),
$
TYPE=REPORT,
     COLUMN=N2,
$
TYPE=DATA,
     COLUMN=N2,
     IMAGE=(BlBox_img),
     SIZE=(5.09 2.09),
     IMAGEALIGN=MIDDLE,
	 	 BACKCOLOR=GREEN,
$
ENDSTYLE
END
-RUN
 



Image URL: http://www.pngall.com/wp-conte...Car-Download-PNG.png

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 61 | Registered: January 23, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I can't see your image but using your code and one of my own image with transparency background, it does the trick

Maybe your image doesn't have a clear background ?


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2161 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Gold member
posted Hide Post
my image is there in the end of the comment. pls see.

Image URL: http://www.pngall.com/wp-conte...Car-Download-PNG.png

final outcome is, to place it above another report in a PDF compound report.


WebFOCUS 8
Windows, All Outputs
 
Posts: 61 | Registered: January 23, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I have seen your URL, just not available to access : blocked by my organization security policies

Your sample code was with HTML output where it does work.
PDF output is another game when "playing" with images and I don't have an answer for you up to now


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2161 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] image's transparent background is not showing up as transparent in a report.

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.