Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

PDF Rasterizer creating blurry output

Last post 10 Oct 2007, 9:55 AM by Bill Bither. 1 replies.
Sort Posts: Previous Next
  •  10 Oct 2007, 9:47 AM 12645

    PDF Rasterizer creating blurry output

    I am evaluating the PDF Rasterizer plugin for dotImage and trying to convert a multi-page pdf to a multipage tiff.  This works fine except that the output appears to be quite blurry and not very easy to read.  I have tried various compressions methods to no avail.  Is there anyway to improve the image quality that i am missing?

    Code used below.

    Thanks, Steve

    Dim noAppend As TiffEncoder = New TiffEncoder(TiffCompression.Lzw, True)
    Dim pdf As New PdfDecoder
    Dim i As Integer = 0
    Dim pdfFile As Stream
    Dim tifOutput As Stream

    tifOutput = File.Create("Output.tif")
    pdfFile = File.Open("input2.pdf", FileMode.Open)

    Do While i < 24
       
    Dim img As AtalaImage = pdf.Read(pdfFile, i, Nothing)
       
    noAppend.Save(tifOutput, img, Nothing)
       
    img.Dispose()
        tifOutput.Seek(0, SeekOrigin.Begin)
       
    i += 1
    Loop

  •  10 Oct 2007, 9:55 AM 12646 in reply to 12645

    Re: PDF Rasterizer creating blurry output

    Try increasing the resololution in the PdfDecoder object.  The blur might be from rasterizing it at a lower resolution, then zooming in.
    Bill Bither
    Atalasoft
    Filed under:
View as RSS news feed in XML