mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-05-26 14:17:47 +02:00
be853011f3
PIL cannot open iPhone HEIC without pillow-heif, so width/height stayed 0 for those negatives. Fall back to sips -g pixelWidth/pixelHeight on macOS when PIL fails; returns (0,0) elsewhere. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>