Giter VIP home page Giter VIP logo

Comments (6)

konklone avatar konklone commented on July 20, 2024

Thanks for the tip, @xiongchiamiov. The easiest thing would be to do a PR with the altered images, so we can see how it looks. Is that easy enough for you, using command-line tools?

from 18f.gsa.gov.

xiongchiamiov avatar xiongchiamiov commented on July 20, 2024

Yeah, it should be easy enough to do with GraphicsMagick. Since jpeg is a lossy format, it'd be best to do this with the source images (if you have them), but I can open a pull based off what's in the repo.

from 18f.gsa.gov.

aaronsnow avatar aaronsnow commented on July 20, 2024

Note to selves: Going forward, assuming we choose a build tool like grunt or gulp, let's make this automatic (https://github.com/gruntjs/grunt-contrib-imagemin, https://github.com/sindresorhus/gulp-imagemin).

from 18f.gsa.gov.

quepol avatar quepol commented on July 20, 2024

๐Ÿ‘

from 18f.gsa.gov.

konklone avatar konklone commented on July 20, 2024

Images are added occasionally, and optimizing them on every Jekyll build seems more expensive than just having a one-off script or documented README command that people can run over the images in this repo to optimize them whenever desired.

Optimizing the current batch of JPGs in the site would be very welcome, and documenting the ideal command to do that (be it with imagemagick or whatever) would be ideal.

from 18f.gsa.gov.

konklone avatar konklone commented on July 20, 2024

Closing, but anyone with the will to succeed can re-open this. Also cc @waldoj in case he feels like crusading towards a web of optimized images.

from 18f.gsa.gov.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.