Skip to content

feat: Add Ultra Quality (Pica) resize algorithm#13

Closed
One-Up-Dev wants to merge 3 commits into
SLcode777:mainfrom
One-Up-Dev:feature/pica-ultra-quality
Closed

feat: Add Ultra Quality (Pica) resize algorithm#13
One-Up-Dev wants to merge 3 commits into
SLcode777:mainfrom
One-Up-Dev:feature/pica-ultra-quality

Conversation

@One-Up-Dev
Copy link
Copy Markdown

Summary

  • Intégration de pica.js pour un vrai rééchantillonnage Lanczos3
  • Nouvelle option "Ultra Quality (Pica)" en première position (recommandée)
  • Support WebAssembly + Web Workers pour la performance
  • Masque unsharp intégré pour des résultats professionnels
  • Documentation du module ajoutée (IMAGE_RESIZE_MODULE.md)
  • Nettoyage des fichiers de dev/test

Changes

  • src/lib/image-resize-utils.ts - Intégration pica
  • package.json - Ajout dépendance pica
  • components/modules/image-resize/algorithm-selector.tsx - Nouveau composant
  • IMAGE_RESIZE_MODULE.md - Documentation

Test plan

  • Vérifier que l'option Ultra Quality apparaît en premier dans le sélecteur
  • Tester le redimensionnement d'une photo avec Ultra Quality
  • Comparer la qualité avec l'algorithme High Quality standard

🤖 Generated with Claude Code

One-Up-Dev and others added 3 commits January 2, 2026 00:09
Comprehensive test plan with 52 tests covering:
- Utilities (12 tests): resize, rotate, flip, format conversion
- Components (22 tests): controls, presets, preview, output settings
- Main module (8 tests): integration, drag-drop, clipboard
- Integration (4 tests): module registration, pinning
- Edge cases & performance (6 tests): large files, errors, responsive
Implemented comprehensive image resizing tool with:
- Custom dimensions and percentage-based scaling
- Social media presets (Instagram, Facebook, Twitter, LinkedIn, YouTube)
- Common size presets (Thumbnail, HD, 4K, Icon, Favicon)
- Custom preset save/load with localStorage
- Aspect ratio lock, rotation, flip controls
- Output format selection (PNG, JPEG, WebP) with quality slider
- Real-time preview with zoom and before/after comparison
- Drag-and-drop, paste from clipboard support
- Batch mode for multiple files
- Download and copy to clipboard

Files created:
- src/lib/image-resize-utils.ts
- src/lib/image-resize-presets.ts
- components/modules/image-resize/resize-controls.tsx
- components/modules/image-resize/preset-selector.tsx
- components/modules/image-resize/image-preview.tsx
- components/modules/image-resize/output-settings.tsx
- components/modules/image-resize/batch-processor.tsx
- components/modules/image-resize-module.tsx

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Integrate pica.js library for true Lanczos3 resampling
- Add "Ultra Quality (Pica)" option as first/recommended algorithm
- WebAssembly + Web Workers support for performance
- Built-in unsharp masking for professional results
- Add algorithm-selector component
- Add IMAGE_RESIZE_MODULE.md documentation
- Clean up dev/test files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 2, 2026

@One-Up-Dev is attempting to deploy a commit to the Stella's projects Team on Vercel.

A member of the Team first needs to authorize it.

@One-Up-Dev One-Up-Dev closed this by deleting the head repository Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant