Project

General

Profile

Actions

CompressPdf #309

open

Image/ Text ratio in a PDF

Added by Md.Sajib Ahmed over 1 year ago.

Status:
Complete
Priority:
High
Category:
poc
Target version:
Start date:
09/30/2024
Due date:
09/30/2024 (about 19 months late)
% Done:

100%

Estimated time:
5:00 h

Description

Objective

  • Implement Text and Image Ratio Calculation

Task Checklist

  • Use the pdfjs-dist npm package to extract content from the PDF file.
  • Implement logic to count the total text and image elements within the PDF.
  • Calculate the percentage ratio of text in the PDF file.

Success Criteria

  • The pdfjs-dist package successfully extracts text and images from the PDF.
  • The implemented solution correctly calculates and returns the percentage of text in the PDF.
  • The ratio calculation works for different PDF file types and sizes.

No data to display

Actions

Also available in: Atom PDF