Skip to content

v0.5.6

Choose a tag to compare

@GabryDX GabryDX released this 21 Oct 13:52
· 40 commits to main since this release
1435279

🛡️ MetaJammer v0.5.6 — Release Notes

Summary

MetaJammer v0.5.6 brings deep PDF Form XObject user watermark removal with commercial evaluation stamp preservation, embedded thumbnail detection (EXIF IFD1 and JFIF/JFXX), progressive asynchronous metadata loading with UI loading indicators in Metadata Preview, performance optimizations for large PDF scanning, and dependency updates.


🌟 Key Changes & Improvements

1. PDF Form XObject User Watermark Removal & Trial Stamp Preservation

  • Watermark Detection & Scrubbing: Scans PDF page resources for Form XObjects tagged with /PieceInfo /Private /Watermark or /Subtype /Watermark. User-added watermarks (such as sample watermarks added across multi-page documents) are cleanly removed from page resources, and their invocation operators (/Artifact <</Subtype /Watermark...>> BDC ... /FmX Do ... EMC and /<cosName> Do) are thoroughly scrubbed from page content streams.
  • Commercial Software Trial Notice Preservation: Commercial software evaluation/trial notices (e.g., "Click to BUY NOW!", "PDF-XChange Editor", "Demo", "Evaluation") are explicitly recognized and preserved intact, fully honoring F-Droid inclusion requirements and preventing software piracy or licensing concerns.
  • Interactive Navigation Preservation: 100% of interactive document navigation links (/Link), table-of-contents navigation, and internal cross-references remain intact.
  • Image XObject Memory Bypass: Watermark scanning inspects res.isImageXObject(cosName) prior to loading XObjects, preventing PDFBox from decompressing and instantiating heavy raster image objects across dozens or hundreds of pages and drastically speeding up metadata extraction on large PDFs.

2. Embedded Thumbnail Detection

  • Proactive Thumbnail Inspection: Upgraded MetadataRepository.readMetadata to detect and display embedded EXIF thumbnails (IFD1 JPEGInterchangeFormat / StripOffsets), JFIF APP0 thumbnails (including dimensions WxH), and JFXX extension markers directly in the metadata inspection preview.
  • Visual Leak Prevention: Helps users identify embedded sub-raster thumbnail caches before exporting or sharing cropped or edited media.

3. Progressive Metadata Loading & UI Race Condition Hardening

  • Progressive Asynchronous Streaming: Metadata is extracted per-file asynchronously on background IO threads. Smaller/faster files populate immediately in the Metadata Preview screen without waiting for heavier files.
  • Loading State Feedback: Each file card displays a loading spinner and localized "Reading metadata…" indicator while its metadata is being extracted, eliminating premature "No metadata found" displays.
  • Action Gating: The "Continue" button is disabled with an inline spinner while any file's metadata is loading, preventing users from advancing to processing before metadata analysis is complete.
  • Fail-Closed Async Recovery: Isolated error handling ensures that corrupt files or parsing exceptions do not block other files or cause infinite loading loops.

4. Dependency Updates & Localization

  • Dependencies: Bumped Kotlin to 2.4.21 and Kotlinx Serialization to 1.12.0.
  • Localization: Added loading_metadata string resource across all 24 supported languages with 100% string parity.

📦 Build Artifacts

  • Package: com.heronikostudios.metajammer
  • Version: 0.5.6 (Code 11)
  • Target SDK: 37 (Android 16) | Min SDK: 26 (Android 8.0)