imagemin / meta Goto Github PK
View Code? Open in Web Editor NEWGeneral discussion repo for imagemin related projects
General discussion repo for imagemin related projects
Hi first: bigbig thanks to everyone who made imagemin.
Is imagemin only about compression or would you consider adding a imagemin-resize and imagemin-crop plugin?
I've been looking into updating several packages to reduce the amount of duplication in a typical imagemin installation, right now it's a bit all over the place.
I noticed some of the packages far down the tree are already requiring Node.js 6, e.g. import-lazy, is-jpg and semver-regex.
Should imagemin + plugins move to Node.js 6 as the min. required version?
I'm happy to put the leg work in for this.
npm organisations are now free for open-source, so I made one for us: https://www.npmjs.com/org/imagemin
It turns out only the original publisher can add packages to the org, so I couldn't add most of our packages.
@kevva @shinnn @1000ch Can you please run this command so we can have all our packages in the npm org?
npm access grant read-write imagemin:developers imagemin;npm access grant read-write imagemin:developers imagemin-cli;npm access grant read-write imagemin:developers imagemin-pngquant;npm access grant read-write imagemin:developers imagemin-guetzli;npm access grant read-write imagemin:developers guetzli-bin;npm access grant read-write imagemin:developers mozjpeg-bin;npm access grant read-write imagemin:developers imagemin-svgo;npm access grant read-write imagemin:developers imagemin-pngcrush;npm access grant read-write imagemin:developers pngcrush-bin;npm access grant read-write imagemin:developers zopflipng-bin;npm access grant read-write imagemin:developers imagemin-optipng;npm access grant read-write imagemin:developers imagemin-gifsicle;npm access grant read-write imagemin:developers gifsicle-bin;npm access grant read-write imagemin:developers imagemin-mozjpeg;npm access grant read-write imagemin:developers imagemin-jpegtran;npm access grant read-write imagemin:developers cwebp-bin;npm access grant read-write imagemin:developers imagemin-zopfli;npm access grant read-write imagemin:developers imagemin-jpeg-recompress;npm access grant read-write imagemin:developers imagemin-webp;npm access grant read-write imagemin:developers imagemin-jpegoptim;npm access grant read-write imagemin:developers jpegoptim-bin;npm access grant read-write imagemin:developers imagemin-pngout;npm access grant read-write imagemin:developers jpeg-recompress-bin;npm access grant read-write imagemin:developers advpng-bin;npm access grant read-write imagemin:developers imagemin-advpng;npm access grant read-write imagemin:developers pngout-bin
Comment here when done.
Create a imagemin server that takes some JSON with an URL and some options and optimizes the image. Should probably have some upload functionality too.
Just asking since nobody seems to care about any of the PRs I send:
imagemin/imagemin-mozjpeg#34
imagemin/mozjpeg-bin#41
imagemin/optipng-bin#99
I am willing to help out maintaing these but for that I need at least some reaction from one of you:
@1000ch @bradbaris @kevva @shinnn @sindresorhus
Hi I have a repo that runs all (most) imagemin plugins the images in test/images.
It is a playground to compare the results and various settings.
https://github.com/thisconnect/imagemin-test
https://github.com/thisconnect/imagemin-tests
I think we should switch to bundle the source in the package. That way we don't have to download the source from a potentially untrusted source or a source that might be down.
Move all imagemin affiliated repos to this organization.
I want to check which image file is corrupt when optimization fails.
After scanning issues & playing around a bit with:
It appears to me that most of the GH issues fall into one of these categories:
Of course there is also the issue of the bundled binaries not being up-to-date, and sometimes even different from the bundled source tar (pngquant-bin includes pngquant 2.2.12 as source and pngquant 2.2.16 pre-built on Linux). And the issue of many micro-dependencies stifling innovation on the end-user packages (imagemin-pngquant -> pngquant-bin -> bin-wrapper -> bin-build etc)
IMO the best way forward is:
--ignore-scripts
*-bin
packages in other packages (ie exposing some kind of minimal JS API)Something like: http://pho.madebysource.com/
http://html5up.net/ has some nice free ones.
We should ES2015ify all our repos and require Node.js 4. Also bump all dependencies while we're at it. We've already done many repos, but I think there's still some left.
Example: imagemin/zopflipng-bin@87f9f45
Anyone wanna take this on?
Lots of packages in this organization depend on some of the following npm packages:
Based on the last commit date, last npm version publish date, and lack of activity on PRs and issues, I believe these packages are unmaintained. Dependencies are very out of date and PRs are not merged: kevva/bin-build#20, kevva/bin-check#4, and kevva/exec-buffer#10.
These packages have almost a million downloads per week, largely because imagemin packages depend on them.
The packages are fairly simple. Would it be possible to fork them into this organization so they are maintained?
Currently: "Minify images seamlessly"
I think we need something more memorable.
Suggestions:
Is it possible?
cf. https://github.com/gulpjs/gulp/blob/master/docs/writing-a-plugin/guidelines.md
We should check if imagemin and its plugins work well on Windows, like Grunt projects.
We need to get some of the binaries emscriptified to reduce the common compilation errors users are seeing.
I didn't get much traction on: kornelski/pngquant#103
I see github.com/imagemin is hosting many bin-wrapper
for images (nice module btw).
I was wondering if you thought of adding gif2webp
bin ? (since you already have cwebp
).
I feel it is better that a github organization like github.com/imagemin host this repo (I would gladly PR to it if you need).
I think we should strictly validate the options.
See: imagemin/imagemin-pngquant@4d9214f
PRs welcome to the Imagemin plugins.
Would be nice to use AVA on all our repos instead of Mocha, as it makes it a lot easier to do async tests.
Should do #15 first, or at the same time, as AVA requires Node.js 4.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.