You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by "jbampton (via GitHub)" <gi...@apache.org> on 2025/08/04 19:50:36 UTC

[PR] Add pre-commit hook oxipng for lossless compression of PNGs [openoffice]

jbampton opened a new pull request, #393:
URL: https://github.com/apache/openoffice/pull/393

   This hook is very CPU intensive so we don't want to add it to the CI.
   
   So I set the hook stage to manual and you can do a full repository clean up locally from the repo root by running:
   
   `pre-commit run --all-files --hook-stage manual`
   
   So I ran the oxipng clean up and we now have less data, smaller file sizes for the same quality
   
   https://github.com/oxipng/oxipng
   
   https://github.com/oxipng/oxipng?tab=readme-ov-file#git-integration-via-pre-commit
   
   https://en.wikipedia.org/wiki/Lossless_compression


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [PR] Add pre-commit hook oxipng for lossless compression of PNGs [openoffice]

Posted by "jimjag (via GitHub)" <gi...@apache.org>.
jimjag closed pull request #393: Add pre-commit hook oxipng for lossless compression of PNGs
URL: https://github.com/apache/openoffice/pull/393


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [PR] Add pre-commit hook oxipng for lossless compression of PNGs [openoffice]

Posted by "jimjag (via GitHub)" <gi...@apache.org>.
jimjag commented on PR #393:
URL: https://github.com/apache/openoffice/pull/393#issuecomment-6291221130

   Thanks for the contribution. Closing this as stale: it has been inactive for a long time and is no longer a good fit for trunk as it stands. Feel free to reopen or submit a fresh PR rebased on current trunk if you'd like to pick it back up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [PR] Add pre-commit hook oxipng for lossless compression of PNGs [openoffice]

Posted by "jbampton (via GitHub)" <gi...@apache.org>.
jbampton commented on PR #393:
URL: https://github.com/apache/openoffice/pull/393#issuecomment-3193698768

   I used the following commands from "Google" and if correct it makes it about 2 megabytes smaller 
   
   ```
   openoffice$ git branch
     add-basic-editorconfig
     add-license-hook-yaml
     add-script-for-ignored-words
     chmod+x-shell-scripts
     pre-commit-add-oxipng
   * trunk
     whitespace-cleanup-cfg
     whitespace-fixups-2
     whitespace-fixups-pmk
   openoffice$ find . -type f -iname "*.png" -print0 | du -ch --files0-from=- | tail -n 1
   54M     total
   openoffice$ git checkout pre-commit-add-oxipng 
   Switched to branch 'pre-commit-add-oxipng'
   Your branch is up to date with 'origin/pre-commit-add-oxipng'.
   openoffice$ find . -type f -iname "*.png" -print0 | du -ch --files0-from=- | tail -n 1
   52M     total
   openoffice$ 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [PR] Add pre-commit hook oxipng for lossless compression of PNGs [openoffice]

Posted by "Pilot-Pirx (via GitHub)" <gi...@apache.org>.
Pilot-Pirx commented on PR #393:
URL: https://github.com/apache/openoffice/pull/393#issuecomment-3193684703

   Reducing the size of AOO is always a good idea!
   Can you estimate how much smaller it would get?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org