Commit Graph

13 Commits

Author SHA1 Message Date
d02c8d281a feat: add pipeline store
- Global pipeline configuration
- Built-in and user presets
- localStorage persistence
- Preset CRUD operations

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:12:21 -04:00
7bd0c4c793 feat: add device store
- Selected device state
- Custom device management
- Device selection by ID

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:11:56 -04:00
a1d1f070cf chore: export processing functions
Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:11:23 -04:00
0d6ec68294 feat: add pipeline API and download utilities
- processImageWithPipeline for full pipeline processing
- ZIP archive creation with JSZip
- File download helpers
- Output filename generation

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:11:09 -04:00
ee71b91868 feat: add worker pool for parallel processing
- Dynamic pool sizing based on CPU cores
- Job queue with automatic worker assignment
- Strips Svelte proxies before sending to workers
- Graceful error handling and cleanup

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:10:39 -04:00
c06a51cad9 feat: add web worker for image processing
- Full pipeline processing off main thread
- Image decoding via createImageBitmap + OffscreenCanvas
- All adjustments and dithering algorithms
- Blob output with data URL conversion

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:10:16 -04:00
a4c3185a21 feat: add photon WASM utilities
- Image loading and canvas conversion
- Crop to aspect ratio
- Resize with Lanczos3 sampling
- Greyscale conversion
- Brightness, contrast, gamma adjustments
- Dithering algorithms (Floyd-Steinberg, ordered, Atkinson)
- Quantization and auto-levels

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:09:20 -04:00
d5ba4a4f3e chore: update lib exports
Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:07:51 -04:00
10526d3dbf feat: add tailwind theme and base styles
- E-ink inspired color palette (ink, paper, grey scale)
- Accent colors for interactive elements
- Custom shadows and border radius tokens
- Smooth scroll and floating animation

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:07:37 -04:00
c985cf4193 feat: add e-reader device presets
- Kindle: Paperwhite 5, Paperwhite 4, Oasis 3, Scribe, Basic
- Kobo: Clara 2E, Libra 2, Sage
- reMarkable 2, Boox Note Air
- Helper to group devices by brand

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:07:24 -04:00
496be2701f feat: add core type definitions
- Device, ImageEntry, Dimensions types
- PipelineConfig with all processing steps
- Built-in pipeline presets (default, high-contrast, etc.)
- Validation constraints and utility functions

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:06:39 -04:00
0cb43607ac chore: configure vite for WASM and add dependencies
- Add vite-plugin-wasm for Photon WASM support
- Configure worker format and build target
- Add photon, jszip, lucide-svelte
- Add tailwindcss forms/typography plugins

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-13 18:06:06 -04:00
6f8a187246 Create project skeleton with sv 2026-05-13 17:40:55 -04:00