Status/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): / Brian Erickson (Md. Kaif Akbar Quraishi)
Created: 08/07/2014
Components: Document Management, PDF manipulation
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: 11 /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Linux Red Hat All,Win All
Vote Count: 0
Problem:
CFPDF Thumbnail Action not able to generate thumbnail with black background.
Below is the sample cfm page used for this bug repro:-
--------------------------------------
<cfscript>
sSrcFileName="C:\ColdFusion11\cfusion\wwwroot\PDFTest\EvolutionPoster040711FINAL24x36.pdf";
sTestDir="C:\ColdFusion11\cfusion\wwwroot\PDFTest\Output\";
sDestinationDir="./Output/";
sSrcCopyFileName=sTestDir & "TestingCopy11.pdf";
oPdfData="";
</cfscript>
<cfpdf
action="getinfo"
source="#sSrcFileName#"
name="oPdfData"/>
<cfdump var="#oPdfData#" />
<cfdump var="#sSrcFileName#" />
<cfdump var="#sSrcCopyFileName#" />
<cfpdf
action="write"
source="#sSrcFileName#"
destination="#sSrcCopyFileName#"
saveOption="full"
overwrite="yes"
version="1.3"
/>
<cfpdf
action="getinfo"
source="#sSrcCopyFileName#"
name="oPdfData"/>
<cfdump var="#oPdfData#" />
<cfpdf
action="thumbnail"
source="#sSrcCopyFileName#"
destination="#sDestinationDir#"
format="png"
imagePrefix="Test011"
overwrite="yes"
resolution="low"
scale="100"
transparent="no"
/>
<cfabort showError="Got Here" />
--------------------------------------------------------
Method:
Put this cfm page in CF webroot.
Put the corresponding PDF file or any PDF with white texts.
Run cfm page.
Generating thumbnail with white background instead of black.
Result:
It is generating thumbnail with white background.
Expected:
It should generate thumbnail with black background.
Workaround:
Needs to be identified.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3802166
External Customer Info:
External Company: infocon-inc.com
External Customer Name: Brian Erickson
External Customer Email: ericksbr@infocon-inc.com
Bug File Paths:
\\mquraish7-win7\Shared3\temp\engg\PdfTest5.cfm
This is sample cfm page being used to repro this issue
Attachments:
Comments: