whoit
Registered:1466788904 Posts: 10
Posted 1598974088
Reply with quote
#1
Hi, I am trying to convert a png file to pdf but do not get any output. I am going to attach the problem file. I have tested the file with version "4.22.0.133" and the latest version "5.62.0.186". Following is the call that I am using: sc.convert input, output, "PDF", 1, 8, 300 Please let me know what I am missing. Regards, M
Attached Images
softcomp
Administrator
Registered:1370695867 Posts: 430
Posted 1599166887
Reply with quote
#2
Hi, scConverter seem to be ble to convert the PNG to PDF correctly on my computer. The following code will create a valid PDF file (attached): hr = pIConverter->raw_Convert( L"d:\\one phish two phish_-.png", L"c:\\temp\\one phish two phish_-.png.pdf", L"PDF", 1.0, 8, 300 ); Can you tell me more about the "input" and "output" parameters? Which folder is for example used for "output" file? Best regards, Support
Attached Files
one phish two phish_-.png.pdf
(10.09 KB, 3 views)
whoit
Registered:1466788904 Posts: 10
Posted 1599660960
Reply with quote
#3
Hi, I tested it again and yes it seems to work on the latest version. I think i had a typo somewhere in the code as it was initially written to convert PNG to PDF and I changed it around. I appreciate you taking time to look into this. Thanks!