Update docs and comments for jpeglib migration (v4.2.0)
- Replace jpegio references with jpeglib in comments/docstrings - Update sanitize-for-image.sh to use system Python 3.11+ (no pyenv) - Update rpi/patches/README.md for jpeglib world - Add AUR build artifacts to .gitignore Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -156,7 +156,7 @@ def has_dct_support() -> bool:
|
||||
dct_mod = _get_dct_module()
|
||||
return dct_mod.has_dct_support()
|
||||
except (ImportError, ValueError):
|
||||
# ValueError: numpy binary incompatibility (e.g., jpegio built against numpy 2.x)
|
||||
# ValueError: numpy binary incompatibility (e.g., jpeglib built against numpy 2.x)
|
||||
return False
|
||||
|
||||
|
||||
@@ -1097,7 +1097,7 @@ def peek_image(image_data: bytes) -> dict:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# Try DCT extraction (requires scipy/jpegio)
|
||||
# Try DCT extraction (requires scipy/jpeglib)
|
||||
try:
|
||||
from .dct_steganography import HAS_JPEGIO, HAS_SCIPY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user