MaterialX icon indicating copy to clipboard operation
MaterialX copied to clipboard

Losslessly optimize PNG, JPG, SVG files to save 6MB

Open C0rn3j opened this issue 11 months ago • 3 comments

Used oxipng, jpegoptim, svgo.

Shouldn't change anything compatibility wise, optimizations are lossless. SVGs aren't, which shouldn't be a problem unless metadata is somehow used.

EXIF in JPEG/PNG was left intact.

Detailed commands that were ran as per https://rys.rs/optimization

C0rn3j avatar Mar 12 '24 23:03 C0rn3j

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: C0rn3j / name: Martin (5bb29be14635baf551f3bc29ec18ab68f716fe32)
  • :white_check_mark: login: jstone-lucasfilm / name: Jonathan Stone (f56b38cb00f3535339a2272427efe0e0349c3dd2, 50f42da9d5e7be60eb37071c243ab6cd0090652d, 11422c43bb8efe8e6cdb8922515d0db5dd45a676, 8358f5c70eb11b39b7e2720bf3dca753e67d7547, 77d0e7814b344ae1c2a902fac1756d7c4857f21e, 826f394b37d2e177d5405152c935ccb8f8ff024c, 886bd0f0139cea49b34a742ed86848929795cff4)

Thanks for putting this proposal together, @C0rn3j!

Since we're currently focusing development efforts on MaterialX 1.39, would you mind targeting this pull request to the dev_1.39 branch of MaterialX, and we can review it in that context?

jstone-lucasfilm avatar Mar 13 '24 18:03 jstone-lucasfilm

@jstone-lucasfilm First time doing so, hope this does it

C0rn3j avatar Mar 13 '24 19:03 C0rn3j