When I am converting Tif to PDF, PDF quality decreases. And it is leaving too wide are form both side(Left and Right). I am sharing the sample code. please find the attached Code Sample, input file and output file.
We have worked with the data shared by you and the quality of PDF appears almost the same as the TIFF file. Would you please share some screenshots as comparison so that we may investigate further.
About extra space on the page, margins are being applied by default. So you may set the margins to zero with below code:
...
Page sec = pdf1.Pages.Add();
sec.PageInfo.Margin = new MarginInfo(0,0,0,0);
...
We have logged a ticket with ID PDFNET-46574 in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.
Please note that the ticket has been logged under free support model and may take some months to resolve. As soon as we have some definite updates or ETA regarding ticket resolution, we will let you know.