Skip to content

Commit

Permalink
[CI] Add pre-commit hook oxipng for lossless compression (#1632)
Browse files Browse the repository at this point in the history
Oxipng is a multithreaded lossless PNG/APNG compression optimizer.

Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information.

https://en.wikipedia.org/wiki/Lossless_compression

https://github.com/shssoichiro/oxipng?tab=readme-ov-file#git-integration-via-pre-commit

Oxipng is a multithreaded PNG optimizer written in Rust

https://pre-commit.com/index.html#rust

"pre-commit will bootstrap rust if it is not present."
  • Loading branch information
jbampton authored Oct 13, 2024
1 parent 37f8132 commit c6d7969
Show file tree
Hide file tree
Showing 80 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ repos:
rev: v8.20.1
hooks:
- id: gitleaks
- repo: https://github.com/shssoichiro/oxipng
rev: v9.1.2
hooks:
- id: oxipng
args: ["-o", "4", "--strip", "safe", "--alpha"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
Expand Down
Binary file modified R/man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified R/pkgdown/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/DisplayImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/ReprojectMatch_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/choropleth-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/clipped-raster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/cropped-raster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/dotmapnyc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/fabric/fabric-9.png
Binary file modified docs/image/geopandas_plot.png
Binary file modified docs/image/geoparquet-pred-pushdown.png
Binary file modified docs/image/geospark-stat.png
Binary file modified docs/image/heatmap_Interpolate.png
Binary file modified docs/image/heatmap_Interpolate2.png
Binary file modified docs/image/heatmapnyc.png
Binary file modified docs/image/heatmapnyclogo.png
Binary file modified docs/image/heatmapnycsmall.png
Binary file modified docs/image/icon.png
Binary file modified docs/image/ide-java-1.png
Binary file modified docs/image/ide-java-10.png
Binary file modified docs/image/ide-java-11.png
Binary file modified docs/image/ide-java-12.png
Binary file modified docs/image/ide-java-13.png
Binary file modified docs/image/ide-java-2.png
Binary file modified docs/image/ide-java-3.png
Binary file modified docs/image/ide-java-4.png
Binary file modified docs/image/ide-java-5.png
Binary file modified docs/image/ide-java-6.png
Binary file modified docs/image/ide-java-7.png
Binary file modified docs/image/ide-java-8.png
Binary file modified docs/image/ide-java-9.png
Binary file modified docs/image/joinmem.png
Binary file modified docs/image/jointime.png
Binary file modified docs/image/linestring-left-side.png
Binary file modified docs/image/linestring-og.png
Binary file modified docs/image/original-raster-clip.png
Binary file modified docs/image/point-buffer-quad-2.png
Binary file modified docs/image/point-buffer-quad-8.png
Binary file modified docs/image/rasterized-image.png
Binary file modified docs/image/scan-parquet-with-spatial-pred.png
Binary file modified docs/image/scan-parquet-without-spatial-pred.png
Binary file modified docs/image/sedona-community.png
Binary file modified docs/image/sedona-ecosystem.png
Binary file modified docs/image/sedona_logo.png
Binary file modified docs/image/sedona_logo_symbol.png
Binary file modified docs/image/snowflake/snowflake-1.png
Binary file modified docs/image/snowflake/snowflake-2.png
Binary file modified docs/image/snowflake/snowflake-3.png
Binary file modified docs/image/snowflake/snowflake-4.png
Binary file modified docs/image/snowflake/snowflake-5.png
Binary file modified docs/image/snowflake/snowflake-6.png
Binary file modified docs/image/snowflake/snowflake-7.png
Binary file modified docs/image/snowflake/snowflake-8.png
Binary file modified docs/image/sql-zeppelin.png
Binary file modified docs/image/st_snap/st-snap-applied.png
Binary file modified docs/image/st_snap/st-snap-base-example.png
Binary file modified docs/image/usrail.png
Binary file modified docs/image/ustweet.png
Binary file modified docs/image/viz-zeppelin.png

0 comments on commit c6d7969

Please sign in to comment.