Comments (9)
No problem at all! I will look into it and see what I can do to replicate that process.
from putting-the-you-in-cpu.
imgbot is great but i don't think it does as much as @FazlyMR was doing manually! would definitely be down to write a script.
from putting-the-you-in-cpu.
I definitely want to optimize the images. Ideally this would be done automatically, however, perhaps with a script. Would you be interested in working on that?
from putting-the-you-in-cpu.
Hmm, sadly I don't really have any coding/scripting experience (and no idea where to start to make that script to automate it and find the equivalent tools that I use)...
The way I did it is manually using GIMP, to convert from RGB to indexed colors and reduce the colors used, and ZopfliPNG (as part of Zopfli) as a last process to optimize the resulting PNG file itself.
from putting-the-you-in-cpu.
But in the meanwhile, would it be fine to submit a PR for my manual optimizations, which would still include the originals?
from putting-the-you-in-cpu.
No problem at all! I will look into it and see what I can do to replicate that process.
After some searching, I did found a library/CLI program called pngquant that did the same things that I did manually (I also realized that what I did is to quantize the colors, didn't know that terminology before or I just forgot). Not sure how to automate it though.
from putting-the-you-in-cpu.
ffmpeg is a great tool to consider. It is possible to make a bash script that will take a directory as an input that is full of images and produce another one with the same images but compressed. ffmpeg is known to be very useful in image compresseion and especially in video compression with very low/unnoticeable loss in quality.
from putting-the-you-in-cpu.
I definitely want to optimize the images. Ideally this would be done automatically, however, perhaps with a script. Would you be interested in working on that?
You can use imgbot
GitHub app to automatically optimise the images for you.
See GitHub marketplace: https://github.com/marketplace/imgbot
from putting-the-you-in-cpu.
I'm interested in writing that script this weekend. If you had any ideas in your mind earlier about optimising it, can you brief it?
from putting-the-you-in-cpu.
Related Issues (20)
- EPUB Version HOT 13
- Questions about Chapter 1 HOT 2
- Faggin made the first *microprocessor* HOT 1
- Should I mention PC? HOT 1
- Not a real issue HOT 1
- Hackclub
- Reference on the MacOS "split"
- Mismatched lines and line numbers on mobile HOT 3
- Possibility of discussion of ld.so/dyld/etc. behavior HOT 1
- Add bookmarks to the PDF edition
- Coop mutitasking correction/clarification
- Is this calculation correct?
- Time Slicing Diagram
- Maybe a mistake of Ch.4 A brief Explanation of Linking HOT 1
- Broken link in chapter 4
- More info on the SYSCALL_DEFINE3 security vulnerability
- Potentially unclear explanation of register usage in chapter 4 - Becoming an elf lord
- Link in the Section Header Table no longer works
- Kernel space size in virtual memory size
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 putting-the-you-in-cpu.