Spaces:
Sleeping
Sleeping
Commit History
-
debug: add startup trace logs to identify module import hang on HF Spaces
Pixel Pinch Extensionsfc5c6d4 -
docs: rewrite README with accurate config values, upload endpoint, and architecture overview
Pixel Pinch Extensionsc7ffb9a
-
fix(compress): fix webtoon sharpening silently dropped and dead isWebtoonContent() calls in WebP branch
Pixel Pinch Extensions- Destructure [preprocess](cci:1://file:///f:/Program/Projects/New%20folder/pixelpinch-proxy/src/compress.js:661:12-663:39) from getCompressionOptions() and apply it to the Sharp pipeline before toFormat(); webtoon sharpening (sigma 0.6) was being returned but never used - Remove always-false isWebtoonContent() calls inside the WebP branch, which is already guarded by !isWebtoonContent(): replace the sns ternary (always 75) and autoFilter negation (always true) with their constant values6cf3561 -
fix: bug fixes across compress, cache, and server
Pixel Pinch Extensions- compress: pass isMobileApp to selectOptimalFormat (was ReferenceError) - compress: remove PNG-only adaptiveFiltering/reductionEffort from toFormat() - compress: remove dead unreachable zero-byte output guard - cache: fix CACHE_TTL unit (was /1000, TTL=0 → caching fully disabled) - server: add queue-wait timeout in _queueRequest to prevent infinite hangs - compress: lower default WebP effort fallback from 5 → 44a2d311 -
feat: implement Bun-native image proxy server with compression, caching, rate limiting, and request queuing.
Pixel Pinch Extensions2c6c471
-
chore: Remove devDependencies and update the project description.
Pixel Pinch Extensions1980fe6
-
feat: implement a Bun-based image proxy server with robust fetching, compression, and format conversion capabilities.
Pixel Pinch Extensionsf4dc314 -
feat: Implement the Bun-native PixelPinch image proxy server with maximum compression, caching, and rate limiting.
Pixel Pinch Extensionsaf171a8
-
change effort to 4
Pixel Pinch Extensions76cdc14
-
fix: treat mobile apps as webtoon content for optimized compression
Pixel Pinch Extensions- Add isMobileApp flag to metadata passed to webtoon detection - Update isWebtoonContent() to check both mobile devices and mobile apps - Mobile apps (empty Accept header) now use webtoon-optimized compression - Improves compression for mobile webtoon readers like Komikku68e8820 -
feat: optimize compression settings and fix missing import
Pixel Pinch Extensions- Add missing compressionLogger import to config.js - Increase resize thresholds: 6.5MP trigger, 6.4MP target for better quality - Optimize webtoon WebP compression with drawing preset and enhanced parameters - Raise nearLossless threshold to 90% for higher quality output - Improve content-aware compression with conditional autoFilter and sharpnessb8627b5 -
refactor: simplify static file serving and favicon handling
Pixel Pinch Extensions- Remove getContentType helper function - Simplify favicon routes to return 204 status - Remove static file serving for /public/ paths - Delete unused public/favicon.svg file This streamlines the server by removing unused static file serving functionality and simplifying favicon handling.ce0aedf -
feat: add favicon support and static file serving
Pixel Pinch Extensions- Add SVG favicon with modern gradient design - Update server to serve favicon.ico and favicon.svg routes - Add getContentType helper for proper MIME type handling - Implement static file serving for /public/ directory - Replace 204 responses with actual favicon content805742a -
feat: increase resize target pixels to 5.9MP
Pixel Pinch ExtensionsAdjust TARGET_PIXELS from 5.8MP to 5.9MP for improved image quality in smart resize functionality while maintaining reasonable file sizes.8d933b5
-
fix: apply consistent webtoon quality reduction
Pixel Pinch Extensions- Standardize webtoon quality reduction to -15 across all WebP options - Ensure consistent compression settings between options and preprocess - Fix discrepancy between options object and preprocess pipeline70fdf39 -
feat: upgrade resize kernel and optimize compression settings
Pixel Pinch Extensions- Replace lanczos3 with mks2021 kernel for better image quality - Reduce resize thresholds: 6MP trigger, 5.8MP target (more aggressive) - Lower max height from 24000 to 20000 pixels - Increase webtoon alpha quality from 70 to 80 - Adjust webtoon quality reduction from -10 to -15 for better compression - Improve overall image quality and compression efficiency14f2754 -
feat: optimize webtoon compression settings
Pixel Pinch Extensions- Reduce WebP alpha quality from 85 to 70 for webtoon content - Disable smart subsampling for better line art preservation - Adjust resize thresholds: 7MP trigger, 6.8MP target (more aggressive) - Lower default quality back to 75 for balanced compression - Fine-tune webtoon-specific compression for line art clarity6fddd30 -
cahnges target pixels
Pixel Pinch Extensionsfe11ac5 -
changes effort to 6 from 7
Pixel Pinch Extensionsa894abc -
feat: optimize compression settings for better quality
Pixel Pinch Extensions- Increase WebP effort level from 6 to 7 for webtoon content - Adjust resize thresholds: 8MP trigger, 7.7MP target (better quality) - Raise default quality from 75 to 80 for improved visual fidelity - Fine-tune compression balance between quality and file size28c5c04 -
fix: resolve syntax errors and enhance webtoon handling
Pixel Pinch Extensions- Fix missing closing brace in getCompressionOptions function - Add proper error codes to timeout errors in withTimeout function - Improve webtoon resize logic with aspect ratio preservation - Update resize thresholds for better quality (10MP → 9.8MP target) - Add detailed error information to compression failuresce511b2 -
feat: improve webtoon handling and disable hourly cache cleanup
Pixel Pinch Extensions- Fix webtoon detection to use aspect ratio > 2.5 instead of requiring grayscale - Remove resize constraints from webtoon compression options to preserve original dimensions - Disable automatic hourly cache clearing to reduce unnecessary cache resets - Increase MAX_HEIGHT from 16384 to 24000 to accommodate taller webtoons - Maintain webtoon format optimization while preserving aspect ratios Fixes issue where webtoons were being resized from 800x7130 to 653x5820.43582fd
-
git commit -m "Fix compression error for webtoon content detection
Pixel Pinch Extensions- Fix undefined options.quality error in getCompressionOptions - Ensure consistent return structure {format, options} for webtoon case - Add preprocess sharpen function for webtoon/manga optimization - Apply subtle sharpening (sigma: 0.3) to enhance line art clarity - Maintain WebP format conversion within preprocess pipeline"f544a8e -
Fix compression error for webtoon content detection
Pixel Pinch Extensions- Fix undefined options.quality error in getCompressionOptions - Ensure consistent return structure {format, options} for webtoon case - Add preprocess sharpen function for webtoon/manga optimization - Apply subtle sharpening (sigma: 0.3) to enhance line art clarity - Maintain WebP format conversion within preprocess pipeline0ab12eb -
fix: resolve cacheClearTimer initialization order error
Pixel Pinch Extensions- Move timer variable declarations before setupHourlyCacheClear function - Remove duplicate timer declarations to prevent temporal dead zone - Fixes "Cannot access 'cacheClearTimer' before initialization" error787d56f -
feat: implement hourly cache clearing and enhance webtoon detection
Pixel Pinch Extensions- Added hourly cache clearing with memory usage logging - Improved webtoon detection to consider mobile devices - Optimized image compression for webtoons with better sharpening - Added cleanup for cache timers to prevent memory leaks - Updated compression options for webtoons to use WebP format507f1c1
-
changes format to webp
Pixel Pinch Extensions88ba0f0 -
changes webtoon format to webp
Pixel Pinch Extensions471dda3 -
fixt syntax error
Pixel Pinch Extensions83c1792 -
feat: Add webtoon/manga content detection for optimized compression
Pixel Pinch Extensions- Implement isWebtoonContent helper to detect webtoon/manga content - Adjust compression settings for webtoon content - Skip WebP format for webtoon content - Set appropriate presets and noise shaping for better quality - Add detailed debug logging for content detectioneab6294 -
feat: enhance image type detection with content-aware classification
Pixel Pinch Extensions- Integrated [classifyImage]( for accurate image type detection - Added special handling for manga/webtoon content - Improved fallback mechanism for classification failures - Enhanced logging for better debugging7111270 -
refactor: extract manga/webtoon check into helper function
Pixel Pinch Extensions- Created isMangaContent() helper function to centralize the manga/webtoon check - Replaced repeated checks with the new helper function - Improved code maintainability and reduced duplication - No functional changes to image processing logic6da2a56 -
Upload 10 files
Verified signature8de1fe2 -
feat: Add modules for image compression and response caching.
Pixel Pinch Extensions6f177d2 -
feat: Introduce image compression module with smart format selection, resizing, and optimizations.
Pixel Pinch Extensions69b1847 -
feat: add image compression module with smart format selection and optimization
Pixel Pinch Extensions5719d8c -
fix: export formatBytes and restore all missing exports
Pixel Pinch Extensions191ad5e -
fix: restore missing calculateAdaptiveQuality export
Pixel Pinch Extensionsf776e3d -
feat: Introduce image classification logic to dynamically select optimal compression presets.
Pixel Pinch Extensions04a2df6
-
Enable streaming for large files, reducing memory usage
Pixel Pinch Extensions50a08e6 -
git commit -m "Initial commit: Project setup with basic structure
Pixel Pinch Extensions- Added base server implementation - Added configuration and utility modules - Set up logging and performance monitoring - Added compression and caching functionality - Added security optimizations for Bun runtime"70d2dc5 -
optimize sharp pipeline
Pixel Pinch Extensionsadded a request queing for high-load scenarios0dcd615 -
fixes bugs in compression.js
f3bf942 -
improved sharp pipeline
fixes bugs in bun.serve.js added structured http responseca65087 -
optimize header handling in proxy requests, enhance buffer management in image fetching, and update logging level to info for better performance
e8a69ce
-
refactor logging levels to debug for improved verbosity and add fast hash function for cache key generation
4e57a73 -
update configuration for image processing: increase max pixel limit, adjust target pixels, and refine quality settings for better compression
9133f53 -
enhance image compression handling by adjusting pixel limit for metadata extraction and improving logging for large images
157f7e4 -
improve the error handling
f0f5896 -
improve the logger
cf1ee62