Skip to content

File too big #25

@fujoos

Description

@fujoos

First, good job on this wonderful library. I tried extensively with various pdf's and found out that if i use this settings below (jpg or png) to generate a thumbnail of an ebook (16.6mb), the result is a thumbnail of over 30mb even with a meager 198 * 262 pixel output dimension. Am I doing something wrong because a 72 dpi resolution produces the smallest file size posible with reasonable image quality as a thumbnail for me.

  GhostscriptWrapper.GenerateOutput(filepath, fullthumbnailfilepath, New GhostscriptSettings With {
                .Device = GhostscriptDevices.pngalpha,
                .Page = New GhostscriptPages With {.Start = 1, .End = 1, .AllPages = False},
                .Resolution = New Size With {.Height = 72, .Width = 72},
               .Size = New GhostscriptPageSize With {.Native = GhostscriptPageSizes.a4}
                })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions