Comments (6)
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.
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.
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.
๐
from 18f.gsa.gov.
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.
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)
- Third-party script embeds cause automated accessibility scan failures. HOT 4
- site.baseurl contains no value in circleCI HOT 1
- Remove Read More links from featured posts cards
- Featured post cards: focus state
- Add automation to add opened issues to Delivery Assurance board
- Test issue HOT 1
- BUG -- feature template adds a type:bug label to the issue.
- Add the 18F Delivery Assurance team as an admin HOT 1
- Update dependencies to run on modern hardware HOT 1
- Some anchor elements have empty href attributes HOT 4
- BUG: Width for some blog posts HOT 5
- Open source policy page links to different license file
- Test issue
- Investigate removing 18F style guide HOT 7
- Upgrade Dockerfile and Docker-Compose files to newer versions
- 18f site style guide pageโfooter displaying over the content HOT 1
- Pa11y runs are too slow HOT 22
- Pull quotes not showing on blog HOT 1
- BUG: Partnership principles page is misaligned
- BUG: pa11y scans failing on site HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 18f.gsa.gov.