Software Companions Support Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
whoit

Registered:
Posts: 10
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
Click image for larger version - Name: one phish two phish_-.png, Views: 4, Size: 98.85 KB 

softcomp

Administrator
Registered:
Posts: 430
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
pdf one phish two phish_-.png.pdf (10.09 KB, 3 views)

whoit

Registered:
Posts: 10
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!
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.