Skip to main content
Participant
Nov 3, 2024 2:20 PM UTC
Question

PDF Services API: PDF to Images Operation - Low Image Quality

Hello 

 

I'm using this operation to convert my pdf to image : 

https://developer.adobe.com/document-services/docs/apis/#tag/PDF-To-Images

The operation works, but the resulting image quality is very low, and there is no option to control the compression level in the API body.

 

Do you have any ideas on how to disable compression for this operation?

    9 replies

    Raymond Camden
    Community Manager
    Community Manager
    Nov 4, 2024 4:38 PM UTC

    So yeah, there isn't a way to specify the compression level of the JPG format. What if you try PNG or TIFF?

    Translate
    Participant
    Nov 4, 2024 4:57 PM UTC

    I tried PNG and TIFF > Same result, 

    And there is no option to specify compression, this option is available on PDF Operation compress only , i think the issue is related to Assets generation when PDF is converted to image there is a missed option on API to specify compression quality 

    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Nov 4, 2024 6:13 PM UTC

    Yeah, I'm seeing similar things. I'll report this as a bug.

    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Nov 4, 2024 2:13 PM UTC

    Could you share the source PDF?

    Translate
    Participant
    Nov 4, 2024 2:36 PM UTC

    Please find attached the sample and the converted version.

    This is only a text PDF. When the file includes images, the image quality tends to be very low

    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Nov 4, 2024 3:17 PM UTC

    I'm confused - why did you share a text based PDF if it works well for you? Can you share a source PDF that does *not* work well?

    Translate