Giter VIP home page Giter VIP logo

adrianboston / srcset Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 3.53 MB

A fast utility, written in Rust using parallel jobs that generates multiple responsive versions of an image at width breakpoints (defaults to 480,640,768,960,1024,1366,1600 and 1920 pixels wide) that match common Mobile and widescreen desktop/laptop viewports and outputs the needed <img/> tag

License: MIT License

Rust 100.00%
html5 image image-processing jpeg mobile-web png responsive-design responsive-images rust srcset-sizes threaded tiff webp

srcset's People

Contributors

adrianboston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

srcset's Issues

Update documentation to include Rust compilation steps

I'm guessing this new Rust version requires a compilation and is no longer run using srcset.sh, but the current README.md seems a copy of the old srcset.sh version. If there is a binary for this Rust version, I seem to have missed it.

ImageMagick bugs and problems

Hi there and thanks for a great tool, images served at different sizes for resolutions are so crucial for modern web dev, and I really didn't fancy writing my own Bash script to do the hard work, which is what led me to your script via Google.

While researching the topic I also came across the following SmashingMagazine article which points out some problems with using ImageMagick for this sort of stuff, namely that it has bad defaults and can result in bad quality images. For obvious reasons this is worrying when weighing up an automated tool to let loose on your site's images. If you're aware of these issues with IM did you do anything to fix them in your script, or is there a reason you decided not?

I'd really appreciate an answer to help me make a decision for my workflow, and once again, thank you for the tool.

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.