mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-11 09:23:36 +01:00
feat: add TIFF conversion options and integrate wasm-vips for image processing
- Updated README.md to include new dependencies: wasm-vips, pixelmatch, diff, and microdiff. - Added wasm-vips to package.json and package-lock.json for advanced TIFF encoding. - Enhanced localization files with new options for DPI, compression, color mode, and multi-page TIFF saving. - Implemented UI changes in pdf-to-tiff.html to allow users to select DPI, compression type, color mode, and multi-page options. - Refactored pdf-to-tiff-page.ts to utilize wasm-vips for TIFF encoding, replacing previous UTIF implementation. - Introduced TiffOptions interface in pdf-to-tiff-type.ts for better type management. - Updated Vite configuration to exclude wasm-vips from dependency optimization.
This commit is contained in:
1 parent
b732ee7925
commit
3ca19af354
26 files changed
+507
-101
No files matched your search
@@ -52,3 +52,4 @@ export * from './adjust-colors-type.ts';
|
||||
export * from './bates-numbering-type.ts';
|
||||
export * from './page-preview-type.ts';
|
||||
export * from './add-page-labels-type.ts';
|
||||
export * from './pdf-to-tiff-type.ts';
|
||||
@@ -0,0 +1,6 @@
|
||||
export interface TiffOptions {
|
||||
dpi: number;
|
||||
compression: string;
|
||||
colorMode: string;
|
||||
multiPage: boolean;
|
||||
}
|
||||
Reference in new issue
Block a user