Bienvenue invité. SVP enregistrez vous pour être membre.
:: Connexion
Identifiant :

Mot de passe :

Se souvenir de moi



Mot de passe perdu ?

Inscrivez-vous !
:: Recherche
:: Menu Principal

Parcourir ce sujet:   1 Utilisateur(s) anonyme(s)



« 1 (2)


Re: Minimal PDF Compress
Expert
Inscrit:
10/08/2022 19:14
De France
Groupe:
Utilisateurs enregistrés
Post(s): 4358
Hors Ligne

Contribution le : 15/08 16:23:00
_________________
Les hommes sont devant les idées simples
comme les chauve-souris devant la lumière,
ils sont aveugles.
Aristote
Créer un fichier PDF de la contribution Imprimer


Re: Minimal PDF Compress
Expert
Inscrit:
10/08/2022 19:14
De France
Groupe:
Utilisateurs enregistrés
Post(s): 4358
Hors Ligne
Version 1.7 du 27/08/2025
https://github.com/deminimis/minimalpdfcompress/releases/tag/v1.7

New Features
New Tool: PDF Repair A new "PDF Repair" utility has been added. It attempts to rebuild and fix corrupted or damaged PDF files using pikepdf.
A dedicated Settings tab has been added to centralize application options. You can now create default output naming rules, automatically adding any prefix, suffix, and the current date or time to your processed files.
The file list in the Merge tab has been upgraded from a simple listbox to a detailed Treeview, now showing the Page Count and File Size for each PDF you add.

UI
The entire application has been rebuilt from the ground up to be more modern, intuitive, and efficient.
The old interface has been replaced with a clean, modern "card-based" layout. Color palettes for both Light and Dark Mode have been refreshed for better readability and aesthetics.
A visual quality dial has been added.
Switches have replaced many checkboxes.
The Merge, Split, Rotate, and other tools have been neatly organized into a secondary notebook under a main "Utilities" tab, decluttering the main window.
*The separate, disruptive progress pop-up window has been removed. Progress is now shown on sleek progress bars integrated directly into the main application window.
Each tool now has its own dedicated Drop Zone, making it easier to drag files to the correct function.

Compression Engine Rework
The compression logic has been completely re-engineered to be smarter, more powerful, and more effective.
"SMART" Compression Engine: The backend no longer relies on a single Ghostscript preset. The new engine intelligently runs your PDF through multiple compression "recipes" (including Ghostscript presets, cpdf squeezing, and pikepdf optimization) and automatically selects the version with the smallest file size. This ensures the best possible result every time.
The image optimization process is now far more sophisticated. The engine extracts each individual image and tests it against multiple lossless compression tools (sam2p, pngout, jbig2) to find the absolute best compression format for that specific image before re-inserting it.
The lossless path now also uses the SMART engine, trying different methods (cpdf, Ghostscript, pikepdf) and picking the smallest result, while also running the advanced image optimization routine.
Three New Speed/Quality Levels: You can now choose between Fast, Normal, and Deep compression levels. These levels determine how many "recipes" the SMART engine will try, allowing you to balance processing speed with compression thoroughness.

Bug Fixes & Stability
Communication between the user interface and the backend worker has been refactored to use a queue system. This decouples the processes, leading to a more responsive UI and preventing crashes during heavy processing.
The internal code has been refactored to use Python dataclasses for managing settings. This makes the code cleaner, more reliable, and easier to maintain (thanks to supporter).
The "Save Metadata" function now requires explicit confirmation before overwriting the original file to prevent accidental data loss.
Live previews have been improved.

Contribution le : 27/08 09:04:54
_________________
Les hommes sont devant les idées simples
comme les chauve-souris devant la lumière,
ils sont aveugles.
Aristote
Créer un fichier PDF de la contribution Imprimer


Re: Minimal PDF Compress
Expert
Inscrit:
10/08/2022 19:14
De France
Groupe:
Utilisateurs enregistrés
Post(s): 4358
Hors Ligne
Version 1.8 du 05/09/2025
https://github.com/deminimis/minimalpdfcompress/releases/tag/v1.8

Features
The compression logic has been rebuilt from the ground up for better results and more control.
The Compress tab now features four distinct modes: standard Compression, Lossless optimization, conversion to archival PDF/A format, and a new Remove Images mode to create text-only documents for maximum compression.
A new suite of best-in-class tools, including pngquant, jpegoptim, ECT, and Zopfli, for superior image compression.
You can now convert the entire PDF to grayscale.
An option to use the powerful Zopfli algorithm for maximum PNG compression.
The "Stamp/Watermark" tool now supports sequential Bates numbering. Simply add the %Bates variable to your text stamp to automatically number your pages.
You can now easily scale your image stamps from 10% to 200% of their original size using a simple slider.
A new "Header/Footer" tab has been added.
A clickable Table of Contents generator as a new page in your PDF based on the document's existing bookmarks.
A new output setting allows you to only save the compressed file if it's actually smaller than the original.
A better "Fast Mode" option is available in the compression settings that skips the most time-consuming optimization steps.

Bug fixees
The new compression engine is not only more powerful but also more intelligent. It uses a multi-stage process, including Ghostscript downsampling followed by targeted image optimization and finalization with cpdf for the best possible size-to-quality ratio.
Live previews for the Rotate and Stamp tabs are now "debounced," meaning they only update after you stop making changes. This makes the UI feel much faster and more responsive. It could be a lot better/faster if I implemented mupdf, but that would significantly increase the size of the app.
Metadata handling now explicitly uses UTF-8, improving support for special characters in titles, authors, and keywords.

UI
Every button, entry field, and option throughout the application has new tooltips explaining what it does! Just hover your mouse over any element to see a description.
The main compression tab has been completely redesigned. The old dial has been replaced with two new components:
A gauge that visually shows the percentage of file size saved after processing.
A new slider for control of DPI.
The Stamp and Header/Footer tabs now feature a new 9-point visual grid for selecting the position.
The text entry field in the "Stamp/Watermark" tab now supports multiple lines of text.

Contribution le : Aujourd'hui 11:16:06
_________________
Les hommes sont devant les idées simples
comme les chauve-souris devant la lumière,
ils sont aveugles.
Aristote
Créer un fichier PDF de la contribution Imprimer


Re: Minimal PDF Compress
Expert
Inscrit:
21/02/2007 22:15
Groupe:
Utilisateurs enregistrés
Post(s): 2068
Hors Ligne
Bon, je viens de tester avec la version 1.8, pour le moment ce n'est pas assez fiable.

Je lui ai donné à traiter un document de 38 pages (pour la plupart numérisées), et ai choisi l'option nommée "Compression" avec échantillonage à 150 dpi. En sortie il y en avait toujours 38, mais 12 étaient complètement corrompues.

Et avec l'option "Lossless", cela semble extrêmement long…

Contribution le : Aujourd'hui 20:18:03
Créer un fichier PDF de la contribution Imprimer



 Haut   Précédent   Suivant
« 1 (2)




Enregistrer votre réponse
Compte*
Nom   Mot de passe    
Message:*


Vous ne pouvez pas débuter de nouveaux sujets.
Vous pouvez voir les sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

[Recherche avancée]