Image to PDF Converter

A modern, dark-themed web tool that converts images to PDF format with stunning 3D effects and animations.

✨ Features

  • Dark Theme: Beautiful dark gradient background with glass morphism effects
  • 3D Effects: Cards, buttons, and elements with realistic 3D transformations
  • Animations: Floating particles, shimmer effects, and smooth transitions
  • Multi-upload: Upload multiple image files (JPEG, PNG, GIF, WebP)
  • File Validation: Client and server-side validation with 10MB file size limit
  • Drag & Drop: Intuitive drag and drop interface with visual feedback
  • Smart Conversion: Convert images to a single PDF document with automatic scaling
  • Progress Tracking: Animated progress bar with gradient effects
  • Error Handling: Comprehensive error messages and robust processing
  • Responsive Design: Works perfectly on desktop and mobile devices

🎨 Visual Design

  • Glass Morphism: Translucent cards with backdrop blur effects
  • Gradient Backgrounds: Multi-color gradients throughout the interface
  • 3D Transformations: Perspective-based card rotations and hover effects
  • Floating Elements: Subtle animations and particle effects
  • Glow Effects: Soft glowing elements for enhanced visual appeal

🔧 Technical Improvements

  • Robust Base64 Conversion: Fixed chunked processing for large files
  • File Size Limits: 10MB per file limit to prevent memory issues
  • Enhanced Error Handling: Detailed error messages and validation
  • Client-side Validation: Early validation to catch issues before upload
  • Memory Optimization: Efficient processing of large image files

Usage

  1. Visit the web interface
  2. Click "✨ Choose Images" or drag files to the upload zone
  3. Files are automatically validated (max 10MB each)
  4. Preview your selected images in the elegant file list
  5. Click "🚀 Convert to PDF" to process the images
  6. Watch the animated progress bar and download your PDF

API Endpoints

  • GET / - Web interface with dark theme and 3D effects
  • POST /convert - Convert images to PDF (accepts multipart/form-data with image files)

Technical Details

  • Built with Hono framework
  • Uses jsPDF for PDF generation
  • Robust base64 conversion with chunked processing
  • File size validation (10MB limit per file)
  • Custom CSS with 3D transforms and animations
  • Glass morphism and backdrop filters
  • Client-side processing for privacy
  • Comprehensive error handling
  • Responsive design with TailwindCSS