feat: implement PDF attachment extraction functionality with web worker support
- Added a new worker script to handle extraction of embedded attachments from PDF files. - Created TypeScript definitions for the message structure and response types. - Updated the main extraction logic to utilize the worker for improved performance and responsiveness. - Integrated the extraction feature into the UI, allowing users to extract attachments as a ZIP file. - Enhanced error handling and user feedback during the extraction process.
This commit is contained in:
@@ -318,13 +318,12 @@ export const categories = [
|
||||
icon: 'paperclip',
|
||||
subtitle: 'Embed one or more files into your PDF.',
|
||||
},
|
||||
// TODO@ALAM - MAKE THIS LATER, ONCE INTEGERATED WITH CPDF
|
||||
// {
|
||||
// id: 'extract-attachments',
|
||||
// name: 'Extract Attachments',
|
||||
// icon: 'download',
|
||||
// subtitle: 'Extract all embedded files from PDF(s) as a ZIP.',
|
||||
// },
|
||||
{
|
||||
id: 'extract-attachments',
|
||||
name: 'Extract Attachments',
|
||||
icon: 'download',
|
||||
subtitle: 'Extract all embedded files from PDF(s) as a ZIP.',
|
||||
},
|
||||
// {
|
||||
// id: 'edit-attachments',
|
||||
// name: 'Edit Attachments',
|
||||
|
||||
Reference in New Issue
Block a user