Skip to content

Improve Conversion Speeds #1329

@oregonpillow

Description

@oregonpillow

What is the feature you think should be a good addition to Dangerzone?

I'm new to the project and only skimmed the code so far, but the conversion of PDF to bitmap pixels and OCR stand out to me as large potential bottlenecks for the slow conversion speeds I observed when running a large test PDF.

It looks like neither pixel conversion or OCR is multi-processed. On small docs, streaming to bitmap is fine, but on large documents (100+ pages) the streaming time could be improved considerably i think.

However, since OCR conversion is more demanding I think this would be the first candidate for optimizing. Was there a specific reason this wasn't previously implemented? Would you be open to this?

Is your feature request related to a problem? Please describe.

Slow conversion speeds

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions