We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

FIle size and quality

Hi Team ,
We are using Aspose license version to convert color pdf into tiff file but when we are converting into tiff file size is increasing to 20 times . Could you please help us to fix this issue we anted to have almost same size or maximum double the size . Please find below code that we are using in our app .

{
TraceInfo(“Total PDF converting file {0}…”, Src);
try
{
// Initialize license object
Aspose.Pdf.License license = new Aspose.Pdf.License();
 // Set license
            license.SetLicense("Aspose.Total.lic");
            // Console.WriteLine("License set successfully.");

            using (var converter = new Aspose.Pdf.Facades.PdfConverter())
            {
                Aspose.Pdf.Devices.Resolution resolution = new Aspose.Pdf.Devices.Resolution(200);
                converter.Resolution = resolution;
                converter.BindPdf(Src);
                // initiate conversion
                converter.DoConvert();


                var settings = new Aspose.Pdf.Devices.TiffSettings()
                {
                    
                   Compression = Aspose.Pdf.Devices.CompressionType.LZW,
                    Brightness = 0.80f,
                    Depth = Aspose.Pdf.Devices.ColorDepth.Default,

                   
                };
                // save PDF as TIFF
                try
                {
                    converter.SaveAsTIFF(Tgt, settings);
                }
                catch { }
                return true;
            }

        }
        catch (Exception ex)
        {
            Debug.WriteLine(ex.ToString());
            TraceInfo("Total PDF conversion exception {0}.", ex.ToString());
            return false;
        }
        finally
        {
        }
    }

@jitu6767

Would you kindly share your sample PDF document with us so that we can test the scenario in our environment and address it accordingly.

TestCopy_PDF.pdf (1.5 MB)
HI Asad ,
Please find attached PDF file , could you please provide your finding asap because we go stuck and client is waiting for our response .

@jitu6767

We have posted our response in your other similar post. You may please follow up there.